Commit Graph
60459 Commits
Author SHA1 Message Date
TreeHugger Robot cc3e9f0614 Merge "Follow up for ag/11916646" into ub-launcher3-rvc-dev am: 5c33e250fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11923398

Change-Id: Ia631a5640026628b967814f370e38921ff9186f5
2020-06-19 01:47:06 +00:00
TreeHugger Robot 5c33e250fc Merge "Follow up for ag/11916646" into ub-launcher3-rvc-dev 2020-06-19 01:42:09 +00:00
TreeHugger Robot cc764ffc94 Merge "Add spring to workspace scale when going from Hint state to Normal state." into ub-launcher3-rvc-dev am: 92b0b1d0a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11871917

Change-Id: If2b1b8b2e0c9bcb552472f48538f48ca57b8d46d
2020-06-19 01:40:29 +00:00
TreeHugger Robot 92b0b1d0a1 Merge "Add spring to workspace scale when going from Hint state to Normal state." into ub-launcher3-rvc-dev 2020-06-19 01:28:25 +00:00
Tony Wickham d2fffa6ea5 Inline TaskView#resetVisualProperties() into RecentsView
- This was only used in RecentsView#resetTaskVisuals() anyway
- Previously resetVisualProperties() just called resetViewTransforms()
  plus setFullscreenProgress(0) and setModalness(0)
- The latter 2, specificially setFullscreenProgress(0) led to problems
  such as the bug below. Instead, we should reset to the current
  mFullscreenProgress and mTaskModalness.

Bug: task view sometimes shifted up during quick switch
Steps:
- Do the quick switch gesture very quickly
- At the start of the gesture, we call getTasks(), which calls
  applyLoadPlan() asynchronously
- applyLoadPlan() calls resetTaskVisuals(), so if this happened
  after the gesture ended, we would setFullscreenProgress(0) on all
  the task views, hence the upwards shift (if the gesture was still in
  progress, it would reapply the real fullscreen progress)

Fixes: 157105795
Change-Id: Idb9d91ff89701d726838b47f955d4300f5ef13bd
2020-06-18 20:25:34 -05:00
Samuel Fufa c528b9ec23 Add Elevation to work switch
+ Switch font style to Google Sans

Bug: 155888857
Test: Manual
Change-Id: I0c289a9cdf559deebddcca08d51c1bd19c3ee4c1
2020-06-18 18:22:17 -07:00
Samuel Fufa 0b0a57f422 Merge "Allow Users to migrate their hotseat when returning from AiAi" into ub-launcher3-rvc-dev am: a529cd0f5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11855090

Change-Id: I988af6be3b74c45692adf281448ec2d9d936448e
2020-06-19 01:08:12 +00:00
android-build-team Robot 5fcf876724 Snap for 6606167 from 1fa93354b2 to rvc-release
Change-Id: Iadd023cc451b72c60ee42524e173019482b0a63c
2020-06-19 01:06:12 +00:00
Samuel Fufa 1d08cc681c Follow up for ag/11916646
- Fixes launcher breakage

Bug: 159170242
Change-Id: Ib21bfee8d5f63d31a8807ad87ac47d600fb62e7a
2020-06-18 17:57:39 -07:00
Jon Miranda 271638574f Add spring to workspace scale when going from Hint state to Normal state.
Bug: 151768994
Change-Id: If03d39e5ef6319355a7691d60fc0152de2fc3cec
2020-06-18 17:53:07 -07:00
Samuel Fufa a529cd0f5f Merge "Allow Users to migrate their hotseat when returning from AiAi" into ub-launcher3-rvc-dev 2020-06-19 00:51:18 +00:00
Samuel Fufa c3f13e01a3 Create hotseat predictor onCreate
ModelTask posted in setupViews does not get called.
Bug: 159151258

Change-Id: I45bfe7cf8ea18b09faaf3c0e612be90722e1e410
(cherry picked from commit 345f728f2c)
2020-06-19 00:49:16 +00:00
TreeHugger Robot b98168273f Merge "Show a snackbar on predicted icon longpress" into ub-launcher3-rvc-dev am: c471a9a6bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11916646

Change-Id: I202db77991f7c3dd58f5c832325e477f07d19b3b
2020-06-18 23:39:10 +00:00
TreeHugger Robot a2339c5f51 Merge "Deprecates LAUNCHER_ALL_APPS_RANKED event." into ub-launcher3-rvc-dev am: e49de265da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11889123

