Commit Graph

30655 Commits

Author SHA1 Message Date
[1;3C d9abb1767d Support launcher animations in new transition system
Hook up the shell-transitions RemoteTransition to
launcher.

Bug: 169035082
Test: Launch an app from a launcher icon and observe
Change-Id: Ie327c11bbc59f19fb969f159f8380c10e4a84e50
2021-01-17 21:26:21 -08:00
Sunny Goyal 4380743251 Merge "Waiting until the launcher change is propagater before test" 2021-01-15 23:04:51 +00:00
Sunny Goyal b18501402c Merge "Fixing preview rendering in device search mode" 2021-01-15 19:20:26 +00:00
TreeHugger Robot 3e1037d5c7 Merge "Added new app launch crop / positioning." 2021-01-15 03:22:33 +00:00
Becky Qiu 877bedf676 Merge "[Overview Sharing] Create the share function for sharing image in overview." 2021-01-14 22:43:11 +00:00
Sunny Goyal e733e79946 Fixing preview rendering in device search mode
When the flag is disabled, search box may not show in preview

Bug: 177500166
Test: Presubmit
Change-Id: I064ba6ca22e71030056a4ceafea27e6ef0517d01
2021-01-14 14:17:13 -08:00
Jon Miranda 7e40d6b25a Added new app launch crop / positioning.
New app launch crops the app window from the center, which is meant
to align with the centered icon in the new preview window, and then
it "reveals" the rest of the app window from center to out.

Code is behind same prop as the shell starting surface.

To enable:
- adb shell set prop persist.debug.shell_starting_surface true
- reboot

Bug: 177264697
Change-Id: I78f2eab216d4bb40dedae245f47a89fe677dd6e9
2021-01-14 17:08:04 -05:00
vadimt 5b97b40eb1 Skipping QS metrics if activity is not created
Test: presubmit
Bug: 177472265
Change-Id: Ic92adbe589736d16ab8687ea761c32919d8c186b
2021-01-14 13:43:04 -08:00
Becky Qiu b198d46f9c [Overview Sharing] Create the share function for sharing image in overview.
Bug: 169772466, 169799864
Test: local
Change-Id: Iaac49fa396e68f7392b59f6f9b8854cc1abe270b
2021-01-14 18:01:49 +00:00
Alex Chau 4318289207 Merge "Flag FLAG_MULTIPLE_ORIENTATION_SUPPORTED_BY_DENSITY false when allow_rotation is set" 2021-01-14 17:25:49 +00:00
Samuel Fufa b0b11c5fcf Merge "Include searchui library to Launcher3CommonLib" 2021-01-14 16:46:15 +00:00
Alex Chau e138389214 Flag FLAG_MULTIPLE_ORIENTATION_SUPPORTED_BY_DENSITY false when allow_rotation is set
Bug: 177312556
Change-Id: I22e28b60be68b9cf7bb064d801854d0093920c9e
2021-01-14 12:53:29 +00:00
TreeHugger Robot 23f0dc318c Merge "Generating Hdumps for more leaks" 2021-01-14 07:01:55 +00:00
Winson Chung ec8e9e22d9 Merge "Temporarily disable jank tracing" 2021-01-14 03:39:55 +00:00
Schneider Victor-tulias 7cb41c3584 Merge "Add UI updates for incremental app installs." 2021-01-13 23:51:53 +00:00
Schneider Victor-tulias 36ea68360b Merge "Revert "Revert "Add UI updates for incremental app installs.""" 2021-01-13 23:51:37 +00:00
Hyunyoung Song 42203bec0a Include searchui library to Launcher3CommonLib
Change-Id: Ib66e028d3cf36a113aaca7511c53944e663ecd2d
2021-01-13 15:48:25 -08:00
Samuel Fufa d78e90d163 Merge "Migrate from Plugin SearchTarget to API search Target [2/3]" 2021-01-13 23:46:16 +00:00
Winson Chung 9d44e81062 Temporarily disable jank tracing
Bug: 174755489
Test: Temporarily fix NPE
Change-Id: Ifeae83a307f396c25d0d072abe19e8cf8493c427
2021-01-13 15:37:59 -08:00
Sunny Goyal d7f7f52dda Waiting until the launcher change is propagater before test
Bug: 143488140
Test: Presubmit
Change-Id: Ie3f35a1e58b784d078a305814bd682beaae1f4cb
2021-01-13 13:56:56 -08:00
Winson Chung 278f231b2c Merge "Migrate FrameTracker to use ST Jank information (2/2)" 2021-01-13 19:36:00 +00:00
vadimt c37058976d Generating Hdumps for more leaks
Test: presubmits
Bug: 177065099
Change-Id: I386229cf92a925d2953952ed0fab6c44dcdc61f0
2021-01-13 11:34:16 -08:00
Samuel Fufa af83e714ac Merge "Remove Second consumer from AllAppsSearchBarController" 2021-01-13 18:57:07 +00:00
Samuel Fufa a60d1f9be7 Migrate from Plugin SearchTarget to API search Target [2/3]
- Adds support for android.app.search.SearchTarget in plugin while maintaining plugin SearchTarget support
- Introduces SEARCH_TARGET_LEGACY temporary to switch between plugin and sdk variants.
- Maps resultType and layoutType pairs to the appropriate view

Bug: 177223401
Test: Manual
Change-Id: If8d4bb7c21c47a12447dcb0c56eed8781bd21e54
2021-01-13 12:35:51 -06:00
Jorim Jaggi 6478fa649a Migrate FrameTracker to use ST Jank information (2/2)
Test: FrameTrackerTest
Test: Systrace, perform CUJ
Bug: 174755489
Change-Id: I6abecbd9b244f443c9df389938d82427f9584037
2021-01-13 09:17:18 -08:00
Samuel Fufa a5f289a605 Increase timeout and additional logs for WorkTabTest#testWorkEduFlow
Bug: 159671700
Test: WorkTabTest#testWorkEduFlow
Change-Id: I5c015fbb9555be0e3e74c721873da4edd0393c8a
2021-01-13 10:26:00 -06:00
TreeHugger Robot 992ab43390 Merge "Migrate from Plugin SearchTarget to API search Target [1/3]" 2021-01-13 04:50:58 +00:00
Samuel Fufa fd58d23cdf Migrate from Plugin SearchTarget to API search Target [1/3]
Setup architecture for separation between aosp and quickstep search as setup for switch to android.app.SearchTarget

Bug: 177223401
Test: manual
Change-Id: Iefd069a34d5e5551bf731e9171958e93377774aa
2021-01-12 19:46:25 -06:00
Schneider Victor-tulias b803f7e2cb Add UI updates for incremental app installs.
1. Changed Preload Icon UI to be grayscale while the app is not startable.
2. Added progress bar for when app is installed but still ownloading.
3. Updated Preload Icon progress and click handling to use new incremental api.

Progress bar color updates will follow in a separate CL.

Demo: https://drive.google.com/file/d/1H1EvtTorLeJwC1eiq10tm-TT81YZ6osk/view?usp=sharing

Fixes: 176901235,176992421,176884453

Test: manual
Change-Id: Ie0575dc56c33c5d6ecd6c5cbf00666b96d6dcb16
2021-01-12 16:04:01 -08:00
TreeHugger Robot a96062238b Merge "Starting CUJ_APP_CLOSE_TO_HOME metric earlier" 2021-01-13 00:03:45 +00:00
Schneider Victor-tulias 6a5f431a7b Revert "Revert "Add UI updates for incremental app installs.""
This reverts commit 229497d182.

Reason for revert: Patching bugs

Fixes: 176901235, 176992421, 176884453

Test: manual

Change-Id: I57e13a15e72284564a10761966732ee31d15fd08
2021-01-12 12:22:33 -08:00
TreeHugger Robot fa39cdcbac Merge "Refactor app open code." 2021-01-11 23:23:15 +00:00
TreeHugger Robot e8ea45182a Merge "Add BROADCAST_CLOSE_SYSTEM_DIALOGS to recents package" 2021-01-11 22:16:22 +00:00
TreeHugger Robot c2d0989c82 Merge "Disabling fling gesture for assistant over deferred region" 2021-01-11 21:36:52 +00:00
Jon Miranda f725e955cb Refactor app open code.
Move all the logic that calculate the app open float properties
to a separate class.

This is in preparation for the new app launch properties.

Change-Id: I1a008b2ea1379cbf667c5ad3ad58ece04bd88185
2021-01-11 15:58:58 -05:00
Bernardo Rufino e0484de39a Add BROADCAST_CLOSE_SYSTEM_DIALOGS to recents package
It uses AM.closeSystemDialogs() and should have the permission. I had
created the protection level in ag/13090697 but forgot to actually
request the permission.

Bug: 177228919
Bug: 159105552
Test: atest CloseSystemDialogsTest
Test: atest android.server.wm.WindowMetricsActivityTests#testMetricsMatchesLayoutOnActivityOnCreate
Change-Id: I661dac17f2160ed36adb1a193e739c200169a37d
2021-01-11 19:25:24 +00:00
TreeHugger Robot 67b612bb85 Merge "Disable default IME in all apps if DISABLE_INITIAL_IME_IN_ALLAPPS is on" 2021-01-11 19:07:18 +00:00
Hyunyoung Song f19c579706 Disable default IME in all apps if DISABLE_INITIAL_IME_IN_ALLAPPS is on
Bug: 173447266
Test: manual
Change-Id: Ib5c03b20cc7f09fdc2d066dd20fb7ccbb1e154f5
2021-01-10 21:09:19 -08:00
Jason Chang cfbfea9172 Merge "Fix triggering One-handed mode introduces gesture conflict issues (2/n)" 2021-01-10 03:38:37 +00:00
vadimt 12d8222124 Starting CUJ_APP_CLOSE_TO_HOME metric earlier
Now starting it at the very start of the gesture.

Test: Manual
Bug: 174892351
Change-Id: I9c36b4e4ae51302fc1c6b99b825358fb647cd310
2021-01-08 14:07:48 -08:00
TreeHugger Robot b3f2862a30 Merge "Removing workaround for battery defender" 2021-01-08 19:45:32 +00:00
TreeHugger Robot cdfed2320a Merge "Revert "Add UI updates for incremental app installs."" 2021-01-08 00:31:06 +00:00
Schneider Victor-tulias 229497d182 Revert "Add UI updates for incremental app installs."
This reverts commit 84269d349d.

Reason for revert: causes b/176884453 and b/176992421

Change-Id: I3398674a0acbad8329df5d341ae074ac073a6bf9
2021-01-07 19:44:44 +00:00
Jason Chang be5af2de6b Fix triggering One-handed mode introduces gesture conflict issues
(2/n)

Define a new larger gesture height instead of replacing
existing navigation_bar_gesture_height with RRO.

Bug: 159580663

Test: manual
Change-Id: Icdd70b28d9b2629171fb60a0c9d603f6a69f076a
2021-01-07 15:20:10 +08:00
Schneider Victor-tulias da5e714ca1 Fix homescreen deep shortcuts text spanning two rows.
Deep shortcut text can span two lines on certain languages. Set translation character limits and increased options popup width.

Fixes: 175698383

Test: manual

Screenshot: https://screenshot.googleplex.com/4BArwKVSFg3VbTc.png
Change-Id: I263b859246fa6475591a65f92189e41a920beefe
2021-01-06 16:39:58 -05:00
Schneider Victor-tulias b76e4dbc51 Merge "Temporarily disable visibility-gated hotseat and prediction row updates." 2021-01-06 15:20:27 +00:00
Ice Chang ea122f7ffc [automerger skipped] Merge "[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java" into rvc-dev am: 57874e6b39 -s ours am: a449c9323e -s ours am: e832389844 -s ours am: e40fbd6568 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12793279

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie0bc2bc020634a83e190cda9650ace71117bb5db
2021-01-06 06:30:48 +00:00
Ice Chang e40fbd6568 [automerger skipped] Merge "[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java" into rvc-dev am: 57874e6b39 -s ours am: a449c9323e -s ours am: e832389844 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12793279

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9facd3f45c531cd0ea6ffa3d3a012c85038cc9ed
2021-01-06 06:10:27 +00:00
Ice Chang 61971e401d [automerger skipped] Merge "[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java" into rvc-dev am: 57874e6b39 -s ours am: 602da1840d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12793279

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2aa76e5c9fd86b750839f357ff15c848659e4413
2021-01-06 05:36:33 +00:00
Ice Chang e832389844 [automerger skipped] Merge "[DO NOT MERGE ANYWHERE] Add swipes left method in Background.java" into rvc-dev am: 57874e6b39 -s ours am: a449c9323e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12793279

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I316539c39e01a3dda16ab2eba90a05e3529d1e83
2021-01-06 05:36:20 +00:00