Jonathan Miranda and android-build-merger
903abfc48f
Merge "Support defining X column layout for all apps as a display option." into ub-launcher3-qt-future-dev
...
am: 315732e524
Change-Id: I1c47d689fbec052859d5fdbfcf8d10b07ddd0202
2019-09-17 11:25:21 -07:00
Tony Wickham and android-build-merger
4aa0a6ca7c
Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev am: fc520edbc6
...
am: 3ff1000632
Change-Id: I34b83f2038a6cb20e39c95aeba310e201060b564
2019-09-16 17:37:58 -07:00
Sunny Goyal and android-build-merger
34ca0d3c62
Merge "Adding support for building a "spring like animation" with precomputed values" into ub-launcher3-qt-qpr1-dev am: 791dd73217
...
am: 30d998c625
Change-Id: Icd3d2bd914ba30bed3257de33af00ae201ecf17b
2019-09-16 17:37:24 -07:00
Hyunyoung Song and Android (Google) Code Review
fe2e430a71
Merge "resolve merge conflicts of 057059665e to ub-launcher3-master" into ub-launcher3-master
2019-09-17 00:15:15 +00:00
Jon Miranda
6f7e9702e3
Support defining X column layout for all apps as a display option.
...
Bug: 124967099
Change-Id: I7bf576759b3fa4f6ca617fbbd660541c12fd09ac
2019-09-16 16:24:59 -07:00
Hyunyoung Song
338e4ea7df
resolve merge conflicts of 057059665e to ub-launcher3-master
...
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: I8a92d1389acbefc5bf33ef9760373bfbf54d682b
2019-09-16 15:29:37 -07:00
Shashwat Razdan
ae084dafd9
Added AppLaunchEventsPlugin which relays app launch/dismiss events to
...
all connected plugins.
Listener for this plugin is added in PredictionAppTracker which receives
all app events.
Change-Id: Iec53d20272f6a587f78e3d84666efa4f02cf6962
2019-09-16 13:27:13 -07:00
Tony Wickham and android-build-merger
3ff1000632
Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev
...
am: fc520edbc6
Change-Id: I8e5b43a582bd243e21f02b5a83b931f4f277eb95
2019-09-13 14:29:31 -07:00
Sreyas and android-build-merger
04850948f2
Refactoring RecentsView to handle non-TaskViews
...
am: 78010c1958
Change-Id: Ibcc968518e53f805c2b8985f6e305503e7edf698
2019-09-12 15:11:52 -07:00
Sunny Goyal and android-build-merger
30d998c625
Merge "Adding support for building a "spring like animation" with precomputed values" into ub-launcher3-qt-qpr1-dev
...
am: 791dd73217
Change-Id: I1ecde4721df9895b0fb215f36a43d8cb85a392ef
2019-09-12 15:05:48 -07:00
Hyunyoung Song and android-build-merger
057059665e
When DeviceConfig/FeatureFlag value is different than the previous value, refresh icon cache
...
am: e17a699618
Change-Id: I5c2e54c069fc03172f471f9655cd8b09b5ac6dce
2019-09-12 15:05:19 -07:00
Sunny Goyal
3e3d759db2
Removing flag overrides. All flags should be defined as togglable flags instead.
...
Change-Id: Ia7b9ff84413096cd5b0c4a9a81a232019f2522d2
2019-09-12 10:17:14 -07:00
Tony Wickham and Android (Google) Code Review
fc520edbc6
Merge "Replace OnGlobalLayoutListener with StateListener to update predictions" into ub-launcher3-qt-qpr1-dev
2019-09-11 23:42:23 +00:00
Tony Wickham
51f2919815
Replace OnGlobalLayoutListener with StateListener to update predictions
...
Previously we were using OnGlobalLayoutListener, which is only called
when AllAppsContainerView or a child is re-laid out or visibility
changes to or from GONE. Since we no longer relayout when already
scrolled to the top, we need a better hook to check whether all apps has
changed visibility for the purpose of updating predictions.
Bug: 140823188
Change-Id: I7c4a0d94c529eb86b55729c75843c8b0bd673d8c
2019-09-11 14:41:52 -07:00
Sreyas
78010c1958
Refactoring RecentsView to handle non-TaskViews
...
Change-Id: I0bc28ef670a1dad9a3912ca5360c9bab18afd4b2
2019-09-11 14:07:26 -07:00
TreeHugger Robot and Android (Google) Code Review
791dd73217
Merge "Adding support for building a "spring like animation" with precomputed values" into ub-launcher3-qt-qpr1-dev
2019-09-11 20:16:19 +00:00
Hyunyoung Song
e17a699618
When DeviceConfig/FeatureFlag value is different than the previous
...
value, refresh icon cache
Bug: 135638690
Bug: 138964490
Test: manually toggled feature flag UI on/off
$ adb shell device_config put launcher APP_SEARCH_IMPROVEMENTS [true|false]
when launcher is in foreground and also when it is in the background
Afterwards, saw if "bank" would show BofA app or not
Change-Id: I98b62bd07b14a225168217d7eb9bfdfc7f74435d
2019-09-11 10:38:14 -07:00
Sunny Goyal
b1d7de25f8
Adding support for overlay and corresponding plugin to Launcher
...
Updating various task callbacks to handle overlays
Change-Id: I80077508ad35c31269c873f51f0105302a9e6a5d
2019-09-10 08:08:28 -07:00
Sunny Goyal
3600fb7777
Adding support for building a "spring like animation" with precomputed values
...
Bug: 138396187
Change-Id: Idba323090ecd9aca43c01414a32ab3b2e292e73e
2019-09-09 17:21:53 -07:00
Winson Chung and Android (Google) Code Review
478414a7c3
Merge changes I4532e429,I532645de into ub-launcher3-qt-future-dev
...
* changes:
Defer listening on widget host until after the state transition ends
Migrate to using DefaultDisplay
2019-09-09 21:39:18 +00:00
Miranda Kephart and android-build-merger
fad2f3734d
Merge "Add distance threshold for assistant gesture fling" into ub-launcher3-qt-qpr1-dev
...
am: 329cc8c53f
Change-Id: Ib1e4040010cf3919163e24971d2a368664bec1db
2019-09-09 14:22:47 -07:00
Tony Wickham and android-build-merger
0d37f05a12
Merge "Properly prevent All Apps relayouts by avoiding scrollToPosition" into ub-launcher3-qt-qpr1-dev
...
am: d785fc289c
Change-Id: I69738f5d9c1f77195f2f82f963958d3cc741e9af
2019-09-09 14:17:33 -07:00
Vadim Tryshev and android-build-merger
c698c0cdbb
Merge "Adding a test method to get a Launcher object when it becomes non-null" into ub-launcher3-qt-qpr1-dev
...
am: b34f951e7e
Change-Id: Id63a1df1aef2f35b0f6cdb0f8ab851163c8140c9
2019-09-09 14:17:20 -07:00
Miranda Kephart and Android (Google) Code Review
329cc8c53f
Merge "Add distance threshold for assistant gesture fling" into ub-launcher3-qt-qpr1-dev
2019-09-09 21:02:43 +00:00
Winson Chung
ef52876739
Defer listening on widget host until after the state transition ends
...
Bug: 140246642
Change-Id: I4532e4298f04ff5c6dea04ccda89320995cadb80
2019-09-09 10:24:53 -07:00
Winson Chung
13c1c2cd65
Migrate to using DefaultDisplay
...
- Remove extra binder calls to get the default display
Bug: 140633033
Change-Id: I532645deac101a6065d90484b87a67b67aa717f5
2019-09-09 10:21:28 -07:00
Jon Miranda
a87abbad31
resolve merge conflicts of 1bd96b1e96 to ub-launcher3-qt-future-dev
...
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: Ide6c914d4e69eb4fa70d6634780324cd45a21610
2019-09-06 11:35:34 -07:00
Tony Wickham and Android (Google) Code Review
d785fc289c
Merge "Properly prevent All Apps relayouts by avoiding scrollToPosition" into ub-launcher3-qt-qpr1-dev
2019-09-05 21:27:41 +00:00
vadimt
cf61e16a2c
Adding a test method to get a Launcher object when it becomes non-null
...
Change-Id: I1c56777c87827b5edf1c7f55ad9639321e598311
2019-09-04 19:02:54 -07:00
TreeHugger Robot and Android (Google) Code Review
1bd96b1e96
Merge "Update app open/close animations." into ub-launcher3-qt-qpr1-dev
2019-09-04 22:33:33 +00:00
Jon Miranda
9b78e190fa
Update app open/close animations.
...
- For app open, the icon text remains where it is and only the icon moves.
- Similarly for app close, the icon text remains where it is and fades in
with the rest of the other icons text.
- With this change, the original view is always "VISIBLE"
(if BubbleTextView/FolderIcon) but we hide certain elements.
Added video to bug.
Bug: 137200188
Bug: 139885365
Change-Id: I3d20c5f05bc7c0b9d052d8074ac3bfc21531c83d
Merged-In: I3d20c5f05bc7c0b9d052d8074ac3bfc21531c83d
2019-09-04 21:45:05 +00:00
Vadim Tryshev and android-build-merger
72fddba837
Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-dev
...
am: 846656f138
Change-Id: Ie40cc1d55d40ffefe6c1b2d3588b03ff92d2cb38
2019-09-04 12:37:40 -07:00
Vadim Tryshev and Android (Google) Code Review
846656f138
Merge "Enabling debug tracing for all UI tests" into ub-launcher3-qt-qpr1-dev
2019-09-04 17:52:11 +00:00
vadimt
0ce38af957
Enabling debug tracing for all UI tests
...
Change-Id: I434ee378baf35de955c8a589b8380e1751e4107a
2019-09-03 17:16:34 -07:00
Tony Wickham
bfdeda96e6
Properly prevent All Apps relayouts by avoiding scrollToPosition
...
Calling scrollToPosition on RecyclerView internally calls
requestLayout() (to cacluate where to scroll and then go there).
Therefore, we should avoid calling that whenever possible, especially
during transitions. In particular, we can optimize scrollToTop() to not
scrollToPosition() if we are already at the top.
This makes some other workarounds unnecessary, namely setting All Apps
to GONE during system gestures.
Test: Open an app, swipe up, ensure AllAppsRecyclerView doesn't get
onLayout(). If we had scrolled to an app first, we get one layout
in prepareRecentsUi(), but not during the transition.
Bug: 140308849
Change-Id: I62ee341bf5893c121cfc013cc6542559f79d2a42
2019-09-03 16:16:54 -07:00
Andy Wickham
90c16ace8a
Reduces padding of the Overview shelf in no button mode.
...
Before: https://screenshot.googleplex.com/iw6baTCfoy2.png
After: https://screenshot.googleplex.com/8CcsQvLhYDo.png
Desired: https://b.corp.google.com/action/issues/139551306/attachments/26925873?download=false
Test: Examined before and after padding and verified 3-button is unaffected.
Fixes: 139551306
Change-Id: Ia416399cf25e7c6c2fb8aa84ad20e7ad74dcd31b
(cherry picked from commit ddc9622e92 )
2019-09-03 22:05:20 +00:00
Tony Wickham and android-build-merger
4feff8ba95
Don't update all apps content visibility during home animation
...
am: 7310bb4b5c
Change-Id: I92382497e4444e2ca1d1951c44646bc5047a6f36
2019-08-30 16:22:51 -07:00
Tony Wickham
7310bb4b5c
Don't update all apps content visibility during home animation
...
We already set the all apps content visibility = GONE at the start of
the gesture to prevent relayouts, but when animating home we were
inadvertently changing it to INVISIBLE, causing a relayout and jank.
Bug: 140308849
Change-Id: I285746f8ac8f3f857282e22ebec8eebd0b98647f
2019-08-30 22:10:55 +00:00
Andy Wickham
ddc9622e92
Reduces padding of the Overview shelf in no button mode.
...
Before: https://screenshot.googleplex.com/iw6baTCfoy2.png
After: https://screenshot.googleplex.com/8CcsQvLhYDo.png
Desired: https://b.corp.google.com/action/issues/139551306/attachments/26925873?download=false
Test: Examined before and after padding and verified 3-button is unaffected.
Fixes: 139551306
Change-Id: Ia416399cf25e7c6c2fb8aa84ad20e7ad74dcd31b
2019-08-29 11:11:12 -07:00
Samuel Fufa
19b15701ce
Light QSB to Dark QSB transition lags
...
Test: Manual (slowmo video)
Bug:139893571
Change-Id: I652a1d9daf52b1a30643ba92f8ea06b68cef4cf0
2019-08-27 12:30:44 -07:00
Vinit Nayak and Android (Google) Code Review
b57c577669
Merge "Add unique id to trace logs through recents animations" into ub-launcher3-master
2019-08-26 22:55:01 +00:00
Vinit Nayak
9b26e63f90
Add unique id to trace logs through recents animations
...
Generate a 3 digit number and append it to
log statements here as well as in platform.
fixes: 134619041
Test: Inspected log output with adb shell dumpsys activity service TouchInteractionService
Change-Id: I52a76dd2950565b246384d7766fdede9e28f5bb9
2019-08-26 15:10:21 -07:00
vadimt and android-build-merger
0d6f41bef2
Saving screenshots for failures in NavigationModeSwitchRule
...
am: f13eaa0242
Change-Id: I9a3b4e93491a02263fd90640b3cc9d55aeb41703
2019-08-23 20:56:08 -07:00
vadimt and android-build-merger
7468bbd2d4
Adding debug tracing for All Apps appearing instead of Overview
...
am: 197ae725a0
Change-Id: Iab3642e2dcb4f766d490a88aa7a481a1117b98a3
2019-08-23 20:01:22 -07:00
Becky Qiu and android-build-merger
71959e59d2
Merge "Move swipe actions on container logging to west world." into ub-launcher3-qt-qpr1-dev
...
am: 6d0d8969f6
Change-Id: I2229ea7c878ac84b00110235df65ced2f9baf171
2019-08-23 20:01:05 -07:00
vadimt
f13eaa0242
Saving screenshots for failures in NavigationModeSwitchRule
...
Change-Id: I732076a5eb14b181f560024e2780e2012a81fd95
2019-08-23 14:18:32 -07:00
vadimt
197ae725a0
Adding debug tracing for All Apps appearing instead of Overview
...
Bug: 139941530
Change-Id: Ia9827c6edd48c559e9602e1e37de83293517ad5e
2019-08-23 12:11:00 -07:00
Becky Qiu
f0a014d7ff
Move swipe actions on container logging to west world.
...
Test: manual
Bug: 137777105
Log result for swiping in and out of -1 screen.
data {
elapsed_timestamp_nanos: 597609736235111
atom {
launcher_event {
action: SWIPE_LEFT
src_state: HOME
dst_state: HOME
is_swipe_up_enabled: true
}
}
}
data {
elapsed_timestamp_nanos: 597610569783111
atom {
launcher_event {
action: SWIPE_RIGHT
src_state: HOME
dst_state: HOME
is_swipe_up_enabled: true
}
}
}
Change-Id: Ic84d3c32d1c9f780f13ec5cd6320e9f1d610f018
2019-08-22 16:27:49 -07:00
Sunny Goyal
6fe3eec95c
Moving various common executors to a single location
...
Change-Id: I44bca49b8adb6fa22c3b48d10f674e42c28d792c
2019-08-20 14:36:17 -07:00
Tracy Zhou
4fa6f63ffd
Make sure that live tile overlay is added only once.
...
Users report seeing empty launcher. After adding some logging, live tile
overlay can be added twice and removed only once. I added some logic to
make sure that it can only be added once.
Test: manual
Fixes: 135864059
Change-Id: I9d3325c56e76654f1397cc65979b97a6c0a80aee
(cherry picked from commit d3ef57b4dd )
2019-08-20 18:16:28 +00:00