Change-Id: I52a9e7fa51257d1a1b02e96a00675a4afda6a291
2020-06-18 23:39:02 +00:00
Samuel Fufa d25a112b0e Allow Users to migrate their hotseat when returning from AiAi
- If a user has mostly predicted hotseat, show a snack bar. otherwise, show migration option.
- Guard onboarding activity with permission `com.google.android.apps.nexuslauncher.permission.HOTSEAT_EDU`

Bug: 158569583
Test: Manual
Change-Id: Id0c1c812233fcf288a2f49848720199dedd2015d
2020-06-18 16:38:58 -07:00
TreeHugger Robot c471a9a6bb Merge "Show a snackbar on predicted icon longpress" into ub-launcher3-rvc-dev 2020-06-18 23:34:58 +00:00
TreeHugger Robot e49de265da Merge "Deprecates LAUNCHER_ALL_APPS_RANKED event." into ub-launcher3-rvc-dev 2020-06-18 23:28:35 +00:00
TreeHugger Robot 5873da17fc Merge "convert HOTSEAT_MIGRATE_TO_FOLDER to DebugFlag" into ub-launcher3-rvc-dev am: 690d38d7fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917531

Change-Id: I7b099ca7cb60d3cba4c5de966de579894b21b6cb
2020-06-18 23:07:57 +00:00
TreeHugger Robot 690d38d7fc Merge "convert HOTSEAT_MIGRATE_TO_FOLDER to DebugFlag" into ub-launcher3-rvc-dev 2020-06-18 22:55:31 +00:00
Samuel Fufa cb771349da convert HOTSEAT_MIGRATE_TO_FOLDER to DebugFlag
Bug: 159282737
Change-Id: Ided5ff36ee9c8792b9d9942814af15ac4c7ed7db
2020-06-18 15:08:19 -07:00
thiruram ffb55ddece Deprecates LAUNCHER_ALL_APPS_RANKED event.
LauncherUiChanged.rank field is repurposed to store all apps rank.

Change-Id: Iabad98312589d8f53b6547433540f3ec9dff0b3f
2020-06-18 15:08:16 -07:00
TreeHugger Robot de1104245f Merge "Fix bug where All Apps Edu gets closed via user input before animation ends." into ub-launcher3-rvc-dev am: 8e9405d7cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917527

Change-Id: If9c7c4f6070e1e941b1d2250ab4d63a99266f59f
2020-06-18 21:22:31 +00:00
TreeHugger Robot 8e9405d7cd Merge "Fix bug where All Apps Edu gets closed via user input before animation ends." into ub-launcher3-rvc-dev 2020-06-18 21:20:36 +00:00
TreeHugger Robot 7c80084f75 Merge "Avoid hotseat edu button overlapping" into ub-launcher3-rvc-dev am: d4de6d4bba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11885084

Change-Id: I59913b015ba584a5b8a1b28b7f51232a6a8cff4d
2020-06-18 21:17:17 +00:00
TreeHugger Robot d4de6d4bba Merge "Avoid hotseat edu button overlapping" into ub-launcher3-rvc-dev 2020-06-18 21:06:44 +00:00
TreeHugger Robot 6b9cdf318f Merge "Add flag Intent.FLAG_ACTIVITY_NEW_TASK when launching suggestion settings" into ub-launcher3-rvc-dev am: 3b80398889
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917339

Change-Id: I43f2c09838b517c0ab8479fce33461b2b3b75340
2020-06-18 20:58:28 +00:00
TreeHugger Robot 3b80398889 Merge "Add flag Intent.FLAG_ACTIVITY_NEW_TASK when launching suggestion settings" into ub-launcher3-rvc-dev 2020-06-18 20:48:52 +00:00
Jon Miranda 1bbd2831f3 Fix bug where All Apps Edu gets closed via user input before animation ends.
Also fixes bug where user continuously swipes to hint view causes count
to increase more than the max count which prevents all apps edu from showing.

Bug: 151768994
Change-Id: I3186398d441e723a2cfb6e396b03944502a65cf5
2020-06-18 13:40:33 -07:00
Samuel Fufa 9058e305e5 Avoid hotseat edu button overlapping
Screenshot: https://screenshot.googleplex.com/cCNn6hdrqu1
Bug: 158194467
Change-Id: I465ab73be2079f20994b3f2bbe57f64e46d05777
2020-06-18 13:32:17 -07:00
Samuel Fufa c376a1de2c Add flag Intent.FLAG_ACTIVITY_NEW_TASK when launching suggestion settings
Bug: 158604370
Test: Manual
Change-Id: I01e313d29cbc9b7ea2413547d9a7b4940d126ce8
2020-06-18 13:13:45 -07:00
TreeHugger Robot ad7b76f06c Merge "Avoid Crash when longpressing disabled predicted item" into ub-launcher3-rvc-dev am: fcc4a2d83f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11885880

