Commit Graph
47938 Commits
Author SHA1 Message Date
Sunny Goyal f29376bb29 Moving TransformParams to an separate class.
Moving some hepler methods to TransformParams so that some configurations
can be shared easily.

Change-Id: I07fff1e27e4615b56491aebf0ca2a911686ad979
2020-05-07 15:24:38 -07:00
Samuel Fufa 1012fd2326 Make educational half-sheet black in dark mode
Screenshot: https://screenshot.googleplex.com/tjk37GfrRhO

Bug: 152361557
Test: Manual
Change-Id: I30fffd0af8f4768ac20e6d13899d0e0182b0dec8
2020-05-07 15:18:05 -07:00
James O'Leary fe68c9eec1 Merging from ub-launcher3-rvc-dev @ build 6469858
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6469858.html

Change-Id: Ia2feae3192f875638692e55f4c88746c0a8159a3
2020-05-07 17:53:51 -04:00
Vadim Tryshev b4c6fb5265 Merge "Restarting event reader after reaching the end of stream" into ub-launcher3-rvc-dev am: 340e68219e
Change-Id: I91da4369ca3461e2f6d4040157f65e9caa713d2c
2020-05-07 21:41:30 +00:00
Vadim Tryshev 340e68219e Merge "Restarting event reader after reaching the end of stream" into ub-launcher3-rvc-dev 2020-05-07 21:29:46 +00:00
Tony Wickham cc9fe80323 Cleanup quick switch logic
- Remove mFinishingRecentsAnimationTaskId and related logic;
  track mLastStartedTaskId and mLastAppearedTaskTarget instead.
- Don't finish controller if new gesture is in progress, only
  finish it when the last started task appears (and invalidate
  the handler at that point).
- Remove onTaskAppeared() from GestureState, handle it directly
  in BaseSwipeHandler.
- When the end target animation finishes, possibly change the
  end target from LAST_TASK to NEW_TASK or vice versa,
  depending on the last appeared task.

Bug: 154814771
Bug: 154727089
Bug: 155609695
Bug: 154812078
Change-Id: I38669515d064a131361359087f502783d875ddde
2020-05-07 15:39:57 -05:00
vadimt 3e089e8a26 Restarting event reader after reaching the end of stream
This should'n happen, but happens. The best we can do is to re-run the
logcat command.

Change-Id: I471d9f0188243c81585b75f81dd03450c1f7ad9b
2020-05-07 12:29:19 -07:00
Samuel Fufa 4cdfc61ac4 Decouple feature flag and predictions am: 685e29b236 am: ebfbffd066 am: 5e55112d6a am: a9976885d9
Change-Id: Ice2d21742d6fa968701e65550682b6fb77e8df72
2020-05-07 19:24:40 +00:00
Samuel Fufa b27f57168e Decouple feature flag and predictions am: 685e29b236 am: 8ef78b0fe7 am: 074f2ea833 am: 2ce007ad91
Change-Id: I49e1acab027ed733679c4203b78e02abe56be72e
2020-05-07 19:24:22 +00:00
Samuel Fufa d4571481bc Decouple feature flag and predictions am: 685e29b236 am: ebfbffd066 am: ab5cc03ba4 am: 398b979b4c
Change-Id: I0b98b93957360280bc9bb227e649f0d92f92d33d
2020-05-07 19:23:48 +00:00
Samuel Fufa a9976885d9 Decouple feature flag and predictions am: 685e29b236 am: ebfbffd066 am: 5e55112d6a
Change-Id: Ibe0b4ba84a07141b8daba93034d6c9b36ebae431
2020-05-07 19:09:29 +00:00
Samuel Fufa 2ce007ad91 Decouple feature flag and predictions am: 685e29b236 am: 8ef78b0fe7 am: 074f2ea833
Change-Id: I1ed56dbe2579d548de304efe89918fff4ce989b5
2020-05-07 19:09:17 +00:00
Samuel Fufa 398b979b4c Decouple feature flag and predictions am: 685e29b236 am: ebfbffd066 am: ab5cc03ba4
Change-Id: Ie3c5dcab5ed7361fc13e308c90b486e93fe0f71d
2020-05-07 19:08:59 +00:00
Samuel Fufa 074f2ea833 Decouple feature flag and predictions am: 685e29b236 am: 8ef78b0fe7
Change-Id: I9a8c247c2a217c7d9372a81603f3f49103efa1ef
2020-05-07 18:49:07 +00:00
Samuel Fufa 5e55112d6a Decouple feature flag and predictions am: 685e29b236 am: ebfbffd066
Change-Id: I7eb30a8ea5514d96be991c7b9ba53aed2dafb4f8
2020-05-07 18:48:19 +00:00
Samuel Fufa ab5cc03ba4 Decouple feature flag and predictions am: 685e29b236 am: ebfbffd066
Change-Id: I6604ebe1dc1fdc46848bdc2e5b86c82f55adb22f
2020-05-07 18:48:19 +00:00
Samuel Fufa e404de9187 Decouple feature flag and predictions am: 685e29b236
Change-Id: Idfdd4682719ad0cded1e9c5eb792b4d69e42a923
2020-05-07 18:32:36 +00:00
Samuel Fufa 8ef78b0fe7 Decouple feature flag and predictions am: 685e29b236
Change-Id: Ib20de77a605c518edde85136bfc4df35ea4eb84d
2020-05-07 18:32:20 +00:00
Samuel Fufa ebfbffd066 Decouple feature flag and predictions am: 685e29b236
Change-Id: I97a7ababd83371b4876c2c3119cea20e8cc5070c
2020-05-07 18:32:18 +00:00
TreeHugger Robot 5966ddd2bd Merge "Likely, fixing view hierarchy changing during pressHome." into ub-launcher3-rvc-dev am: d4f87007b6
Change-Id: Ic38bdfa848088c008ae96440bca843c74fe5f5f6
2020-05-07 17:50:01 +00:00
Sunny Goyal abea55a63f Moving animation configuration and definition out of state definition am: f67db3531b
Change-Id: I592d8fe9017660aa1d7c63ee39e2fc8ea575f5e9
2020-05-07 17:49:51 +00:00
TreeHugger Robot d4f87007b6 Merge "Likely, fixing view hierarchy changing during pressHome." into ub-launcher3-rvc-dev 2020-05-07 17:41:22 +00:00
Sunny Goyal f67db3531b Moving animation configuration and definition out of state definition
This removes cross dependency between StateManager and State object so
that it can be easily generalized

