Commit Graph
34209 Commits
Author SHA1 Message Date
Winson Chung 641fa0659e Merge "Fix issue with delegate consumers being overwritten" into ub-launcher3-master 2020-04-08 04:07:49 +00:00
android-build-team Robot 1723267e97 Snap for 6374687 from 884f8f217f to rvc-release
Change-Id: I044a0116642668ff93e01d3cebdb542520b35a95
2020-04-08 02:06:50 +00:00
Winson Chung a726df9208 Fix issue with delegate consumers being overwritten
- Whenever the delegate consumer sets itself as active, it will cancel
  the base consumers which can cause onConsumerInactive() which will
  clear the active consumer.  Instead, we should only clear the active
  consumer, and in the case where isConsumerDetachedFromGesture() is
  checked, only check the active consumer before resetting.

  ie.
  base ic (detached) -> on touch up (do nothing) -> onConsumerInactive (active == base) -> reset
  base ic (detached), wrapped ic (active) -> onConsumerInactive (active != base) -> on touch up (active == wrapped) -> reset
  base ic (detached, active), wrapped ic -> on touch up (do nothing) -> onConsumerInactive (active == base) -> reset
  base ic (not detached) -> on touch up (active == base) -> reset
  base ic (not detached), wrapped ic (active) -> onConsumerInactive (active != base) -> on touch up (active == wrapped) -> reset
  base ic (not detached, active), wrapped ic -> on touch up (active == base) -> reset

Change-Id: I2d623c501d9c9799dadcf2005f34e1e0062c113f
2020-04-07 17:39:23 -07:00
Hyunyoung Song f24c614ad2 Fix NPE inside ItemInfo
Bug: 153423464
Test: builds
Change-Id: Ieca836d13ea6535a8016bec2c150c793a41db3ff
2020-04-07 13:43:31 -07:00
TreeHugger Robot c84daaf72a Merge "Fixing task start index not getting updated on all View add/remove calls" into ub-launcher3-master 2020-04-07 19:23:56 +00:00
TreeHugger Robot 931d1084b5 Merge "[Overview Actions] Resizes the select mode UI and adds animations." into ub-launcher3-master 2020-04-07 18:58:36 +00:00
Sunny Goyal 15a12f3a86 Fixing task start index not getting updated on all View add/remove calls
Change-Id: Icbd3cd7e9cee33d2f91546ff4efcf6abfa474e1e
2020-04-07 11:34:59 -07:00
TreeHugger Robot 59431db564 Merge "Add new FolderLabelStates to better understand smart folder acceptance rate based on primary suggestion." into ub-launcher3-master 2020-04-07 17:16:04 +00:00
Matt Casey 2dc675e0df Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: d3ba747e6d am: d5e144463f am: 9c777f6495 am: 55be398eea
Change-Id: I151a1bddb7a06118608c08fd131a7bb7a08f3283
2020-04-07 12:16:38 +00:00
Matt Casey 01c9a73a43 Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: 23f879c314 am: 3322721948 am: 41bc36bd12
Change-Id: I6af0f40c67d7364946ac4871b4a5eff786891e02
2020-04-07 12:16:11 +00:00
Matt Casey 44ce05f1bc Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: d3ba747e6d am: 2e85538b77 am: 38f50910f6
Change-Id: I29d9f7905726120f4d3b5f0a5af60213d12e5176
2020-04-07 12:15:52 +00:00
Matt Casey 55be398eea Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: d3ba747e6d am: d5e144463f am: 9c777f6495
Change-Id: Ia39171234a377424be9e80fc8c76643768794075
2020-04-07 12:09:28 +00:00
Matt Casey 41bc36bd12 Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: 23f879c314 am: 3322721948
Change-Id: Ibcf79ef93fa9e06fc2f34fb10f05e59b87f93979
2020-04-07 12:01:33 +00:00
Matt Casey 38f50910f6 Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: d3ba747e6d am: 2e85538b77
Change-Id: I403aaf7d70169aa2e6be07c43147baed28b2e8b5
2020-04-07 12:01:12 +00:00
Matt Casey 9c777f6495 Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: d3ba747e6d am: d5e144463f
Change-Id: Ie4eaa87436f1186872f12fdb87040911d0b0142a
2020-04-07 11:52:18 +00:00
Matt Casey 3322721948 Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: 23f879c314
Change-Id: I7bd90d7ad6d950dfb5b73e066deff2c4e3c92027
2020-04-07 11:40:55 +00:00
Matt Casey d5e144463f Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: d3ba747e6d
Change-Id: Ifbad5bfc6783792cf344effcd5e36a0386ef5155
2020-04-07 11:40:11 +00:00
Matt Casey 2e85538b77 Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f am: d3ba747e6d
Change-Id: I7306d1e76771cb63ba006158cb265af6cfefbd8d
2020-04-07 11:39:43 +00:00
Matt Casey 23f879c314 Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f
Change-Id: Ib94ddd0edc0e9298bda0fc08454a633195c5830c
2020-04-07 11:19:21 +00:00
Matt Casey d3ba747e6d Merging from ub-launcher3-master @ build 6369897 am: 884f8f217f
Change-Id: I3fee2a4fdb36e90743402d107aaf898c6e190dcb
2020-04-07 11:19:12 +00:00
TreeHugger Robot badd58ce06 Merge "Removing some new object creation during touch handling" into ub-launcher3-master 2020-04-07 08:10:21 +00:00
Sunny Goyal acd17dfc18 Removing some new object creation during touch handling
> Motion various transformation methods to Orientation Handler
> Moving orientation handler to quickstep package

