Commit Graph

34630 Commits

Author SHA1 Message Date
Winson Chung 0b70cd4ca4 Finish recents animation when starting a new activity
- Defer starting the activity when an activity is paused, and finish
  the current animation to trigger launcher to be resumed

Bug: 132811175
Test: Swipe up and launch a new app
Change-Id: I78b76800052512eb93f69ccf0523f4d752a82ece
2019-06-26 14:01:56 -07:00
vadimt 406d49bdd7 Converting even more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: I08587e7a50420e57970ed8feec4524111145dc31
2019-06-26 13:58:33 -07:00
Vadim Tryshev 08309128f5 Merge "Converting more tests to TAPL" into ub-launcher3-qt-dev am: a730a233b8
am: c3caa394d1

Change-Id: I6bb40cd4bb0e3553bb1b60726c8b94d96098769e
2019-06-26 12:34:12 -07:00
Vadim Tryshev c3caa394d1 Merge "Converting more tests to TAPL" into ub-launcher3-qt-dev
am: a730a233b8

Change-Id: I4d5e5f0489337f3fe95779a25f1ab6d801fe4340
2019-06-26 12:25:10 -07:00
Winson Chung 53e2103958 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev am: fad3823420
am: 6dbbf63248

Change-Id: I2df25a57de1054b850b48a326b28080c606a93f4
2019-06-26 12:25:09 -07:00
Winson Chung 6dbbf63248 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev
am: fad3823420

Change-Id: Iab0ea6c510fa9f52337a6c5c22f06f41e7102056
2019-06-26 12:02:58 -07:00
Vadim Tryshev a730a233b8 Merge "Converting more tests to TAPL" into ub-launcher3-qt-dev 2019-06-26 18:42:11 +00:00
Winson Chung fad3823420 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev 2019-06-26 18:25:58 +00:00
vadimt 2d4b05f295 Converting more tests to TAPL
Bug: 131116002
Bug: 115582915
Change-Id: I3346f96ddba3224eb4b92b15344d71b8ed6e32e0
2019-06-26 11:23:23 -07:00
android-build-team Robot a563bc235e Snap for 5688292 from 64d01938b2 to rvc-release
Change-Id: Iac81fe8135d0cd77c02715246781081503f00aa9
2019-06-26 03:03:00 +00:00
vadimt 6dc02f3847 Converting some widget tests to TAPL am: 3a6eedc61b
am: 274ee271b6

Change-Id: I7126a3ee090d9d8833e104552c5d9d06538ccdd5
2019-06-25 19:42:33 -07:00
vadimt 274ee271b6 Converting some widget tests to TAPL
am: 3a6eedc61b

Change-Id: I2cbe6af1b10e68ac9a17ba8bfc3aeac37b7c5590
2019-06-25 19:27:27 -07:00
vadimt 3a6eedc61b Converting some widget tests to TAPL
Bug: 115582915
Change-Id: I07c6ca5ef712cf1a85d81e7d4b4bda3604777ac8
2019-06-25 18:34:48 -07:00
Vadim Tryshev 1d20c1a65a Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev am: 8a532e0bec
am: bcad1107d6

Change-Id: I9b86799a01a18826343feaac1394697739dcd7ec
2019-06-25 17:29:34 -07:00
Vadim Tryshev bcad1107d6 Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev
am: 8a532e0bec

Change-Id: Ie409c6170fd76ac06de057dceb4b1696fb62696a
2019-06-25 17:16:55 -07:00
Vadim Tryshev 8a532e0bec Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev 2019-06-25 23:43:19 +00:00
vadimt 26cfff41ba Taking screenshots for local tests for FallbackRecentsTest
Change-Id: I604e7e90f2146069827b520d44db1854edc7aa77
2019-06-25 16:26:33 -07:00
Rajeev Kumar ff496c8cc9 Fix NPE in OverviewComponentObserver constructor while accessing activityInfo. am: 8ca7205c24
am: 8cb9f2f569

Change-Id: Ic05004b2a5f677e33f49e224c86745c88d52a9af
2019-06-25 15:00:21 -07:00
Sunny Goyal 01a34251c3 Enabling simple gesture navigation for 3P launcher am: 700dc99d9b
am: e253fc0426

