Commit Graph

33301 Commits

Author SHA1 Message Date
Tony Wickham 1a468145ab Allow touches on launcher while animating to home
Previously we only proxied if the end target was recents (now we do it
for home as well) and only proxied to the controllers, not to all views.
We still only proxy to controllers for touches in the nav bar, but
otherwise we dispatch touches through normal view hierarchy.

Tests while animating home:
- Swipe down for notifications
- Swipe up for all apps
- Long press icon or wallpaper for shortcuts
- Tap a folder to open it
- Tap an icon to launch it (currently no animation plays, looking into
  it separately)

Bug: 131775822
Change-Id: I705b7a657b6d17bc0e24ed4fb44ecfb0f319e942
2019-05-02 09:21:47 -07:00
Tony Wickham a429fdbbe6 End window animation to home when handler invalidated
We did this already for mCurrentShift, which is used for all animations
except home animation. Now we do it for the home animation as well to
ensure we are properly cleaned up for the next interaction.

Test: Swipe up to home and double tap nav region before animation
finishes. Before, this would return to the app you swiped up from but
was in a broken state where subsequent swipes were ignored. Now we
jump to the home screen and remain there.

Bug: 130802487
Change-Id: I98a2e71a1791f5580451c94a35af98da193ff12f
2019-05-02 09:08:15 -07:00
Jon Miranda a9622f38cc Remove shortcuts/deepshortcuts as targets for swipe up to icon animation.
We'll add it back when b/129067201 is fixed.

Bug: 131809649
Change-Id: I6f009a84b86717f86394da6fb8540eb3f226419a
2019-05-02 08:55:38 -07:00
Jon Miranda 27530c99e2 Use original BubbleTextView icon for legacy stamped forced adaptive icons.
Bug: 129297366
Change-Id: Ic71c42e603cc361b716ba65067a772d19ef394f7
2019-05-02 08:45:27 -07:00
android-build-team Robot afe944dfaf Snap for 5523284 from cd5ed8b28f to qt-release
Change-Id: I687d1925d828455ee7ddfc6ce2cd4582c6535c74
2019-05-02 03:12:55 +00:00
android-build-team Robot 530a5cbed3 Snap for 5523005 from a86fc91580 to rvc-release
Change-Id: Idcbf767e41ddc60fe215f3051ecd7181e9f49bd1
2019-05-02 03:03:55 +00:00
Alex Mang ec1cffa72c Merge "Clear should not show after Widget Configuration activity" into ub-launcher3-qt-dev
am: 35bda496f3

Change-Id: I1a7b7507a5e7e4136aa494a8f8c5995c89f17cf8
2019-05-01 17:50:33 -07:00
Alex Mang 35bda496f3 Merge "Clear should not show after Widget Configuration activity" into ub-launcher3-qt-dev 2019-05-01 23:59:09 +00:00
Vadim Tryshev d0d2ebe7f7 Merge "Remove tracing for fixed bugs" into ub-launcher3-qt-dev
am: f57c62c091

Change-Id: I7cb4cb3345e8beb28e38dc6827c102f14cb27694
2019-05-01 16:46:41 -07:00
Vadim Tryshev f57c62c091 Merge "Remove tracing for fixed bugs" into ub-launcher3-qt-dev 2019-05-01 23:39:34 +00:00
Hyunyoung Song 497708c297 Clear should not show after Widget Configuration activity
Bug: 119847865

TL;DR;;
When configuration activity starts, simply make everything in drop
target bar invisible.

Change-Id: I37d067168368de4ee43b54e5dc95f958f5e94623
2019-05-01 16:33:31 -07:00
Sunny Goyal 3ecd9efea8 Disabling flaky test
am: c7fefa6151

Change-Id: I7f0b8e9cfdf32c73c4218ef4150992f165c74f6f
2019-05-01 16:33:22 -07:00
vadimt 8649cf29e4 Remove tracing for fixed bugs
Bug: 129434166
Bug: 131170582
Change-Id: Ia9b356594001d96c69ffbb7f8b767b2f54ed5feb
2019-05-01 16:10:56 -07:00
Sunny Goyal c7fefa6151 Disabling flaky test
Bug: 131772711
Change-Id: I98a20223845aa66c77e7a4b6fc1b9415ed046a86
2019-05-01 15:53:56 -07:00
Vadim Tryshev 2c47ed5b94 Merge "Reenabling prediction tests" into ub-launcher3-qt-dev
am: 0cad319633