Bug: 150300347
Bug: 151269990
Bug: 149610456
Change-Id: I28434c1d1f62a3b85f3583740f0a8f827513fab3
2020-04-07 00:27:16 -07:00
Sunny Goyal 5626583228 Fixing insets not getting applied to workspace
Change-Id: I7512849efd91d4aa2b9da6aba0602c65422c606d
2020-04-06 18:21:02 -07:00
Becky Qiu c343cb8658 [Overview Actions] Resizes the select mode UI and adds animations.
Demo video: https://drive.google.com/a/google.com/file/d/1m0CasV2tQEGNelcjwvFRUlTeyBd7WhM6/view?usp=sharing

Spec: https://docs.google.com/presentation/d/1gXWNdCRXvXuEhgDmE0TX2KYqCxIQBXVtWKdl4pKrno8/edit#slide=id.g6f30ae9caf_14_4
Test:local
Bug:139828243

Change-Id: Iaecad62365c687f78494edd235b2e11433fe6907
2020-04-06 17:58:34 -07:00
Matt Casey 884f8f217f Merging from ub-launcher3-master @ build 6369897
Test: manual, presubmit on the source branch
Bug:150504032

x20/teams/android-launcher/merge/ub-launcher3-master_6369897.html

Change-Id: Id94544cf790a7dcf0841f66648ac864bf2f530d4
2020-04-07 00:54:25 +00:00
Tracy Zhou 5d35b86558 Merge "Switch to public API for surface view when rendering preview" into ub-launcher3-master 2020-04-06 22:51:49 +00:00
Zak Cohen 071af14ff6 Merge "Overview actions - rename chips flag and make it a device flag." into ub-launcher3-master 2020-04-06 21:58:11 +00:00
Tracy Zhou bb353d3741 Switch to public API for surface view when rendering preview
Bug: 152003916
Test: Manual
Change-Id: I539ed2876d869366fa7635f4467d19e8488b7a1a
2020-04-06 14:39:52 -07:00
TreeHugger Robot 839d0d712c Merge changes from topic "all-apps-arrow" into ub-launcher3-master
* changes:
  Add all apps education bounce animation
  Update vertical drag handle (all apps arrow)
2020-04-06 20:09:45 +00:00
thiruram 73d0bb99fd Add new FolderLabelStates to better understand smart folder acceptance rate based on primary suggestion.
Bug: 153358870

Change-Id: I863536f0f2563aab33484d45e9bb518e08a9ebe5
2020-04-06 19:15:13 +00:00
Tony Wickham 490a8ab7c7 Add all apps education bounce animation
- Update existing arrow bounce animation to repeat 3 times,
  and play it when swiping up from nav bar on first home
  screen as well as when tapping the arrow.

Bug: 151768994
Change-Id: Ib120764fdeab6cd932018b6fed8b1093dda20641
2020-04-06 11:28:50 -07:00
Tony Wickham 5edf9e2923 Update vertical drag handle (all apps arrow)
- Change drawable to match specs, using ShadowDrawable to
  add shadow when necessary based on workspace theme.
