Jon Miranda
0b257d3e20
Merge "Bandage fix for bitmap fatal exception where width / height !> 0." into ub-launcher3-qt-r1-dev am: cf92f3edb0
...
am: b1d8ad6be5
Change-Id: Ifb3662ee293ff5eace912be50e622171a0bcaaa6
2019-08-01 16:52:13 -07:00
Becky Qiu
29e8ef3611
Log the right workspace id for -1 screen for stop and resume.
...
am: bfc2da1fd8
Change-Id: Iafe8c7cc05d0fb76a3e8768bb8513b4696861c78
2019-08-01 16:51:54 -07:00
Jon Miranda
b1d8ad6be5
Merge "Bandage fix for bitmap fatal exception where width / height !> 0." into ub-launcher3-qt-r1-dev
...
am: cf92f3edb0
Change-Id: Iea9db807ebc65bcb612294a4283346e714b25f63
2019-08-01 16:50:56 -07:00
TreeHugger Robot
cf92f3edb0
Merge "Bandage fix for bitmap fatal exception where width / height !> 0." into ub-launcher3-qt-r1-dev
2019-08-01 23:27:31 +00:00
Jon Miranda
40bce3efe4
Bandage fix for bitmap fatal exception where width / height !> 0.
...
Bug: 135558924
Change-Id: I0a22ba849b50eee87abd52ab9ec3211294a6c40b
2019-08-01 16:17:37 -07: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
Becky Qiu
bfc2da1fd8
Log the right workspace id for -1 screen for stop and resume.
...
Test: manual
Bug: 137952354
Logs after this fix:
08-01 12:01:36.220 17105 17105 D UserEvent: action:STOP
08-01 12:01:36.220 17105 17105 D UserEvent: Source child:WORKSPACE id=-1
08-01 12:01:36.220 17105 17105 D UserEvent: Elapsed container 5511 ms, session 5511 ms, action 0 ms
08-01 12:01:36.220 17105 17105 D UserEvent:
08-01 12:01:38.042 17105 17105 D UserEvent:
08-01 12:01:38.042 17105 17105 D UserEvent: -----------------------------------------------------
08-01 12:01:38.042 17105 17105 D UserEvent: action:RESUME
08-01 12:01:38.042 17105 17105 D UserEvent: Source child:WORKSPACE id=-1
08-01 12:01:38.042 17105 17105 D UserEvent: Elapsed container 7334 ms, session 7334 ms, action 0 ms
08-01 12:01:38.042 17105 17105 D UserEvent:
Change-Id: Ic2d88eee3ff7a0e28d5c7e4cab8ee61952ed95ee
2019-08-01 22:55:42 +00: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
Tracy Zhou
8e8a36f673
Change RecentsAnimationListenerSet interface (Launcher)
...
Bug: 138683199
Test: N/A
Change-Id: Ic53ef92fe4d5b55ff1d105a250accdf6f6c0916b
2019-08-01 11:18:15 -07:00
Pinyao Ting
c783ad94e4
[automerger skipped] Merge "Ensure each dot contains only relevant notification to the shortcut and displays system shortcut when long click on deep shortcut." into ub-launcher3-qt-qpr1-dev
...
am: 9447e887db -s ours
am skip reason: change_id Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2 with SHA1 0cd5bd5f95 is in history
Change-Id: I6320f2cdf7260e49c64ca5295d4db2c0ab611702
2019-08-01 10:31:33 -07:00
Pinyao Ting
9447e887db
Merge "Ensure each dot contains only relevant notification to the shortcut and displays system shortcut when long click on deep shortcut." into ub-launcher3-qt-qpr1-dev
2019-08-01 16:51:57 +00:00
Winson Chung
112af6868d
Merge "Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018 am: c361bb8977" into qt-qpr1-dev-plus-aosp
...
am: a61fd0087b
Change-Id: Iacfeaf56f5b8237d5891a87b3ae0e94205724fd0
2019-07-31 21:34:11 -07:00
Winson Chung
bee422b6d0
Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018 am: 7a495fdfa1
...
am: 691007f721
Change-Id: I7b8129c3fdf40e03828da640b2a1680f1c2a8883
2019-07-31 21:33:25 -07:00
Android Build Merger (Role)
a61fd0087b
Merge "Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018 am: c361bb8977" into qt-qpr1-dev-plus-aosp
2019-08-01 04:22:56 +00:00
Winson Chung
25d99a2101
Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018
...
am: c361bb8977
Change-Id: I3a503d6eb001778764edf298b1001dd1c8e3cf9b
2019-07-31 21:22:26 -07:00
Winson Chung
691007f721
Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018
...
am: 7a495fdfa1
Change-Id: I64e26f2c3f50f6b04c753fbb972e044fbbc51103
2019-07-31 21:22:25 -07:00
Winson Chung
c361bb8977
Merging ub-launcher3-qt-r1-dev, build 5766606
...
am: 8822dc0018
Change-Id: Ife2004942d44798afb5c7c4aabcf518bf358a6ae
2019-07-31 21:10:26 -07:00
Winson Chung
7a495fdfa1
Merging ub-launcher3-qt-r1-dev, build 5766606
...
am: 8822dc0018
Change-Id: I41d122efe5cefb14c56c0bcad046aae627037311
2019-07-31 21:10:26 -07:00
Pinyao Ting
0cd5bd5f95
Ensure each dot contains only relevant notification to the shortcut
...
and displays system shortcut when long click on deep shortcut.
In this CR we
1) for each shortcut, we filters the notifications to ensure we only
get notifications with identical shortcutId.
2) allow system shortcut to be displayed when user long click on a
DeepShortcut
Bug: 132336512
Change-Id: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
2019-08-01 02:47:24 +00:00
Vadim Tryshev
b647d79e45
Merge "More tracing for wellbeing tests" into ub-launcher3-qt-qpr1-dev
...
am: d33894c771
Change-Id: Iad90464ad3864fda2c1811d87923dfd8fbfd81db
2019-07-31 18:02:51 -07:00
Vadim Tryshev
d33894c771
Merge "More tracing for wellbeing tests" into ub-launcher3-qt-qpr1-dev
2019-08-01 00:36:31 +00:00
Pinyao Ting
bf608722b9
Ensure each dot contains only relevant notification to the shortcut
...
and displays system shortcut when long click on deep shortcut.
In this CR we
1) for each shortcut, we filters the notifications to ensure we only
get notifications with identical shortcutId.
2) allow system shortcut to be displayed when user long click on a
DeepShortcut
Bug: 132336512
Change-Id: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
Merged-In: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
2019-07-31 23:56:54 +00:00
vadimt
b90e363b22
More tracing for wellbeing tests
...
Bug: 138743758
Change-Id: I49765cf94575dd7ce251b36094dd82d55d8410d1
2019-07-31 16:41:46 -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
vadimt
ee96d75065
Improvements in getting workspace app icon
...
am: 6b466783b7
Change-Id: I47cd2161e5c3b9dd2d2350bcb4606f346d79adf8
2019-07-31 15:18:36 -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
Vadim Tryshev
e5f95bd2c1
Merge "Improving getWorkspaceAppIcon()" into ub-launcher3-qt-qpr1-dev
...
am: bfff1c80df
Change-Id: I1fb1774ba85d3ef51abb29347ca8621f1f95d8b2
2019-07-31 15:08:53 -07:00
vadimt
6b466783b7
Improvements in getting workspace app icon
...
Bug: 138743792
Change-Id: I11981774397b82bdad0352343a52341c2e3a5099
2019-07-31 21:48:04 +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
Vadim Tryshev
bfff1c80df
Merge "Improving getWorkspaceAppIcon()" into ub-launcher3-qt-qpr1-dev
2019-07-31 21:13:13 +00:00
vadimt
49a28a725a
Improving getWorkspaceAppIcon()
...
Change-Id: I71093b6c03b96ef608be9c8b847a372834b79d64
2019-07-31 13:48:39 -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
Sunny Goyal
fe02876817
Merge "Fixing multi-window DnD getting cancelled when starting a new activity in the middle" into ub-launcher3-qt-r1-dev am: 5e1658a188
...
am: 20f56a7c9a
Change-Id: I2662e90580def56c10b7577bfb35a27dafdfbda1
2019-07-31 13:43:23 -07:00
TreeHugger Robot
b5d2ab59a5
Merge "Set recents view to be visible from alt+tab" into ub-launcher3-qt-qpr1-dev
2019-07-31 20:20:35 +00:00
Sunny Goyal
20f56a7c9a
Merge "Fixing multi-window DnD getting cancelled when starting a new activity in the middle" into ub-launcher3-qt-r1-dev
...
am: 5e1658a188
Change-Id: I849c337f45395692dc547ee2e9c82f61ff1b4efa
2019-07-31 13:17:32 -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
TreeHugger Robot
5e1658a188
Merge "Fixing multi-window DnD getting cancelled when starting a new activity in the middle" into ub-launcher3-qt-r1-dev
2019-07-31 19:51:07 +00:00