Change-Id: I6d7064a6a0e1f2c1f0ca072f01dda95ca73404fb
2019-06-25 14:59:57 -07:00
Winson Chung df9fc63e8c Clean up some more refs to thumbnail data
- Always return a copy of the task list to ensure that the model doesn't
  hold refs to the thumbnail data if it was loaded into the same task
- Always clear the task thumbnail data ref once the visibility of the
  task view changes to be invisible

Bug: 132309376
Test: Enter overview scroll to the end of the list, relaunch app and take
      heap dump

Change-Id: I4437fd30172a5fe2a78c111f780163a1e6bbbb54
2019-06-25 14:44:05 -07:00
Rajeev Kumar 8cb9f2f569 Fix NPE in OverviewComponentObserver constructor while accessing activityInfo.
am: 8ca7205c24

Change-Id: Ia77dc208ebd468ccab6dcf71e4bc4cdf2d94a8d1
2019-06-25 14:36:05 -07:00
Sunny Goyal e253fc0426 Enabling simple gesture navigation for 3P launcher
am: 700dc99d9b

Change-Id: I56cebba3a02f2ac81fa8d00c33b28a29ba350388
2019-06-25 14:35:45 -07:00
Rajeev Kumar 8ca7205c24 Fix NPE in OverviewComponentObserver constructor while accessing activityInfo.
Bug: 132461400
Test: Manual tests
Change-Id: Icee3730454db8129e597714c147c2cbaddc70987
(cherry picked from commit 219208a0f5)
2019-06-25 20:55:53 +00:00
Rajeev Kumar 0e45f5eebf Fix NPE in OverviewComponentObserver constructor while accessing activityInfo.
Bug: 132461400
Test: Manual tests
Change-Id: Icee3730454db8129e597714c147c2cbaddc70987
(cherry picked from commit 219208a0f5)
2019-06-25 20:53:26 +00:00
Sunny Goyal 700dc99d9b Enabling simple gesture navigation for 3P launcher
In case of 3P launcher, swipe-up will go to Launcher and there will be
no way to reach overview.

Bug: 135769778
Change-Id: Ib2c6bb1b13e6055d30b7360ec077b0a2fece66ff
2019-06-25 13:25:30 -07:00
TreeHugger Robot 64d01938b2 Merge "Fix NPE in OverviewComponentObserver constructor while accessing activityInfo." 2019-06-25 20:20:35 +00:00
Vadim Tryshev 50ac1fc933 Merge "TAPL: swiping up from workspace always starts at the screen bottom" into ub-launcher3-qt-dev am: a90531cd00
am: fba697c651

Change-Id: Ie335e2841650e57cd75fdb9fd29d970e20816e9f
2019-06-24 18:23:50 -07:00
Vadim Tryshev fba697c651 Merge "TAPL: swiping up from workspace always starts at the screen bottom" into ub-launcher3-qt-dev
am: a90531cd00

Change-Id: I2fd88e98da320efe49145b7e899a418481cc3514
2019-06-24 18:08:45 -07:00
Vadim Tryshev a90531cd00 Merge "TAPL: swiping up from workspace always starts at the screen bottom" into ub-launcher3-qt-dev 2019-06-25 00:27:25 +00:00
vadimt b8cb393f62 TAPL: swiping up from workspace always starts at the screen bottom
This avoids accidentally dragging an icon from hotseat on ultra-slow
devices.

Change-Id: Id2378a25972bc17dd227e7c227bf963fd1c0e4b2
2019-06-24 17:05:12 -07:00
Sunny Goyal 80a3107141 Merge "Increasing assistant touch region based on the corner radius" into ub-launcher3-qt-dev am: 0348bc21ab
am: df0e795210

Change-Id: If44af142fee0d2e6c78055a3d88f48ee38a50f14
2019-06-21 19:25:06 -07:00
Vadim Tryshev 8d11d8020e Merge "Revert "Enable @PortraitLandscape for testBackground"" into ub-launcher3-qt-dev am: f58d811e98
am: 2fb6e825c1

Change-Id: I50ff93cb758fb7fcb2f4cab4eaf32cbe94372fb3
2019-06-21 19:24:38 -07:00
Sunny Goyal df0e795210 Merge "Increasing assistant touch region based on the corner radius" into ub-launcher3-qt-dev
am: 0348bc21ab

Change-Id: I1c8e5592266e072f7dc41330b744c91f0afcfbc5
2019-06-21 19:16:55 -07:00
Vadim Tryshev 2fb6e825c1 Merge "Revert "Enable @PortraitLandscape for testBackground"" into ub-launcher3-qt-dev
am: f58d811e98