Change-Id: I93501564f45c50a7165c8391a477b8e4a695a783
2020-06-18 17:58:49 +00:00
Samuel Fufa 44c1b5e03d Show a snackbar on predicted icon longpress
The first time a user long presses a predicted icon, suppress drag/drop and show a snackbar about app predictions.

Bug: 159170242
Test: Manual
Change-Id: I5f853a9774b38ad9fad22ff55feff417a801f52c
2020-06-18 10:57:32 -07:00
TreeHugger Robot fcc4a2d83f Merge "Avoid Crash when longpressing disabled predicted item" into ub-launcher3-rvc-dev 2020-06-18 17:45:57 +00:00
TreeHugger Robot eb221627e8 Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2 am: 12f72dd784 am: eb1d94a660 am: 6d4b2629ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: Ibc99b9bb2825cb1ecd9d747622629a3fbda78a8e
2020-06-18 17:25:51 +00:00
Jonathan Miranda 8a44e065b1 Merge "Use screenSpaceBounds to position the target window for recents mw animation." into ub-launcher3-rvc-dev am: 42dd4f4afd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900648

Change-Id: I9cb0301698d887f02a5e49f380b2b1b0442cedc6
2020-06-18 17:18:01 +00:00
Jonathan Miranda 42dd4f4afd Merge "Use screenSpaceBounds to position the target window for recents mw animation." into ub-launcher3-rvc-dev 2020-06-18 17:03:18 +00:00
Ady Abraham 4847a9b8a9 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79 am: 6cc46a0226 am: b7751363f8 am: 4a19518088
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: I1300e5209db5008bf2bfd3777a2aeec82ff00c31
2020-06-18 17:00:04 +00:00
TreeHugger Robot 8fae0de27f Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2 am: 12f72dd784 am: d690d53d87 am: 39f356960a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: If4c40635535f6d5252ab0da86a4b4d8e57c1d22f
2020-06-18 16:59:33 +00:00
Ady Abraham 64537fdab5 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79 am: 6cc46a0226 am: cb679ec485 am: bd9f07d24c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: I89505149703430ff7c858cdfea20ef1a2aa9687b
2020-06-18 16:55:21 +00:00
TreeHugger Robot 6d4b2629ef Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2 am: 12f72dd784 am: eb1d94a660
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: I2450543fdc5bdcdc75df66fabed27d710d64ba87
2020-06-18 15:30:08 +00:00
Ady Abraham 4a19518088 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79 am: 6cc46a0226 am: b7751363f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: Iab6530b8d5cc36f6d61352102334279d93f64281
2020-06-18 15:23:24 +00:00
TreeHugger Robot 39f356960a Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2 am: 12f72dd784 am: d690d53d87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: I07b09b6f6c1ed64209c903c00803cc09b8667249
2020-06-18 15:15:48 +00:00
Ady Abraham bd9f07d24c Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79 am: 6cc46a0226 am: cb679ec485
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: I81a5b80ebea72f6145390039e8e0d5b692439ac4
2020-06-18 15:14:15 +00:00
TreeHugger Robot eb1d94a660 Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2 am: 12f72dd784
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: If542135e8abadd272d6999a276461cd3ce9534b6
2020-06-18 15:02:28 +00:00
TreeHugger Robot d690d53d87 Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2 am: 12f72dd784
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: I43d60855657997c760eccbe599ff6573bbed1bc8
2020-06-18 14:58:55 +00:00
Ady Abraham b7751363f8 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79 am: 6cc46a0226
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: I4c3990f8d1efa4d73fd18d248ce670b0664ecb29
2020-06-18 14:49:26 +00:00
TreeHugger Robot 12f72dd784 Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: Ifa18f6aa97f8a060d6f276b434eccbdf21e8f37a
2020-06-18 14:48:34 +00:00
Ady Abraham cb679ec485 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79 am: 6cc46a0226
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: Iec0094009425fdb31b0f7e2fbcdea33212a7e130
2020-06-18 14:48:15 +00:00
Ady Abraham 6cc46a0226 Merge "Launcher: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 1e43dc8a79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11900642

Change-Id: I992d2c8c97ab66ecb0cbe750c324015f9373e0ae
2020-06-18 14:46:50 +00:00
TreeHugger Robot 254af75793 Merge "Disable notification dots launcher setting on Android Go devices." into rvc-dev am: 1fa93354b2 am: c15d4c11ed am: de4e1cff79 am: bd59a15854
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902345

Change-Id: I9f34fd6a248c3282cac7b41756bdc3b2498bc5a5
2020-06-18 09:59:45 +00:00