Commit Graph

33301 Commits

Author SHA1 Message Date
Sreyas 43cf2f7925 Sets icon invisible when alpha 0 (Cannot be tapped while TaskView modal)
Bug: 155177299
Change-Id: Ibedbc271837441915580577986c10fa3f0de0ae6
2020-04-28 17:05:16 -07:00
Tracy Zhou 19b2989869 Merge "Remove grid options pref key" into ub-launcher3-rvc-dev am: 42de4ddc83
Change-Id: I0ed74da6b6b18cd4594b9913bbba10f10da726c3
2020-04-28 23:47:42 +00:00
Tracy Zhou 42de4ddc83 Merge "Remove grid options pref key" into ub-launcher3-rvc-dev 2020-04-28 23:42:53 +00:00
TreeHugger Robot 272f15d845 Merge "Support for counting activity creations" into ub-launcher3-rvc-dev am: d4066f5876
Change-Id: I78149686009e73db17f9ea06fa4d6642400a6421
2020-04-28 23:41:00 +00:00
Hilary Huo 7874996823 [AllAppsSearch] Update AllAppsSearch interface to expose the activity to the plugin
Tested=Locally

Change-Id: I8986eb50fea2091d8a1aea3cc1c5ee58e3692bc6
2020-04-28 16:34:42 -07:00
TreeHugger Robot d4066f5876 Merge "Support for counting activity creations" into ub-launcher3-rvc-dev 2020-04-28 23:26:37 +00:00
Pinyao Ting 0807c946b6 Mitigate 10 minutes delay in launcher restore for work apps.
1. Instead of debouncing launcher restore when new install session
(triggered by Play Service due to restore) is created, it is now
throttled at once every 30 seconds. (i.e. Launcher restore is triggered
immediately, but cannot be triggered again within 30 seconds)
2. Removes the backup table when all items are restored. (i.e. no item
were removed as a result of sanitize db due to user didn't sign in to
their work profile)

Bug: 153648870
Change-Id: I32df371f8b47c60a72515876217fd83ac1e56f0a
Test: manually verified with deferred restore
2020-04-28 15:52:19 -07:00
Tracy Zhou ad1d5d0739 Merge "Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled" into ub-launcher3-rvc-dev am: df5d99f419
Change-Id: I1c57254a6f0b36d8a1c6d24fab18e9d3704ca399
2020-04-28 22:43:10 +00:00
Tracy Zhou 9dd8f411e5 Remove grid options pref key
Fixes: 154154093
Test: manual testing of the feature
Change-Id: I48fa2788c163ebfe4b925e05d1526c0c1f3e3926
2020-04-28 15:33:30 -07:00
Tracy Zhou df5d99f419 Merge "Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled" into ub-launcher3-rvc-dev 2020-04-28 22:26:46 +00:00
Jon Miranda c2140bcadd Change horizontal spring stiffness to 250.
Change-Id: I453190b9c402aebdd723b23bcc08fea928da13c5
2020-04-28 14:38:54 -07:00
TreeHugger Robot 59dc8e2042 Merge "Optimization: reducing number of getNavigationModeMismatchError calls" into ub-launcher3-rvc-dev am: 18b2da5f07
Change-Id: I53416f40212ed06e890b3031dfa54184d6938178
2020-04-28 21:25:51 +00:00
TreeHugger Robot 18b2da5f07 Merge "Optimization: reducing number of getNavigationModeMismatchError calls" into ub-launcher3-rvc-dev 2020-04-28 21:11:43 +00:00
Tracy Zhou c6060e6e2a Refactor usage of getting GRID_OPTIONS_PREFERENCE_KEY value into whether GridOptionsProvider is enabled
Bug: 154154093
Test: manual testing of the feature
Change-Id: Ibe78a75b061aad20e8fa0e229589400b65016ff4
2020-04-28 14:02:49 -07:00
Vinit Nayak 3f3cc3e96e Enable edge back gesture on app launch
We don't clear state on EdgeBackGestureHandler
when we go to Recents or Home.
A more robust solution is in the works with
WM team and will probably be built on top of this.
Needs ag/11273364 to work.

Bug: 154580671
Test: Launch app directly in landscape,
should be able to swipe home on first try.