Change-Id: I62851fc4b653655cb40f37023db9651055ec7c9c
2020-05-07 01:33:57 -07:00
vadimt 29896284a8 Likely, fixing view hierarchy changing during pressHome.
Test RequestPinItemTest.testPinShortcut doesn't wait for the add-to-home
prompt to disappear before proceeding to pressHome. So sometimes
pressHome still sees that prompt that disappears while pressHome is
executing.

Now waiting for the prompt to disappear.

Bug: 155926212
Change-Id: I2c7bfe26839ae406da592e81de8836666c373756
2020-05-06 19:08:59 -07:00
TreeHugger Robot fbbbf19af0 Merge "Implements LAUNCHER_ITEM_DROP_FOLDER_CREATED event." into ub-launcher3-rvc-dev am: 7826bf52c7
Change-Id: I8170e02f3b7b941fd07064c3f30104f7b515eba1
2020-05-07 01:47:41 +00:00
TreeHugger Robot 7826bf52c7 Merge "Implements LAUNCHER_ITEM_DROP_FOLDER_CREATED event." into ub-launcher3-rvc-dev 2020-05-07 01:38:51 +00:00
James O'Leary bfa2133fe1 Merge "Revert "Compose gesture integrated fully into Launcher"" into ub-launcher3-rvc-dev am: ac327df55c
Change-Id: I8c565067ea1c804ec08c3d6b76008f41e6ac77d5
2020-05-07 01:28:20 +00:00
James O'Leary ac327df55c Merge "Revert "Compose gesture integrated fully into Launcher"" into ub-launcher3-rvc-dev 2020-05-07 01:14:44 +00:00
TreeHugger Robot 815be8a827 Merge "Debug tracing for view hierarchy changing during pressHome" into ub-launcher3-rvc-dev am: 6505951750
Change-Id: I6fcc517f9be29e08abaa6b74168dea43679d240e
2020-05-07 00:47:18 +00:00
TreeHugger Robot 6505951750 Merge "Debug tracing for view hierarchy changing during pressHome" into ub-launcher3-rvc-dev 2020-05-07 00:32:36 +00:00
thiruram 5a01f0ec51 Implements LAUNCHER_ITEM_DROP_FOLDER_CREATED event.
When item is dropped on a existing item resulting in new folder creation, triggers LAUNCHER_ITEM_DROP_FOLDER_CREATED event with details of the destination package.
This change also introduces new FolderIcon item to launcher_atom.proto to represent folder icon.

Screencast and sample logs: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.tmbucd1f44qp

Bug: 152978018

Change-Id: Ib4d343ba9075aa8853652f128457c4638541ec59
2020-05-06 17:24:09 -07:00
TreeHugger Robot a0171f6b48 Merge "Skip setting the controller if the animation is already finished" into ub-launcher3-rvc-dev am: d13dd3bc44
Change-Id: Ie6e924b2ba02ee8549c980acac383e5bb9955c88
2020-05-07 00:21:08 +00:00
TreeHugger Robot d13dd3bc44 Merge "Skip setting the controller if the animation is already finished" into ub-launcher3-rvc-dev 2020-05-07 00:14:15 +00:00
James O'Leary 2610bfde05 Revert "Compose gesture integrated fully into Launcher"
Revert "Compose gesture integrated fully into Nexus Launcher"

Revert submission 11035205-compose_gesture_fully_integrated_launcher

