TreeHugger Robot
a5130482ae
Merge "Suggest result should launch Bug: 169980192" into ub-launcher3-master
2020-10-05 17:14:21 +00:00
Alistair Delva
087a9e39b6
Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ..."
...
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert submission 12738409-merge_ub-launcher3-master_6877130
Reason for revert: Introduced crashes to global presubmit
Reverted Changes:
I624658ce6:Merge commit '8d14dbe041199d611839140f1c9285fd4174...
Iccd2f1e3a:Merging from ub-launcher3-master @ build 6877130
I791d64951:Merging from ub-launcher3-master @ build 6877130
Icdd32ab01:Merging from ub-launcher3-master @ build 6877130
Bug: 169963211
Change-Id: I77a4ae59e823147beae8dd7cb9b54ccdace2c7f4
2020-10-05 14:46:26 +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
Matt Casey
e984f90835
Merge "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' into merge_ub-launcher3-master_6877130"
2020-10-02 16:22:47 +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
Matt Casey
49a94be109
Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' into merge_ub-launcher3-master_6877130
...
Change-Id: I624658ce682b55042a12faacd4cf0cfd5d3a9a56
2020-10-01 18:55:38 +00: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
Riddle Hsu
7bdf3574a3
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
2020-09-30 00:53:56 +08: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
Tony Wickham
69f9cae810
Remove CurveProperties#pageParentScale
...
Test: Set TaskView#EDGE_SCALE_DOWN_FACTOR = 0.2f, then swipe
down on the centermost TaskView; ensure it fills the screen.
Alternatively, touch and hold the nav bar and ensure there is
no jump in scale on the app window.
Fixes: 169259407
Change-Id: Ib3cfba6ebafbcb90de9c6b1ab79f53605d995321
2020-09-23 17:39:07 -07:00
Jonathan Miranda
006d2a3d6d
Merge "Remove widgets that no longer fit the workspace in their current spans." into ub-launcher3-master
2020-09-23 22:41:28 +00:00
Schneider Victor-tulias
350b462f24
Animate icon update from loading state.
...
Test: manual
Fixing b/129983531. Having app icons pop in without any animation from a solid placeholder color can look janky. Added a sequential fade in, fade out animation.
Preview: https://drive.google.com/file/d/11NgEja7vzm3f3aH3WbEQljUWGKuuK00_/view?usp=sharing
Change-Id: If77e8f480b02d5b7d29f89afa44450c83a68a276
2020-09-23 14:08:15 -07:00
Jon Miranda
bf6e8ffbf0
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.
Bug: 168818961
Change-Id: I6b095d2eeaeda95bfa91baec89cb54660695b60b
2020-09-23 12:15:43 -07:00
Samuel Fufa
f01064953b
Track search results with position and search Identifier
...
Bug: 169087008
Test: Manual
Change-Id: I54c74093b90e5aea03a7810f55fcc32f0ddf8dda
2020-09-23 01:04:26 -07:00
Samuel Fufa
99d6c2ff0d
Update hero app shortcuts with icon
...
- set appropriate click handler for recycled app icons
Bug: 168810843
Bug: 168733655
Test: Manual
Change-Id: Ic644deb4ac6c7a1cb9a2c3b75f7e2ac86380a9d0
2020-09-22 22:48:49 -07:00
TreeHugger Robot
33d0701048
Merge "Additional logs to resolve flaky work profile" into ub-launcher3-master
2020-09-22 20:32:46 +00:00
TreeHugger Robot
0acccc8150
Merge "Moving package installer initialization to worker thread" into ub-launcher3-master
2020-09-22 20:21:41 +00:00
Hyunyoung Song
e62c6edc5e
Merge "Add thumbnail viewtype to SearchTarget Bug: 168825522" into ub-launcher3-master
2020-09-22 20:12:58 +00:00
Samuel Fufa
e806f95349
Additional logs to resolve flaky work profile
...
Bug: 159671700
Change-Id: I9bed08ef89b06f79ee1e6a4140a880eeeb76ee75
2020-09-22 12:57:45 -07:00
Sunny Goyal
573b9ca9ad
Moving package installer initialization to worker thread
...
Bug: 169002215
Change-Id: Ie7b9a1eb27b634455e3d43da411037642efd0534
2020-09-22 12:14:03 -07:00
Hyunyoung Song
b3a0f1ffc0
Add thumbnail viewtype to SearchTarget
...
Bug: 168825522
Change-Id: I012665ef5e5ac66f37f9bdb37d55cc47726b29a9
2020-09-22 10:54:33 -07:00
Wesley.CW Wang
e5cbe2fc9a
Add intent extra when launching WallpaperPicker from Launcher am: 0f5c9dbb6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12536777
Change-Id: I83bd42ebc449e9e91c73e1c1228ca81b487637ed
2020-09-22 13:52:18 +00:00
Wesley.CW Wang
0f5c9dbb6f
Add intent extra when launching WallpaperPicker from Launcher
...
- Add extra to the intent to help WallpaperPicker log the launch
source
- design doc: go/log-wppg-launch-source
Bug: 154781896
Test: manually
Change-Id: Ife774866b06251c01f28f72555c3dcc844fdc051
2020-09-22 13:13:35 +00:00
Schneider Victor-tulias
66dbac08a3
Merge "Add cross-fade animation to launcher for dark/light theme changes." into ub-launcher3-master
2020-09-21 23:52:36 +00:00