Change-Id: Ia4c685e16645d0237f278a611f6c61f252f3b79c
2020-04-28 13:51:43 -07:00
Vinit Nayak 72c9da7647 Bias rotation to remain in existing rotation
Change-Id: I3457dc7946838eb7e0e68a879091941ce4674a7a
2020-04-28 12:53:07 -07:00
Hyunyoung Song 898bd99116 Force all apps content to be alpha 0 when plugin is in place
Bug: 155114822

Change-Id: I9b2d10d5c009c3bb4fb2cf4cb4d9ff50153eba39
2020-04-28 09:38:39 -07:00
android-build-team Robot a1eac1e9af Snap for 6437181 from 68fcf6fcf5 to mainline-release
Change-Id: I0adc63fe9849a2c41d1f40398a29460d85fab00e
2020-04-28 07:09:21 +00:00
Vinit Nayak 48ea9e9502 Use appropriate start padding for clear all button
This still shows up a bit strange with
notched phones because we are using
RecentsView padding to give ClearAll the
right amount of spacing. However, we're only
adding padding to the left and right and not
the top/bottom.
That's captured here: b/154436527

Fixes: 150389833
Test: Tested landscape/portrait/seascape
launcher, w/ RTL as well

Change-Id: I49defd58048e609a1f7a821abb97374bcbb94b9f
2020-04-27 22:44:05 -07:00
Santiago Etchebehere 82902c0da6 Merging from ub-launcher3-rvc-dev @ build 6436292
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6436292.html

Change-Id: I28d6ec42b7a6a8e779abb306cc29c9801910206f
2020-04-27 22:40:31 -07:00
android-build-team Robot b196c8323b Snap for 6436225 from 3d05148750 to rvc-release
Change-Id: If2aed43c8d5ee13c3958f1c4d47599f83c359dae
2020-04-28 01:01:20 +00:00
Zak Cohen f1a51856c9 OverviewActions - Use launcher state to track modal state. am: a39544d562
Change-Id: Ib9e5358abd1d41e19f6186b84827729b2f345ccc
2020-04-28 00:58:26 +00:00
Zak Cohen a39544d562 OverviewActions - Use launcher state to track modal state.
Test:local

Change-Id: I44e25b95095b9a7aac4b4172c9c91fbfbf4d9ec7
2020-04-27 16:29:44 -07:00
Sreyas Rangaraju 0f12ee1138 Merge "Assistive chip: Adding background scrim for chip." into ub-launcher3-rvc-dev am: 2f04a9d271
Change-Id: I9c640522e057c4b24e4494356000a1d53105402e
2020-04-27 21:47:41 +00:00
Sreyas Rangaraju 2f04a9d271 Merge "Assistive chip: Adding background scrim for chip." into ub-launcher3-rvc-dev 2020-04-27 21:43:49 +00:00
Vinit Nayak 5664beb222 Merge "Revert "Hide shelf in 2-Button Landscape"" into ub-launcher3-rvc-dev am: b219eeab48
Change-Id: I09da22dac83efec88ef6f3a1b3e2211f85c94dc8
2020-04-27 21:40:59 +00:00
Vinit Nayak b219eeab48 Merge "Revert "Hide shelf in 2-Button Landscape"" into ub-launcher3-rvc-dev 2020-04-27 21:24:53 +00:00
Sreyas 63dd9e0b33 Removing old unused code from PageView
Change-Id: I12da53189ddbb2484149d384d5ef20a4aa0535e5
2020-04-27 14:08:56 -07:00
Vinit Nayak 48b28027c0 Revert "Hide shelf in 2-Button Landscape"
This reverts commit 9b5795a579.

Reason for revert: b/155090034

Change-Id: If7decd54965a680d50e4474fb279ebe0002441bb
2020-04-27 20:48:49 +00:00
TreeHugger Robot fef1e5320b Merge "Fixing stagger animation not getting initialized properly" into ub-launcher3-rvc-dev am: 2ca219889b
Change-Id: I0fd5e16699f2bc4eddbb26df46ba0c2308648924
2020-04-27 20:37:30 +00:00
TreeHugger Robot 2ca219889b Merge "Fixing stagger animation not getting initialized properly" into ub-launcher3-rvc-dev 2020-04-27 20:17:16 +00:00
vadimt 2e6fdd7d93 Optimization: reducing number of getNavigationModeMismatchError calls
They are relatively expensive