Reason for revert: Broke Launcher Android Studio build, quick switch, and home gesture doesn't work if Compose is open.
Reverted Changes:
I2d97b22d5:OverscrollPlugin refactored to use onTouchEvent
Ia19a55f65:Compose gesture integrated fully into Nexus Launch...
I65aa07ac1:Compose gesture integrated fully into Launcher

Change-Id: Ic05c47eb686b3942ba519e76db32977fc568844b
2020-05-07 00:13:47 +00:00
TreeHugger Robot 7a5cec9dcb Merge "Adds CONTAINER_ALL_APPS to LauncherSettings.Favorites." into ub-launcher3-rvc-dev am: 98a88e00b4
Change-Id: I08b05d718d6709c199e18f0bdded9f63f0192669
2020-05-07 00:12:57 +00:00
TreeHugger Robot 98a88e00b4 Merge "Adds CONTAINER_ALL_APPS to LauncherSettings.Favorites." into ub-launcher3-rvc-dev 2020-05-07 00:02:55 +00:00
vadimt fbfe79d8a1 Debug tracing for view hierarchy changing during pressHome
Bug: 155926212
Change-Id: Ie9e8470c23b954890ae41fc9a442422f21093855
2020-05-06 16:41:13 -07:00
Sreyas 78f53856a9 Disabling OverviewActionsView buttons while scrolling or clear all shown.
Bug: 153469850, 153387526
Video: https://drive.google.com/a/google.com/file/d/1mOc8yubux92iKtXRtSOKTcnjWWzvDgC7/view?usp=sharing

Change-Id: Id507d3a050e67057fc34a30771c9566ddfcf94ca
2020-05-06 16:36:24 -07:00
TreeHugger Robot 6cc23ef85a Merge "Updates Back and Home tutorial animations." into ub-launcher3-rvc-dev am: e725a69fb5
Change-Id: I9ab7eeb244c55dd4afccfd0245dadbc8b09e90c3
2020-05-06 22:59:54 +00:00
TreeHugger Robot e725a69fb5 Merge "Updates Back and Home tutorial animations." into ub-launcher3-rvc-dev 2020-05-06 22:45:27 +00:00
thiruram 261c3a6f6c Adds CONTAINER_ALL_APPS to LauncherSettings.Favorites.
Change-Id: I6ee81ef4e009ee99754545b5c8686dc0f9e261a2
2020-05-06 22:44:37 +00:00
Samuel Fufa 685e29b236 Decouple feature flag and predictions
- Always default to true for ENABLE_HYBRID_HOTSEAT
- Allow launcher to show predictions anytime regardless of notification and on-boarding.
- Remove past beta specific plans
- Migrate if first screen can accommodate hotseat items otherwise show tip

Bug: 142753423
Test: Manual
Change-Id: I142cd95d779964822da07a96e5884a0c82813742
(cherry picked from commit 49d0f64a9d)
2020-05-06 22:42:00 +00:00
TreeHugger Robot 850e5d88b2 Merge "Improve Hybird hotseat cache support" into ub-launcher3-rvc-dev am: 870ec6a974
Change-Id: If1becdf551d4dc6c7c09fbec1ce158c90713da2d
2020-05-06 22:32:12 +00:00
TreeHugger Robot 870ec6a974 Merge "Improve Hybird hotseat cache support" into ub-launcher3-rvc-dev 2020-05-06 22:19:53 +00:00
Zak Cohen 27e89369f1 Overview Actions - fade action buttons, avoiding jump cuts am: 0029fd7794
Change-Id: I25e664e3545437c494ecff0a6be59a02274bf4ee
2020-05-06 21:21:21 +00:00
Samuel Fufa 385e93249e Improve Hybird hotseat cache support
Loads list of cached apps and shows predicted app icons with the rest of workspace items.

-> Extracted prediction caching logic into a model layer

Bug: 155029837
Test: Manual

Change-Id: I6981594a910f5fe4e8e8cf8fe39db0cb856e7acd
2020-05-06 14:14:08 -07:00
James O'Leary 78bc076c27 Compose gesture integrated fully into Launcher am: d9c86d4b3b
Change-Id: I83dd887d810ff41018524385789050d3f388c60b
2020-05-06 18:56:49 +00:00
Zak Cohen 0029fd7794 Overview Actions - fade action buttons, avoiding jump cuts
Test: local build and inspect
Bug: 155016287
Change-Id: I6015ce01b5095138ddd4e5f171ccb4d151c8f3fc
2020-05-06 11:45:14 -07:00
TreeHugger Robot ca738716c4 Merge "Removing some unused AppWindowAnimationHelper dependencies" into ub-launcher3-rvc-dev am: e93d6d615c
Change-Id: If7d973f40219d749c121f81ef6ac8a5b574d92b1
2020-05-06 17:46:37 +00:00
TreeHugger Robot ac4f2c582c Merge "Bias rotation to remain in existing rotation" into ub-launcher3-rvc-dev am: 18f367a5f7
Change-Id: I1b2893251bd65ceb0611713476857a88041f9c00
2020-05-06 17:46:31 +00:00