Change-Id: I7a393319d6d619ea9b8655d74702e99579b1c16d
2019-06-21 19:16:36 -07:00
TreeHugger Robot 0348bc21ab Merge "Increasing assistant touch region based on the corner radius" into ub-launcher3-qt-dev 2019-06-22 01:05:42 +00:00
Vadim Tryshev f58d811e98 Merge "Revert "Enable @PortraitLandscape for testBackground"" into ub-launcher3-qt-dev 2019-06-22 00:40:23 +00:00
Vadim Tryshev 7946f55742 Revert "Enable @PortraitLandscape for testBackground"
This reverts commit b6e2cd8546.

Reason for revert: b/135567630

Change-Id: I4cd87356177a141c99e3865b8794de58386d0f49
2019-06-22 00:30:57 +00:00
Sunny Goyal b140f97d47 Merge "Cleaning up some animation states:" into ub-launcher3-qt-dev am: 37dc5b1936
am: 0669538f24

Change-Id: I546b1475280fc0de11d64f2c506daddb364329da
2019-06-21 15:27:15 -07:00
Sunny Goyal 0669538f24 Merge "Cleaning up some animation states:" into ub-launcher3-qt-dev
am: 37dc5b1936

Change-Id: Id53bcefc504895e014ef2c403e59ea4ee5689390
2019-06-21 15:19:15 -07:00
Sunny Goyal e9f1f093c7 Increasing assistant touch region based on the corner radius
Bug: 135687556
Change-Id: I86f0cf3b0e6f3cd6608eab55be6ebf56bfdddf1c
2019-06-21 15:08:49 -07:00
TreeHugger Robot 37dc5b1936 Merge "Cleaning up some animation states:" into ub-launcher3-qt-dev 2019-06-21 22:05:28 +00:00
Vadim Tryshev 16208f9848 Merge "Enable @PortraitLandscape for testBackground" into ub-launcher3-qt-dev am: 58fd654e57
am: 9d69cd6b8d

Change-Id: I68243325b360cacbbd6feb59daf50c26840f2222
2019-06-21 15:05:09 -07:00
Vadim Tryshev 9d69cd6b8d Merge "Enable @PortraitLandscape for testBackground" into ub-launcher3-qt-dev
am: 58fd654e57

Change-Id: I595b0ceff94377af7528b72b30491c9f8c849f84
2019-06-21 14:59:10 -07:00
Vadim Tryshev 653ffb2293 Merge "Workaround for b/135766310" into ub-launcher3-qt-dev am: e72363456e
am: 2658122cea

Change-Id: Ic999b909f9dce05688c6ade6a78e8886f80bb2ee
2019-06-21 14:53:07 -07:00
Vadim Tryshev 58fd654e57 Merge "Enable @PortraitLandscape for testBackground" into ub-launcher3-qt-dev 2019-06-21 21:50:34 +00:00
Vadim Tryshev 2658122cea Merge "Workaround for b/135766310" into ub-launcher3-qt-dev
am: e72363456e

Change-Id: I264705c629f7d52c2aeb7ae98fbcb1779d068469
2019-06-21 14:47:06 -07:00
Adam Cohen 2b13d411bc Merge "Workaround issue with latest version of RecyclerView which is overriding our custom accessibility delegate" into ub-launcher3-qt-dev am: 66ed415f93
am: 5c0a33b1a7

Change-Id: I8efe74c21390dc5d454073e00f278a53474b519b
2019-06-21 14:35:04 -07:00
Vadim Tryshev e72363456e Merge "Workaround for b/135766310" into ub-launcher3-qt-dev 2019-06-21 21:33:16 +00:00
vadimt b6e2cd8546 Enable @PortraitLandscape for testBackground
Now that Recents rotation crash is fixed

Change-Id: Ibca9460e45fc533e414537f7923a2d09fc59f58a
2019-06-21 14:32:17 -07:00
Adam Cohen 5c0a33b1a7 Merge "Workaround issue with latest version of RecyclerView which is overriding our custom accessibility delegate" into ub-launcher3-qt-dev
am: 66ed415f93

Change-Id: I8a284ad1e363cae7a169cbfed6fe04f8499c291a
2019-06-21 14:29:06 -07:00