Change-Id: I34de56884ec3f88e69c709026d3b72e62c787681
2020-04-27 13:08:50 -07:00
vadimt 921f9fd254 Support for counting activity creations
Bug: 139137636
Change-Id: Ib999fd3c82eb2997662578ec35e1d9e1e75e3cbb
2020-04-27 12:41:26 -07:00
Sunny Goyal 9e7bf5e50c Fixing corner radius not properly scaled in TaskViewSimulator am: fd0f8b0d1a
Change-Id: I9fa130d1878f1623be7f3a86a3412be84ce30ed7
2020-04-27 19:29:09 +00:00
Tony Wickham f6f43007ea Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4 am: 6d4b92fd52 am: 68fcf6fcf5 am: 2895f84b38
Change-Id: I121707af70934ce76f1a01b137a3eae7c2795d01
2020-04-27 18:30:26 +00:00
Tony Wickham 52d81d7bea Stop computing scroll if handler is invalidated am: 3d05148750 am: c2b56ab656 am: ef15a26514 am: b836388c5f
Change-Id: Icc6bff65996e5573414315cabd8c85974bc08b88
2020-04-27 18:28:53 +00:00
Tony Wickham 2895f84b38 Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4 am: 6d4b92fd52 am: 68fcf6fcf5
Change-Id: I61667351822cb22e4fd0304dc27243e0899d36b4
2020-04-27 18:26:35 +00:00
Tony Wickham 6883a43138 Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4 am: 54bf5eb1bc am: 1d85d7161a
Change-Id: Id86d1ba6c0c08bd2b5027f78d732f3d5410d3fc0
2020-04-27 18:26:17 +00:00
Sunny Goyal 017a8681c7 Fixing stagger animation not getting initialized properly
Bug: 155092237
Change-Id: I65ee6bddc0bf3bda24820d4680d71bab112b670c
2020-04-27 11:11:54 -07:00
Tony Wickham b836388c5f Stop computing scroll if handler is invalidated am: 3d05148750 am: c2b56ab656 am: ef15a26514
Change-Id: I54ba443882d8d5e03978bc03b094bd59e5a7611f
2020-04-27 18:08:31 +00:00
Tony Wickham 1d85d7161a Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4 am: 54bf5eb1bc
Change-Id: I4e902d4c3ef1aca05b74e3ad24f188d572954aa3
2020-04-27 18:08:08 +00:00
Tony Wickham 68fcf6fcf5 Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4 am: 6d4b92fd52
Change-Id: I6e06be97bb5f673d17874f95b0ba2b3cb20c5021
2020-04-27 18:07:49 +00:00
Sunny Goyal fd0f8b0d1a Fixing corner radius not properly scaled in TaskViewSimulator
Bug: 155016285
Change-Id: Ib49e79cb30fbd448f86806a98557ec27718e3499
2020-04-27 18:03:09 +00:00
Tony Wickham 6d4b92fd52 Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4
Change-Id: Id4eecc6375827ce4725ff2ae705ea7908a15d867
2020-04-27 17:50:26 +00:00
Tony Wickham ef15a26514 Stop computing scroll if handler is invalidated am: 3d05148750 am: c2b56ab656
Change-Id: I85cd80f7f2d95443853bc4c88b9d1410b93cc99a
2020-04-27 17:49:02 +00:00
Tony Wickham 54bf5eb1bc Stop computing scroll if handler is invalidated am: 3d05148750 am: 97653b65c4
Change-Id: Ie25e2e5c15d88a50681b0f2c5a8f060a972af53b
2020-04-27 17:48:41 +00:00
Tony Wickham c2b56ab656 Stop computing scroll if handler is invalidated am: 3d05148750
Change-Id: I097006aa14ed82069bfc3cf26a940049d68b95bf
2020-04-27 17:33:52 +00:00
Tony Wickham 97653b65c4 Stop computing scroll if handler is invalidated am: 3d05148750
Change-Id: Ib89b7f6f1468faa5d880146f0d1ed98b0f859785
2020-04-27 17:33:45 +00:00
TreeHugger Robot c416f72de8 [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: fbb6d6a73a -s ours
am skip reason: subject contains skip directive

Change-Id: Id7d43941c0e8308916166981b140e753fcac1c0c
2020-04-25 21:17:14 +00:00
TreeHugger Robot fbb6d6a73a Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-04-25 21:03:52 +00:00