Change-Id: I132ed756894c612de63e499b97e31345d77ff238
2019-05-01 15:50:17 -07:00
Hyunyoung Song 0380dc5dec Merge "Move theme res logic to Themes static class. Bug: 131310726" into ub-launcher3-qt-dev
am: d960d4ec2b

Change-Id: Idca0849c3c3988bffc1874d7b39b50a5cfcfb590
2019-05-01 15:49:17 -07:00
Vadim Tryshev 0cad319633 Merge "Reenabling prediction tests" into ub-launcher3-qt-dev 2019-05-01 22:08:35 +00:00
vadimt 50af77bc46 Reenabling prediction tests
Bug: 131188880
Change-Id: Ie06a39a206a84cdf9384560c0d8498e51af957e5
2019-05-01 14:54:28 -07:00
vadimt bcf0d1e082 Reenabling switching between nav modes in tests
Bug: 130558787
Bug: 131419978
Bug: 131630813
Change-Id: I8d62c7f2b33ac94bd4f899f7c8ed00c8293841e7
2019-05-01 14:35:04 -07:00
Hyunyoung Song d960d4ec2b Merge "Move theme res logic to Themes static class. Bug: 131310726" into ub-launcher3-qt-dev 2019-05-01 21:27:37 +00:00
Matthew Ng a86fc91580 Merging ub-launcher3-qt-dev, build 5508646 am: cd5ed8b28f
am: d9d4db6646

Change-Id: I0f98681338028023c8681b7a342ad5209fc2625b
2019-05-01 14:13:51 -07:00
Hyunyoung Song fcd090da35 Move theme res logic to Themes static class.
Bug: 131310726

Change-Id: Ib46c26c2b44165a4441e109eed6d3ae7e19bcf02
2019-05-01 14:11:50 -07:00
Vadim Tryshev 9b2eb3931c Merge "Not using Contacts app" into ub-launcher3-qt-dev
am: dffb214d0f

Change-Id: I3067187a33fdad8d398a7439bb2b2ff60a953ff8
2019-05-01 13:39:37 -07:00
Sunny Goyal 5ca2357920 Merge "Setting predition enabled/disabled state based on callbacks from the service" into ub-launcher3-qt-dev
am: 428617ebe7

Change-Id: I6be2422c20e882dfb3646f6af3c3c5e3a31b1973
2019-05-01 13:38:28 -07:00
Vadim Tryshev dffb214d0f Merge "Not using Contacts app" into ub-launcher3-qt-dev 2019-05-01 19:53:42 +00:00
TreeHugger Robot 428617ebe7 Merge "Setting predition enabled/disabled state based on callbacks from the service" into ub-launcher3-qt-dev 2019-05-01 19:51:21 +00:00
vadimt f1e0c90a3b Not using Contacts app
Bug: 131628231
Change-Id: If877cc95879263330b7bbd344ddd3a526a5e6fac
2019-05-01 12:21:56 -07:00
Matthew Ng d9d4db6646 Merging ub-launcher3-qt-dev, build 5508646
am: cd5ed8b28f

Change-Id: I9e4b869924389a4ae88d411f6cebf760174ebd78
2019-05-01 08:22:47 -07:00
Winson Chung 5f867c68f0 Merge "Removing screen pinning flag check" into ub-launcher3-qt-dev
am: d16f87f52d

Change-Id: I77407b82ef83a4cdf12f4135ba7d70121d2049ff
2019-04-30 21:25:06 -07:00
Winson Chung d16f87f52d Merge "Removing screen pinning flag check" into ub-launcher3-qt-dev 2019-05-01 04:07:05 +00:00
Tony Wickham a5836b92d3 Merge "TaskView controls currently drawn insets and radius" into ub-launcher3-qt-dev
am: 989f3747e2

Change-Id: Ife4e9fbf06a35ce24b272be763f94d336c0b920d
2019-04-30 21:06:50 -07:00
TreeHugger Robot 989f3747e2 Merge "TaskView controls currently drawn insets and radius" into ub-launcher3-qt-dev 2019-05-01 03:41:23 +00:00
Tony Wickham 737d67fa0f TaskView controls currently drawn insets and radius
Previously this was controlled by TaskThumbnailView. Having TaskView
handle it allows it to update its outline provider to match the
thumbnail when setting fullscreen progress.

