Commit Graph

28165 Commits

Author SHA1 Message Date
Vinit Nayak 16cd3677bc Add onQuickSwitchToNewTask(int rotation)
ag/10830421
ag/10831581

Fixes: 150250451
Change-Id: I2d6dbdd0fc7637949bb5ff7707c414f14dbf6d49
2020-04-08 13:43:36 -07:00
Winson Chung 5e2cd32ac3 Temporarily revert changes from ag/10899350
Change-Id: I6608f252fd779b23e84348e52c247a8e2fa9ec7a
2020-04-08 13:43:29 -07:00
Winson Chung 5a69742d20 Update launcher call to fetch recent tasks
- Always just fetch the tasks that will end up in recents

Bug: 152133859
Test: Manual, swipe up with pip/assistant and verify nothing
      changed
Change-Id: I41719e111cba85da7e93f65681b7b50b4c5c4a46
(cherry picked from commit 8e714d42ae)
2020-04-08 13:43:23 -07:00
Sunny Goyal 2ab57b665d Fixing insets not getting applied to workspace
Bug: 153516511
Change-Id: I7512849efd91d4aa2b9da6aba0602c65422c606d
(cherry picked from commit 5626583228)
2020-04-08 19:23:20 +00:00
Hyunyoung Song 677ae48c49 Fix NPE inside ItemInfo am: f24c614ad2 am: 46e9289cee am: 96fb1be073
Change-Id: Ic04d91290c4b1980b1fe01e671dac4c4f2067635
2020-04-08 09:20:34 +00:00
Hyunyoung Song 96fb1be073 Fix NPE inside ItemInfo am: f24c614ad2 am: 46e9289cee
Change-Id: Ie17a65e693188a5c8eb86617d9a7bd69b1967d7c
2020-04-08 09:04:25 +00:00
Hyunyoung Song e28a06e5e3 Fix NPE inside ItemInfo am: f24c614ad2
Change-Id: Iced5c546deb21a70aca057f4235fad787d2104fa
2020-04-08 08:48:30 +00:00
Hyunyoung Song 46e9289cee Fix NPE inside ItemInfo am: f24c614ad2
Change-Id: I0ad945877aa0d3c894a8c175f105ad4d1e6d0e81
2020-04-08 08:48:18 +00:00
android-build-team Robot f59b2c433b Snap for 6374617 from 9c777f6495 to mainline-release
Change-Id: Icbc0daa8be1f93c5ca41f98a78dea2096af991c7
2020-04-08 07:21:12 +00:00
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 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 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 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 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 282ed02cde Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427
Change-Id: I594f833d29e17d7b1b372d11a47b3aca04342c08
2020-04-03 20:40:47 +00:00
Vinit Nayak 017ad4a177 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6
Change-Id: I075970b592c300a4aa97585d4b3e6b71896de1ae
2020-04-03 20:30:13 +00:00
Vinit Nayak ca795cc427 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6
Change-Id: Ib81fe594dc6c82feba01e221e01caf5f1cef0beb
2020-04-03 20:29:38 +00:00
Vinit Nayak 4c04982fd6 Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev 2020-04-03 20:27:50 +00:00
vadimt c61664988c Tracing for widgets sheet
Bug: 152354290
Change-Id: I956e7aa0a93cf4d57409f68a34a184dfdec984ca
2020-04-03 13:14:27 -07:00
Adam Cohen 3c1b9afc9c Merging from ub-launcher3-master @ build 6356169 am: df83c9026d am: 789deeff56 am: 326cb5e7f9
Change-Id: I72ea5a6bbd752299af7e7d68a9c6fbcbb4af83f9
2020-04-03 19:40:52 +00:00
Adam Cohen 326cb5e7f9 Merging from ub-launcher3-master @ build 6356169 am: df83c9026d am: 789deeff56
Change-Id: Id299bf5edef313de6429fa949f7ee4a29770e189
2020-04-03 19:17:28 +00:00
Adam Cohen d503307722 Merging from ub-launcher3-master @ build 6356169 am: df83c9026d
Change-Id: I49c17b56bd649ba16653c5258983cb1f06ca45c4
2020-04-03 18:51:05 +00:00