TreeHugger Robot
4bb65ff516
Merge "Search UI clean up" into ub-launcher3-master
2020-10-13 00:07:36 +00:00
Samuel Fufa
2afcab804b
Search UI clean up
...
- Resolve spacing issue when work profile is installed
- Cache play icons and use icon shape
- Only draw focus indicator for the first result
Bug: 170487752
Bug: 170665892
Change-Id: I864d2e796786637132e127ef9b418c0a76c74d6e
2020-10-12 16:19:41 -07:00
Riddle Hsu
979da64d82
Add app start source info of apps launched from launcher
...
Bug: 166614700
Test: Enable statsd log: "adb shell cmd stats print-logs"
adb logcat | grep statsd | grep "(48)"
The line may contain 0x100000->1[I] 0x110000->10[I]
that means 1=from launcher and 10=latency 10ms.
Change-Id: Iddaff7066b66e241ba58ec87129ddbe2c531dc7e
(cherry picked from commit 7bdf3574a3 )
2020-10-09 17:21:38 +00:00
Samuel Fufa
692d2109a6
invalidate itemDecoration on predictedRow focus draw
...
Change-Id: I66c731f00ae1c1292c51ff281957f05fd2d70dfa
2020-10-08 18:42:48 -07:00
Samuel Fufa
8d5b118060
Revert PredictionRow shuoldDraw check
...
+ Show Rounded play result icons
Bug: 168805872
Test: Manual
Change-Id: I663c7f7ca1f1ac072e5e9c441deabef7c3fbd97b
2020-10-08 17:49:22 -07:00
Hilary Huo
86f8df6cf9
Merge "[pixel-search] add escape hatch" into ub-launcher3-master
2020-10-08 18:43:51 +00:00
Samuel Fufa
4d19854b25
Merge "Search UI cleanup" into ub-launcher3-master
2020-10-08 18:40:56 +00:00
Hilary Huo
16045060c3
[pixel-search] add escape hatch
...
Change-Id: I33ffea1fc0859564955380d7d1db317293d1a2cb
2020-10-08 10:27:13 -07:00
Andy Wickham
0827e1e32a
Merge "Adds feature flag for BC Smartspace." into ub-launcher3-master
2020-10-08 16:53:29 +00:00
Samuel Fufa
ab9ad20be6
Search UI cleanup
...
- offset all apps header padding with search input margin
- avoid check shouldDraw check on HeaderRow. (race condition)
Bug: 170263425
Change-Id: I11a1fbb448aa6afd18ec0984af9bb8b1d7600f69
2020-10-07 15:22:15 -07:00
Andy Wickham
68d7a6e5b2
Adds feature flag for BC Smartspace.
...
Change-Id: Iaf9fb7507d0ccd004a4e00188c75dadd6a059246
2020-10-07 14:27:17 -07:00
Samuel Fufa
4b7f38b8fa
Align fallback result query with result text
...
screenshot: https://screenshot.googleplex.com/6Daj5vdmz2jmznX
bug: 169438169
test: Manual
Change-Id: Ie621ed3c834aec5e9467607da4f685d05d152183
2020-10-07 10:31:06 -07:00
TreeHugger Robot
8a6f3e40d0
Merge "Update Search UI" into ub-launcher3-master
2020-10-06 22:49:40 +00:00
Samuel Fufa
565ed4ff69
Update Search UI
...
[preview attached to bug]
Bug: 169438169
Test: Manual
Change-Id: I085f3dd38ac373c1afab82a637ec08715a6e0cc5
2020-10-06 14:44:53 -07:00
Jayaprakash Sundararaj
e29a9f7961
Merge "[Search] Add logging to People and badding as to icons." into ub-launcher3-master
2020-10-06 21:00:20 +00:00
jayaprakashs
be17bdcd22
[Search] Add logging to People and badding as to icons.
...
Change-Id: I65948a2faca436216a94aa46139d425b8eade827
2020-10-06 13:00:33 -07:00
Schneider Victor-tulias
3cf264f498
Prevent hotseat updates if it is visible to the user.
...
Test: manual
Fixes: 168653219
Changing app icons under the user's finger could be disruptive. Added a checks for whether the hotseatand all apps predictions are visible and callbacks to update them when they become hidden.
Change-Id: Ib9e6e904e9f662ecfaeea6a2fe21d1d81ba39b96
2020-10-06 11:05:02 -04:00
TreeHugger Robot
83ce7c0b5e
Merge "Action icon should be used as a badge instead of main icon" into ub-launcher3-master
2020-10-05 19:18:39 +00:00
TreeHugger Robot
470403eb58
Merge "Remove widgets that no longer fit the workspace in their current spans." into ub-launcher3-master
2020-10-05 18:29:54 +00:00
TreeHugger Robot
a5130482ae
Merge "Suggest result should launch Bug: 169980192" into ub-launcher3-master
2020-10-05 17:14:21 +00:00
Hyunyoung Song
7fcd74abb3
Suggest result should launch
...
Bug: 169980192
Change-Id: I762245a5cc4740d093c9cb3b44a508e9e3f2b763
2020-10-02 19:20:11 -07:00
TreeHugger Robot
931bce3697
Merge "Moving some initializations to the background thread" into ub-launcher3-master
2020-10-02 19:19:50 +00:00
Sunny Goyal
c935ba6b8a
Merge "Adding stats log for add item flow" into ub-launcher3-master
2020-10-02 18:26:06 +00:00
Sunny Goyal
733e3c609b
Moving some initializations to the background thread
...
HandlerThread.getLooper blocks until the thread is ready. Instead
moving all looper dependency to the new thread itself.
Change-Id: I240e8c56b855a991433a7fe93875059e6dab146b
2020-10-02 10:58:27 -07:00
Sunny Goyal
58804ac525
Adding stats log for add item flow
...
Bug: 169385783
Bug: 168167693
Change-Id: I37395f1b118727f67e0f14c02f945b8213b165c8
2020-10-02 10:47:31 -07:00
Hilary Huo
a4111f2500
Merge "[pixel-search] Bug fix: automatically launch screenshot + center&crop remoteaction icon" into ub-launcher3-master
2020-10-02 17:41:22 +00:00
Hyunyoung Song
d6b1f3c086
Action icon should be used as a badge instead of main icon
...
Bug: 169796517
Change-Id: I3f07fdc2ae6e1af463701f942c26c3ca5d836ee2
2020-10-02 00:51:33 -07:00
Hilary Huo
f6b72c4ad1
[pixel-search] Bug fix: automatically launch screenshot + center&crop remoteaction icon
...
Bug: b/169330678
Change-Id: Id5f8a0ce6d68f7ed9e4d1ff258ee3772229eb63b
2020-10-01 12:26:48 -07:00
Jon Miranda
1d7ed30dba
Remove widgets that no longer fit the workspace in their current spans.
...
This can happen when display size changes.
We compare span sizes of widget in the db to the min sizes of the widget
in the current display size. If the widget can no longer fit in its existing
spans, we remove it.
Also update test widgets to have minWidth/minHeight of 1dp. This ensures that
the spanX, spanY, min* values remain consistent between different test devices.
Bug: 168818961
Change-Id: I723372e4582658f78b2f23ced9073cb77977a6b8
2020-09-30 16:19:21 -07:00
Schneider Victor-tulias
2ec0ade64a
Add sandbox mode to gesture tutorial settings.
...
Test: manual
Added a Sandbox mode tutorial fragment and controller. This fragment allows the user to try all the gesture commands and receive feedback, whether the gesture was successful or not.
Preview: https://drive.google.com/file/d/1Qmn71ZHMOrv2XjUngb6S4W5jOaBIvF1_/view?usp=sharing
Change-Id: I7d28ce25daa38fa6d05b18d43d02b77c1fc8a264
2020-09-30 15:27:27 -07:00
Jon Miranda
5e315bc7a9
Draw BubbleTextView drawable behind ClipIconView during app close animation.
...
The BubbleTextView drawable has built in shadows.
Prior to this, we waited for the FloatingIconView to finish
animating into place before fading in the BubbleTextView behind it.
We did this to prevent the shadow from blinking in.
Now that we've refactored FloatingIconView & ClipIconView,
we draw the BubbleTextView behind the ClipIconView so that the shadow is
revealed when the icon finishes clipping to its final shape and it
no longer has to be faded in.
Bug: 168608912
Change-Id: Ic0809f74ecbbec2f6e7caf7eca2fb560a8a02dec
2020-09-30 12:07:32 -07:00
Hilary Huo
24c81ad7b5
Merge "[pixel-search] Change Nasa actions title name" into ub-launcher3-master
2020-09-29 23:32:33 +00:00
Schneider Victor-tulias
f8b7011264
Merge "Make the workspace popup menu items statically ordered." into ub-launcher3-master
2020-09-29 23:07:20 +00:00
Hilary Huo
de9a5e109d
[pixel-search] Change Nasa actions title name
...
Change-Id: I3e44513d797d867b97664ff2ee46a8e33d020e99
2020-09-29 15:31:04 -07:00
Hyunyoung Song
00524e7b86
Merge "Thumbnail/Suggest view type support remote action" into ub-launcher3-master
2020-09-29 21:37:45 +00:00
Jonathan Miranda
17dc5a4414
Merge "Revert "Remove widgets that no longer fit the workspace in their current spans."" into ub-launcher3-master
2020-09-29 16:16:19 +00:00
Hyunyoung Song
f271139682
Thumbnail/Suggest view type support remote action
...
Bug: 169330678
Change-Id: I629d3e6b1622bf71e0174eb2489e976ef98875ad
2020-09-29 02:03:48 -07:00
Jayaprakash Sundararaj
49876bbe7e
Merge "[Search] [People] Pass intent to People view instead of URI." into ub-launcher3-master
2020-09-29 03:59:49 +00:00
jayaprakashs
b7487f867c
[Search] [People] Pass intent to People view instead of URI.
...
Tested:
On Phone
Bug: 169294622
Change-Id: I4e379a80a256e018761af2925e640745456faeec
2020-09-29 02:55:00 +00:00
Jonathan Miranda
9fcb45f872
Revert "Remove widgets that no longer fit the workspace in their current spans."
...
This reverts commit bf6e8ffbf0 .
Reason for revert: broken tests
Bug: 141313472
Change-Id: I1e93e21e2c6618dea6cd099a46c9b9d2ab3ab81c
2020-09-29 02:08:43 +00:00
TreeHugger Robot
cc7b860566
Merge "Fixing lock during RecentsModel initialization" into ub-launcher3-master
2020-09-28 19:32:07 +00:00
Sunny Goyal
10759887c2
Fixing lock during RecentsModel initialization
...
HandlerThread.getLooper blocks the current thread until.
the final thread is initialized. Updating RecentsModel to
use an executor instead of a handler thread to avoid this.
Change-Id: I3b2e82a375ea65bea1526af4a32c6a2488102541
2020-09-28 08:57:08 -07:00
Hyunyoung Song
95786e077d
Good riddance UserEventDispatcher
...
Bug: 165675920
Bug: 161381246
TL;DR;;
- nano -> lite proto
- add all the missing logs to WW
- pin item related logging fix
- Removed logging for assistant
sgrep "com.android.launcher3.userevent.nano." | cut -f1 -d: | xargs sed -i -e 's/userevent\.nano\./userevent\./g'
Change-Id: Ie2a49fdd891cacbd7ef40a1dc9e41ff0574c7517
2020-09-27 13:41:49 -07:00
TreeHugger Robot
b47551153a
Merge "Allow touches on Workspace during transition from Overview" into ub-launcher3-master
2020-09-25 23:16:51 +00:00
Schneider Victor-tulias
1b17d6be20
Make the workspace popup menu items statically ordered.
...
Test: manual
Fixes: 160190991.
Reordering the workspace's popup menu items breaks muscle memory of getting to the wallpaper and home settings. Added ArrowPopup#show and refactored ArrowPopup#reorderAndShow to allow more flexbility.
Change-Id: I3fa327d08488a52312c86769bb9a065ccacb17aa
2020-09-25 16:03:05 -07:00
TreeHugger Robot
34fbea6f26
Merge "Make SPAN_MULTIPLIER public Bug: 169294860" into ub-launcher3-master
2020-09-25 03:59:56 +00:00
Hyunyoung Song
ec7b1ee73b
Make SPAN_MULTIPLIER public
...
Bug: 169294860
Change-Id: I6c32689c390de38f230cff4062889dd560afe6c3
2020-09-24 20:23:06 -07:00
Samuel Fufa
35879a3fdb
Merge "Support Remote actions" into ub-launcher3-master
2020-09-24 22:31:08 +00:00
Samuel Fufa
02be2a43f5
Support Remote actions
...
Bug: 168846477
Test: Manual
Change-Id: I7b9dc96bc7a8ccb25ccb4b7135880768256f1ef3
2020-09-24 14:28:49 -07:00
TreeHugger Robot
b2507acec9
Merge "Adds ability to use LauncherPreviewRenderer in Sandbox." into ub-launcher3-master
2020-09-24 20:09:32 +00:00