- New drawable is 18dp by 6dp; add support for different
  width vs height, and decouple from workspace page
  indicator (which is still 24dp tall).

Bug: 151768994
Change-Id: Icfd0eac197ebc4d1f5bb799f8538c4bd99d800cd
2020-04-06 11:26:59 -07:00
thiruram 1de8b5cfe6 Fixes smart folder logging bug when creating new folder.
Bug: 153159419

Change-Id: I5d41bdf6d83b091ee641a8160b026c6bff919417
2020-04-06 01:49:19 +00:00
TreeHugger Robot 34a9d75238 Merge "Removing support for fake landscape" into ub-launcher3-master 2020-04-05 23:22:41 +00:00
android-build-team Robot d0f2755250 Snap for 6366237 from 8f817b47fb to mainline-release
Change-Id: I7e4ec3493c6e1bffce63127011c2a13c64fbfde9
2020-04-05 07:05:44 +00:00
TreeHugger Robot 8b5e943693 Merge "Removes WindowManager and DisplayManager from sandbox." into ub-launcher3-master 2020-04-04 09:35:24 +00:00
android-build-team Robot 7a16282ae9 Snap for 6364069 from 4c04982fd6 to rvc-release
Change-Id: Ie03bc59ca25ecf8eea802b4fbd1757d6bd264793
2020-04-04 02:06:46 +00:00
Andy Wickham 0fda3ba99c Removes WindowManager and DisplayManager from sandbox.
Adds the back gesture panel directly to the fragment
View hierarchy rather than a separate Window.

Bug: 148542211
Change-Id: I196a72d29217308a5bdb78fdcff1face5d475379
2020-04-04 00:32:06 +00:00
Sunny Goyal c4d3201538 Removing support for fake landscape
Bug: 111068105
Change-Id: If31d2f700ddee1d21541735de3a8006ee2a53c5c
2020-04-03 17:11:35 -07:00
Zak Cohen 512da48db8 Overview actions - rename chips flag and make it a device flag.
We want to be able to control this value with deviceconfig.

Test: local

Change-Id: I05de087afcf2f558424706a59de2521bb6fddc4e
2020-04-03 15:09:50 -07:00
Vinit Nayak 2b456d4274 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427 am: 282ed02cde am: 8f817b47fb am: 9d610d0397
Change-Id: Ie4847d279d8db9c48394b39e93866d40a2ff5bbf
2020-04-03 21:44:31 +00:00
Vinit Nayak 9d610d0397 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427 am: 282ed02cde am: 8f817b47fb
Change-Id: Ib2b709e953cc35c80a1cd4cf38eef060f973f3e1
2020-04-03 21:21:44 +00:00
Vinit Nayak 5911d136d2 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: 017ad4a177 am: 93efb06f77 am: 328c43643a
Change-Id: I065cf76e6f86896eda4f3ceb114d5786dc28b268
2020-04-03 21:14:28 +00:00
Vinit Nayak 8167eeb8ac Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427 am: 09f16f2cda am: d062752160
Change-Id: I8d32b833c1bc474cb665a4015dcb49bf1b1ad94c
2020-04-03 21:12:34 +00:00
Vinit Nayak 328c43643a Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: 017ad4a177 am: 93efb06f77
Change-Id: I246408268f7d0284f22baa63f0b52febdb0b93b2
2020-04-03 21:01:31 +00:00
Vinit Nayak 8f817b47fb Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427 am: 282ed02cde
Change-Id: Iaa750a18619df844d6e37e5218fc4aa968581d2e
2020-04-03 20:59:35 +00:00
Vinit Nayak d062752160 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427 am: 09f16f2cda
Change-Id: If48b76e2b7cce31a43665c27ed70814965cc707d
2020-04-03 20:59:28 +00:00
Vinit Nayak 93efb06f77 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: 017ad4a177
Change-Id: I2bdd6ebfd56e61490b6d353fd5848f150bdbddf7
2020-04-03 20:49:56 +00:00
Vinit Nayak 09f16f2cda Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427
Change-Id: Icbcf75a221f3e0211b3917d0f0f5c0dc8c9fb13b
2020-04-03 20:40:52 +00:00
Vinit Nayak 282ed02cde Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427
Change-Id: I594f833d29e17d7b1b372d11a47b3aca04342c08
2020-04-03 20:40:47 +00:00