Vinit Nayak
0664d9ad09
Merge "Use new onTaskListUpdated() callback" into ub-launcher3-master
2019-08-06 22:40:23 +00:00
Pinyao Ting
49a3e699f9
show dot in deep shortcuts when notification contains exactly identical
...
set of person
Bug: 132336512
Change-Id: I975524e28168c10a186cdc24b188c161faf433cf
2019-08-05 20:41:58 -07:00
Sunny Goyal
1217919981
Merge "Use task display id when starting split screen" into ub-launcher3-qt-r1-dev am: 6cf32a2e95
...
am: bafd62971a
Change-Id: I1b981e07329a0a6fc0667af58188c9ba047f068d
2019-08-05 17:39:42 -07:00
Sunny Goyal
bafd62971a
Merge "Use task display id when starting split screen" into ub-launcher3-qt-r1-dev
...
am: 6cf32a2e95
Change-Id: I7313eb81291d3fbe353882446d7da39bba355ec9
2019-08-05 17:33:42 -07:00
TreeHugger Robot
6cf32a2e95
Merge "Use task display id when starting split screen" into ub-launcher3-qt-r1-dev
2019-08-06 00:21:01 +00:00
James O'Leary
d103d64f09
Merge "Fix inability to dismiss Assistant answer when launcher frontmost" into ub-launcher3-qt-r1-dev am: 290a9a814a
...
am: c714f1657b
Change-Id: I7c227379a4f429c8f73828782f64bfd89fb90eec
2019-08-05 15:26:45 -07:00
James O'Leary
c714f1657b
Merge "Fix inability to dismiss Assistant answer when launcher frontmost" into ub-launcher3-qt-r1-dev
...
am: 290a9a814a
Change-Id: I128fb662ea38a00f3a14734aae9c5c1bbb849b09
2019-08-05 15:20:46 -07:00
Sunny Goyal
1eade2f947
Use task display id when starting split screen
...
Before starting split screen animation, we dismiss the task view, which
can detach the clicked view immediately, if animations are dissabled.
That will cause NPE as view.getDisplay will be null
Bug: 138793362
Change-Id: I611f6a824f756eceeed57aac5afdf38f421ff8d2
2019-08-05 11:24:43 -07:00
TreeHugger Robot
71b6d24964
Fix inability to dismiss Assistant answer when launcher frontmost
...
Bug: 136282913
Test: Verify Assistant answer card be dismissed from Home
Change-Id: I84d0a9bda333bc2f99161096299acfaa387ecf1e
2019-08-05 14:01:08 -04:00
Tracy Zhou
91e7a72217
Change RecentsAnimationListenerSet interface (Launcher)
...
am: bd7acf7665
Change-Id: I52b654212200962d3c2f1fe4376f2001736fcb0e
2019-08-01 21:54:14 -07:00
Tracy Zhou
bd7acf7665
Change RecentsAnimationListenerSet interface (Launcher)
...
Bug: 138683199
Test: N/A
Change-Id: Ic53ef92fe4d5b55ff1d105a250accdf6f6c0916b
(cherry picked from commit 8e8a36f673 )
2019-08-02 03:44:37 +00:00
Tony Wickham
213dfabe3b
Return mIconLastSetTextAlpha from TEXT_ALPHA property am: 8ed3b437b1
...
am: f489a71365
Change-Id: I255c795eef142699b97b46e46f61c4a054a93108
2019-08-01 16:01:28 -07:00
Becky Qiu
9c6cfb4e04
Fill the log container as hotseat or workspace based on position.
...
am: 84fa94e2fc
Change-Id: If9a5d88062addbd09909e04ef5c2c59e7e5488a7
2019-08-01 16:00:47 -07:00
Tony Wickham
f489a71365
Return mIconLastSetTextAlpha from TEXT_ALPHA property
...
am: 8ed3b437b1
Change-Id: I01cada1a1cca22e2e7792b019dd74221c0451cf3
2019-08-01 15:44:40 -07:00
Jon Miranda
3ff3991f48
Merge "Fix bug where rounded corners were being set despite being disabled." into ub-launcher3-qt-dev am: 9da9a2bd21 am: f20a7d252c
...
am: 783717c0c6
Change-Id: I2c9738fa84d781cbfa9a6fbc071468a5247190ef
2019-08-01 15:31:05 -07:00
Tony
3a54ba9296
Don't end launcher components anim early even if it does nothing am: 03c548901f am: 1d7e474c69
...
am: 13bdbffe29
Change-Id: I1fdc0c3fff32c05da159d61b8a8a7b484b24f147
2019-08-01 15:30:42 -07:00
Becky Qiu
84fa94e2fc
Fill the log container as hotseat or workspace based on position.
...
Test: manual
Bug: 137953006
Swipe from workspace:
07-30 15:15:44.031 9779 9779 D UserEvent: action:FLING direction=UP direction=UP
07-30 15:15:44.031 9779 9779 D UserEvent: Source child:WORKSPACE id=0 span(951,1313) parent:WORKSPACE id=0
07-30 15:15:44.031 9779 9779 D UserEvent: Destination child:ALLAPPS
07-30 15:15:44.031 9779 9779 D UserEvent: Elapsed container 826 ms, session 9361 ms, action 0 ms
Swipe from hotseat:
07-30 15:15:46.010 9779 9779 D UserEvent: action:FLING direction=UP direction=UP
07-30 15:15:46.010 9779 9779 D UserEvent: Source child:HOTSEAT id=0 span(786,1908) parent:WORKSPACE id=0
07-30 15:15:46.010 9779 9779 D UserEvent: Destination child:ALLAPPS
07-30 15:15:46.010 9779 9779 D UserEvent: Elapsed container 1139 ms, session 11339 ms, action 0 ms
Change-Id: I959528889fda778efc569bb59e7f44d3bd5b81bc
2019-08-01 22:24:44 +00:00
Tony Wickham
8ed3b437b1
Return mIconLastSetTextAlpha from TEXT_ALPHA property
...
This was supposed to go in the last CL but I forgot to commit...
Bug: 132455160
Change-Id: Ieb66b1f256d7b14c84bbd4d10af1aa8b073d5ac3
2019-08-01 15:20:03 -07:00
Jon Miranda
783717c0c6
Merge "Fix bug where rounded corners were being set despite being disabled." into ub-launcher3-qt-dev am: 9da9a2bd21
...
am: f20a7d252c
Change-Id: I3fcfe4dc137756d5b4a049468632d111ca7fa4f6
2019-08-01 15:19:01 -07:00
Tony
13bdbffe29
Don't end launcher components anim early even if it does nothing am: 03c548901f
...
am: 1d7e474c69
Change-Id: I1f1f70c2791755535d1318b636e37a745e97d057
2019-08-01 15:18:36 -07:00
Jon Miranda
f20a7d252c
Merge "Fix bug where rounded corners were being set despite being disabled." into ub-launcher3-qt-dev
...
am: 9da9a2bd21
Change-Id: Icae4fd3fef3ad221d45e8d9ecdcc018813d560f3
2019-08-01 15:05:00 -07:00
Tony
1d7e474c69
Don't end launcher components anim early even if it does nothing
...
am: 03c548901f
Change-Id: Ifb228b935659e971facfd8d6bb4c56ab54424e68
2019-08-01 15:04:36 -07:00
TreeHugger Robot
9da9a2bd21
Merge "Fix bug where rounded corners were being set despite being disabled." into ub-launcher3-qt-dev
2019-08-01 21:47:47 +00:00
Tony
03c548901f
Don't end launcher components anim early even if it does nothing
...
The janky animation that ends on the home screen with an invisible
task on top is caused by the following scenario (for example):
- Quick switch from task A to task B
- After landing on B, but before we get the callback that it was
successfully launched, switch back to A (or you could go to C)
Now we are animating back to A, but we are still waiting to hear
whether B was successfully launched. If we hear that the launch
was indeed successful, we dutifully clean up after ourselves by
returning launcher to its default state. Unfortunately, that
clobbers the current animation that is scrolling back to A, and
we end up in the bad state where we are showing the default
launcher state even though we just launched task B and were
about to launch task A.
Normally we avoid cleaning up the state animation if the user
is still controlling it. The reason we weren't doing that here
is because we ended the launcher animation early even though
the window animation was still running. Instead, we should keep
the launcher animation running for the full duration, so that
it prevents a cleanup from occurring in the middle.
Bug: 138620399
Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1
2019-08-01 13:28:43 -07:00
Tony Wickham
dd53ba5065
Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-dev am: 1343f03e2e
...
am: 70f539cd45
Change-Id: Ifddcba1cd63950424f88ad1d8e01fa9a11f73a2e
2019-07-31 15:50:44 -07:00
Tony Wickham
70f539cd45
Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-dev
...
am: 1343f03e2e
Change-Id: Ie3f4c2c15e331c84f0f048c6337ae4e58111ec56
2019-07-31 15:36:50 -07:00
Tony Wickham
1343f03e2e
Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-dev
...
* changes:
Tie prediction text to all apps interpolator
Add OverviewScrim to show below overview but above workspace
2019-07-31 22:12:54 +00:00
Tony Wickham
35a4e0eec9
Tie prediction text to all apps interpolator
...
Now floating headers get 2 interpolators: one for the header content
itselt, and one for the all apps content that follows. That way, they
can choose to intperolate part of their content as if it were part of
all apps instead of the header. Currently, we do this to animate
predicted icons quickly, followed by the all apps icons, predictions
text, all apps scrollbar, and all apps divider as you continue swiping.
Bug: 132455160
Change-Id: Ib3e373c291e174e1306a53854d0ad4dc29eb4b76
2019-07-31 14:45:18 -07:00
Tony Wickham
c088051c29
Add OverviewScrim to show below overview but above workspace
...
- Refactor some basic scrim logic to Scrim class and have
WorkspaceAndHotseatScrim and OverviewScrim extend it
- Draw OverviewScrim under recents unless predictions are disabled, in
which case draw it under hotseat (since that is in recents)
- Remove sysui scrim (behind status bar and nav bar) when overview is
peeking
Bug: 132455160
Change-Id: Ia5d6f54582a4c5a70e3b2d4a98281567edd68519
2019-07-31 14:44:28 -07:00
Vinit Nayak
6482ab1e36
Merge "Set recents view to be visible from alt+tab" into ub-launcher3-qt-qpr1-dev
...
am: b5d2ab59a5
Change-Id: I032cb7b9a5a63461adbbefb58172eb0977705a7f
2019-07-31 13:43:41 -07:00
Vinit Nayak
45c12ff1b5
Set recents view to be visible from alt+tab
...
Recents was being initialized but was not
marked as attached to app window. This
was causing it's animator to never make it
View.VISIBLE.
Test: Open any app
On physical keyboard press alt+tab
Observe that overview shows up
fixes: 138396234
Change-Id: I9e6c001242f4552027e79b162fb812f476823a37
2019-07-31 20:10:55 +00:00
Jon Miranda
ddd8071092
Tune window/icon alpha for swipe up to home animation. am: f462b251e1
...
am: 3d690ce28a
Change-Id: Id31b162c9c1238a50cc660ba9b89985c94229b5d
2019-07-31 11:40:11 -07:00
Jon Miranda
f462b251e1
Tune window/icon alpha for swipe up to home animation.
...
Bug: 136591785
Change-Id: Ib781bc77cfd49b6f4529a609d7025f510e219575
2019-07-31 10:05:16 -07:00
Sunny Goyal
d1ca8f4e5e
Notifying the geature guide app when back gesture is performed so that user onboarding can the updated accordingly am: c302baced0
...
am: 342c2e9065
Change-Id: Ibbceb1fae2240afc3f4e7a0714aae84ef1751672
2019-07-29 15:28:30 -07:00
Sunny Goyal
c302baced0
Notifying the geature guide app when back gesture is performed
...
so that user onboarding can the updated accordingly
Bug: 138403212
Change-Id: Ib4e1cde0b2c746f955d5a58251c8ab653dadbc67
2019-07-29 11:55:11 -07:00
TreeHugger Robot
c5b8e77a80
Merge "Separating apps list callback from model callback and simplifying various events" into ub-launcher3-master
2019-07-29 16:56:35 +00:00
Winson Chung
7404f35490
Updating to use deferred cancel api am: fa652a8a4f
...
am: c0974870e4
Change-Id: Ifcab654d42c286c6d7288d219d2ad7b06cd249d5
2019-07-28 12:14:00 -07:00
Winson Chung
fa652a8a4f
Updating to use deferred cancel api
...
- Also updating the sysui flag to home's flags when passing some
threshold
- Also ensure we don't allow swipe up when QS is open
Bug: 137196872
Bug: 135969043
Change-Id: I476eee7f02ae86aa795fceabb304bcaa7416ef9c
2019-07-27 10:08:52 -07:00
Vinit Nayak
a04997b081
Use new onTaskListUpdated() callback
...
Migrated to general method for receiving updates
whenever the recents list undergoes any additions or
removals.
Test: Opened apps, and as I closed them I ensured
via debugger and log statements that the callback was
being triggered from the framework module. See
tests in RecentTasksTest
fixes: 111077107
Change-Id: Ia9bddb50861a1b107e6a88c9f9bb89944800d5d8
2019-07-26 12:19:57 -07:00
Winson Chung
3874e556a5
Merge "Fix NPE in service dump" into ub-launcher3-qt-r1-dev am: 1d3d19f2e1
...
am: a7d12b227f
Change-Id: Ic97e416874c2989ab293b69d54190a02f281a043
2019-07-26 10:09:45 -07:00
Winson Chung
1d3d19f2e1
Merge "Fix NPE in service dump" into ub-launcher3-qt-r1-dev
2019-07-26 16:46:35 +00:00
Winson Chung
02a9aec015
Skip tests for overlays that don't exist on device am: 0ef10a458d
...
am: 6439337cee
Change-Id: I14243ecbda7ade7c1e7db9794bc22a533cc6dd73
2019-07-25 18:01:03 -07:00
vadimt
da0d8de65e
More diags in TouchInteractionService am: f88d0b5a8a
...
am: 808b788c14
Change-Id: I8a1acb9d42bab44ba0a866394b63bcb3acdcbadd
2019-07-25 18:00:46 -07:00
Tony Wickham
efa4a48231
Merge "Fix incorrect task index bounds" into ub-launcher3-qt-r1-dev am: 3bbb20262b
...
am: cc740c8932
Change-Id: I14cbb1dd9e0e6366e13d1f62575d162eb6c4adb3
2019-07-25 18:00:16 -07:00
Winson Chung
0ef10a458d
Skip tests for overlays that don't exist on device
...
Bug: 138401738
Bug: 138227387
Change-Id: If661fd342e1382915485bccdf6ae2c9e77a92bc4
2019-07-26 00:09:43 +00:00
vadimt
f88d0b5a8a
More diags in TouchInteractionService
...
Bug: 138251824
Change-Id: I0909a2c85b1b2bdd8b67da59c978d6a3bbb58ee5
2019-07-25 16:38:39 -07:00
TreeHugger Robot
3bbb20262b
Merge "Fix incorrect task index bounds" into ub-launcher3-qt-r1-dev
2019-07-25 23:17:21 +00:00
Winson Chung
5089140cda
Fix NPE in service dump
...
Bug: 138144992
Change-Id: I608ea209b04fce13a63190ec424849dc909a6a9a
2019-07-25 15:22:47 -07:00
Hyunyoung Song
c37af4325f
Merge "Add several missing swipe logging Enable swipe down to open noti shade from landscape" into ub-launcher3-qt-r1-dev
...
am: 2cccb134a4
Change-Id: I6fd477dc398e55358a5110a552430eb61c29373d
2019-07-25 15:14:33 -07:00
TreeHugger Robot
2cccb134a4
Merge "Add several missing swipe logging Enable swipe down to open noti shade from landscape" into ub-launcher3-qt-r1-dev
2019-07-25 21:55:16 +00:00