Bug: 129883568
Change-Id: I067fcdd31676af4d4792d18eaaac031c2ac0b18a
2019-04-30 20:26:50 -07:00
Vadim Tryshev 305048e3d4 Merge "Adding more activities for inproc tests" into ub-launcher3-qt-dev
am: c9a2eb0809

Change-Id: I06cad4c22382942bba68846f23e63cd34f720752
2019-04-30 19:09:13 -07:00
Vadim Tryshev c9a2eb0809 Merge "Adding more activities for inproc tests" into ub-launcher3-qt-dev 2019-05-01 01:35:23 +00:00
vadimt db4afbba92 Adding more activities for inproc tests
So that virtual devices can scroll all apps

Change-Id: I7aeca9e73e4089431624ab88fc9216a60c575039
2019-04-30 18:19:50 -07:00
Jon Miranda dcee5bb7a5 Merge "Fix RTL bug when swiping up to home." into ub-launcher3-qt-dev
am: 2fc528b833

Change-Id: Ie450455fa1049b5b4e0b334625704cdf54e0ac5c
2019-04-30 15:56:35 -07:00
TreeHugger Robot 2fc528b833 Merge "Fix RTL bug when swiping up to home." into ub-launcher3-qt-dev 2019-04-30 21:50:47 +00:00
Kevin 57b625399a Merge "Fade task items when swiping out" into ub-launcher3-qt-dev
am: 34659d2153

Change-Id: Ia836d5dfcc874a85673635e3942a66b3f38f35dc
2019-04-30 14:33:41 -07:00
Kevin 0d04c1884a Merge "Fix recents order being reversed sometimes" into ub-launcher3-qt-dev
am: 6380f51960

Change-Id: I6e5cbf0956d105acb428a4066762ebd76c1325ec
2019-04-30 14:33:12 -07:00
TreeHugger Robot 34659d2153 Merge "Fade task items when swiping out" into ub-launcher3-qt-dev 2019-04-30 21:27:23 +00:00
TreeHugger Robot 6380f51960 Merge "Fix recents order being reversed sometimes" into ub-launcher3-qt-dev 2019-04-30 21:23:54 +00:00
Jon Miranda 361ccf3490 Fix RTL bug when swiping up to home.
When you switch to RTL when an app is open, we try to use the BubbleTextView
that is no longer attached on the animation back to home. This causes the
item location to return the wrong values (since now the view doesn't have
valid padding/width we can use). In this case, we'll use the fallback
animation.

Bug: 131242470
Change-Id: I0ce27ee10bd6402cc6b2065813b034fc04592622
2019-04-30 14:04:16 -07:00
Kevin 72e8025f75 Fix recents order being reversed sometimes
Occasionally, the recents list items were reversed.  This is because
RecentsTaskList#getTasks returns the actual backing list which we were
reversing, so we solve this by making a new array list.

Bug: 131367388
Test: Do repro in bug, no longer gives reversed order
Change-Id: I825d284e4768c2b53fedf07480e99d195acfa6d6
2019-04-30 13:39:10 -07:00
Sunny Goyal a019e17f0c Merge "Enabling quick-switch gesture in landscape mode (2 button UI)" into ub-launcher3-qt-dev
am: 943ce93bd5

Change-Id: If33b2b12863425aa63746013c2e14f00d19668e0
2019-04-30 12:35:35 -07:00
Jon Miranda 89e100b417 Merge "Fix app open animation in landscape." into ub-launcher3-qt-dev
am: 2e6f3c7324

Change-Id: I87e9742ea61c6b20d5893be0a1abfa5799a347e8
2019-04-30 12:35:00 -07:00
TreeHugger Robot 943ce93bd5 Merge "Enabling quick-switch gesture in landscape mode (2 button UI)" into ub-launcher3-qt-dev 2019-04-30 19:29:14 +00:00
TreeHugger Robot 2e6f3c7324 Merge "Fix app open animation in landscape." into ub-launcher3-qt-dev 2019-04-30 19:16:34 +00:00
Sunny Goyal 27283f7ea8 Setting predition enabled/disabled state based on callbacks from the service
> If no callback is received within a timeout, it is set to disabled

Bug: 131188880
Change-Id: Ie6022b190a2504739f1569a500d6f5cc1566d373
2019-04-30 12:06:25 -07:00
Jon Miranda 063211f620 Fix app open animation in landscape.
Bug: 130828765
Change-Id: Ic447d05a8fe2097a6afd0bfec73039a62bbf5a4b
2019-04-30 12:03:39 -07:00