Tony Wickham
9459f3101f
Don't reset RecentsView in onIdpChanged()
...
Resetting unloads visible task data and thus will leave recents
blank if overview state is enabled. Instead, unload and reload
visible task data to take new icon shape into account.
(The reason we're getting onIdpChanged() on nav bar mode change
is because the change in nav bar height causes the computed icon
size to change very slightly.)
Also fix InvariantDeviceProfile copy constructor by copying
iconBitmapSize.
Test:
- Change between 0 button and 3 button nav modes, verify recents
doesn't appear blank
- Change icon shape in Styles and Wallpapers and go to recents,
verify icon shape is reflected in task icons
Bug: 156354328
Change-Id: Ife29f51e85814ff483d055005fa2645135d5ec3d
2020-06-15 14:02:12 -05:00
TreeHugger Robot and Android (Google) Code Review
f7c768c7db
Merge "Disabled app icon Visuals" into ub-launcher3-rvc-dev
2020-06-06 18:58:15 +00:00
Samuel Fufa
61bc63a6a4
Disabled app icon Visuals
...
Bug: 154855908
Test: Manual
Change-Id: I58c75ed51426ceb4a09b608ee77636c803955025
2020-06-05 17:35:00 -07:00
Hyunyoung Song and Android (Google) Code Review
e12baa4ba1
Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-dev
2020-06-05 21:23:47 +00:00
Hyunyoung Song
c59d7df827
Migrate QSB logging to WW
...
Bug: 154717227
Change-Id: I175245c0ce9afd8187cec92e3ba80999ed87b1af
2020-06-05 11:36:10 -07:00
TreeHugger Robot and Android (Google) Code Review
5a15fab419
Merge "Log tap on dot-notifications on both app icon and deep shortcuts." into ub-launcher3-rvc-dev
2020-06-05 17:56:58 +00:00
TreeHugger Robot and Android (Google) Code Review
5613cd6327
Merge "Allowing Launcher to draw behind cutouts" into ub-launcher3-rvc-dev
2020-06-05 17:31:09 +00:00
thiruram
3cb5592c84
Log tap on dot-notifications on both app icon and deep shortcuts.
...
Bug: 157765763
Sample Log: https://paste.googleplex.com/6354213825150976
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/ecVIR0vyJ2thQwLbUL64Ar
Change-Id: I6e1ed381d551044a1ad94b72b3f431223a888a72
2020-06-05 17:19:29 +00:00
TreeHugger Robot and Android (Google) Code Review
488044fc2e
Merge "Allowing ListenerView intercept events in system areas" into ub-launcher3-rvc-dev
2020-06-05 16:36:38 +00:00
Sunny Goyal
786940ae93
Allowing Launcher to draw behind cutouts
...
> Launcher uses realSize, availableSize and insets to calculate
various layout values. Without drawing behind cutouts, these values
are not consistent (insets + availableSize != realSize) leading to
jumps in layouts.
> Removing fake black bars in low-ram devices to avoid inconsistent
insets.
> Fixing various layouts not taking lert/right insets into account.
Bug: 156268804
Change-Id: I8441db8a468b08a65b57b932050b5b4b37313966
2020-06-05 00:25:58 -07:00
thiruram
11cb2e469b
Log task pinning.
...
Bug: 158222725
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/YB77yNwmKGXX0LPqpcARD
Sample Log: https://paste.googleplex.com/5486164561625088
Change-Id: I2ba8732369a1fd01b046d2bf89e465c7287b599a
2020-06-04 16:22:45 -07:00
TreeHugger Robot and Android (Google) Code Review
f0f3fb2cbd
Merge "Fixing animation jittering during swipe-up" into ub-launcher3-rvc-dev
2020-06-04 22:00:48 +00:00
vadimt
34cc5f45d0
Allowing ListenerView intercept events in system areas
...
See the discussion in thje bug
Bug: 156044202
Change-Id: I68b3826602250ef163b96be95d80b98691456443
2020-06-04 13:39:25 -07:00
TreeHugger Robot and Android (Google) Code Review
441e5b76b9
Merge "Log tap on pause app." into ub-launcher3-rvc-dev
2020-06-04 19:09:08 +00:00
TreeHugger Robot and Android (Google) Code Review
7a41d1e909
Merge "Log tap on app info within task menu." into ub-launcher3-rvc-dev
2020-06-04 19:09:05 +00:00
Andy Wickham and Android (Google) Code Review
ad6a4dceea
Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev
2020-06-04 01:30:22 +00:00
Tracy Zhou and Android (Google) Code Review
ef474d2959
Merge "Improve V2 grid migration algorithm" into ub-launcher3-rvc-dev
2020-06-03 22:52:36 +00:00
TreeHugger Robot and Android (Google) Code Review
9cab0dd837
Merge "Make "Don't suggest app" default True" into ub-launcher3-rvc-dev
2020-06-03 22:29:50 +00:00
Tracy Zhou
b48e289e63
Improve V2 grid migration algorithm
...
- Reset next X when finding the next available space for placement
- Cache icons by screen id in a map so that we don't need to load it each time
- Update tests accordingly
Test: Manual and unit test
Fixes: 155828336
Change-Id: I848775725a624b7a62154224c0745cd680d2e5f0
2020-06-03 15:19:11 -07:00
TreeHugger Robot and Android (Google) Code Review
cfb9e15af9
Merge "Only animating QSB if it is visible when going home" into ub-launcher3-rvc-dev
2020-06-03 21:49:12 +00:00
TreeHugger Robot and Android (Google) Code Review
9f365cb782
Merge "Restore hotseat when user turns off suggestions immediately after migration" into ub-launcher3-rvc-dev
2020-06-03 20:56:24 +00:00
Samuel Fufa
f667a1352d
Restore hotseat when user turns off suggestions immediately after migration
...
- Creates a backup table `hybrid_hotseat_restore` and copies current workspace layout before hotseat migration
- restores to back up when user turns off suggestions and launcher receives empty predicted items
- deletes hybrid_hotseat_restore table if there's a layout change
Test: Manual
Bug: 157688471
Change-Id: Iaf7ddb33799493d36dbcd12408b57224162221d9
2020-06-03 13:15:21 -07:00
Sunny Goyal
f665787d0d
Only animating QSB if it is visible when going home
...
Bug: 154863593
Change-Id: Icee925578985639e1117ff624a422082123bea1e
2020-06-03 13:11:57 -07:00
thiruram
377debe4f1
Log tap on pause app.
...
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/FaK9EfH884yqKCPKUSWTw
Log : https://paste.googleplex.com/5492235632115712
Bug: 157770913
Change-Id: I08bfc28b6fd4eb987692fb36835d94f40f3216af
2020-06-03 11:31:47 -07:00
thiruram
a00bcf326c
Log tap on app info within task menu.
...
Override TaskShortcutFactory.dummyInfo to logs 'task -> app info' as TaskEvent and 'app icon -> app info' as AppEvent.
Bug: 157770913
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.j2cziephk9fy
Change-Id: I448a489fcc93324f6082eba2857644feb5d6bca3
2020-06-03 10:55:39 -07:00
thiruram
b812b3ff60
Log tapping on split screen & free form icons within task menu.
...
Bug: 157770913
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.4hmzxwn1efy
Change-Id: Id98dccb9452af7be20f636410d886dc8aeaa6bd1
2020-06-03 10:09:29 -07:00
thiruram
9752dedd71
Logs tap or longpress on task icon.
...
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.psxq3ooyppff
Bug: 157770913
Change-Id: I021b07fa8b3953a0f9a5e5ad9e4ee1c55d98d836
2020-06-03 17:04:48 +00:00
Andy Wickham
1a5795d1fe
Adds Assistant Sandbox tutorial.
...
Demo: https://drive.google.com/open?id=1onivF9qKdgJeUG2ROkQBxcgi-l0VfC4f
Fixes: 157824552
Change-Id: Ia0e5f46b39e3f06feed2f7e175ab7861e9d51a96
2020-06-02 14:38:45 -07:00
TreeHugger Robot and Android (Google) Code Review
34413df66d
Merge "Adds Overview Sandbox tutorial." into ub-launcher3-rvc-dev
2020-06-02 21:28:21 +00:00
TreeHugger Robot and Android (Google) Code Review
5bae2f4af1
Merge "Logging for swiping to home not working" into ub-launcher3-rvc-dev
2020-06-02 21:17:50 +00:00
Andy Wickham
fad8a87773
Adds Overview Sandbox tutorial.
...
Extracts fake task view animation logic to
SwipeUpGestureTutorialController, which
Home and Overview controllers extend.
Fixes: 157945497
Change-Id: Ibd1c129c57e9bee8db62baae455ca1bd9df114c7
2020-06-02 13:58:27 -07:00
vadimt
568ac00832
Logging for swiping to home not working
...
Bug: 158017601
Change-Id: Ibe92a7f07a4eb880b7b54b486236ca90e74353f7
2020-06-02 13:20:10 -07:00
TreeHugger Robot and Android (Google) Code Review
62382c3f95
Merge "Update home to overview depth interpolator to match other motion" into ub-launcher3-rvc-dev
2020-06-02 20:18:01 +00:00
Sunny Goyal
341fa84c5e
Fixing animation jittering during swipe-up
...
AnimatorPlaybackController was using setCurrentPlayTime to control animation,
which converts progress (float) to duration (long) causing the progress to
loose accuracy.
Instead calling setCurrentFraction(float) on the target animation.
Bug: 155164803
Change-Id: I3e4c93c5a75a9ba16e80adee97229c974ffc86b1
2020-06-01 17:55:25 -07:00
thiruram
b91480e3c7
Add app launch event for tap on shortcut in shortcut container.
...
Bug: 157765763
Change-Id: I769eb81ccabc96ad1c6c4c3d53ff89a8a744c3e0
2020-06-01 16:38:36 -07:00
thiruram
5f1274c863
Log tap on widget and appinfo system icons within ShortcutContainer.
...
Bug: 157765763
Change-Id: Id417728d27678cce073ff36d24b129c4435dcbe5
2020-06-01 21:56:12 +00:00
thiruram
63bf8eedf9
Add WW log for drag events from longpress popup window.
...
Bug: 157765763
Sample Log: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.368csp9y1pwc
Change-Id: I73024f2c8010e77b6f89829fda64130f54ff81f1
2020-06-01 21:55:25 +00:00
Jon Miranda
7772fcde47
Fix bug where font size (etc.) doesn't change after changing display settings.
...
The metrics we get from Display#getMetrics does not change regardless of
what the new configuration is (we would expect the scaledDensity to change).
Documentation shows that Display#getMetrics is deprecated in R.
Using guidance from b/154665987#comment14 we get the metrics from the derived
context.
Bug: 156141463
Change-Id: I25e5f2c13f94e0471111f6c895694947998e3222
2020-06-01 14:08:16 -07:00
Tony Wickham
10c2b4f9d9
Update home to overview depth interpolator to match other motion
...
Overview comes in and workspace goes out at overshoot(1.2), so
the wallpaper depth/blur should match that speed.
Test: go to overview from home in 3 button or 0 button mode,
ensure wallpaper scales down at the same rate as other elements
Bug: 154637581
Change-Id: I03254fa3fdf19f468852bed8aab7ba21203c429a
2020-06-01 14:36:46 -05:00
Hyunyoung Song and Android (Google) Code Review
2911c56a80
Merge "Migrate launcher home settings button tap/longpress logging to WW" into ub-launcher3-rvc-dev
2020-06-01 18:08:39 +00:00
Jon Miranda
10a6ed86eb
More logging for pause non-detection
...
Bug: 156044202
Change-Id: I68d6febf4c201c2fea41c7e24600dcc2c54a680a
2020-06-01 09:39:13 -07:00
TreeHugger Robot and Android (Google) Code Review
291f393b17
Merge "More logging for pause non-detection" into ub-launcher3-rvc-dev
2020-05-30 03:20:50 +00:00
Jon Miranda
77d8903f4a
More logging for pause non-detection
...
Bug: 156044202
Change-Id: I0831735aa743360c16e1f940c30875f32432fec5
2020-05-29 19:43:52 -07:00
Hyunyoung Song
75dedacfc4
When tap on empty string edittext, and suggestion is made, select all the string
...
Bug: 157771174
Change-Id: I4a274333d897693bc214d50edcea30cf012ce859
2020-05-29 17:36:40 -07:00
Hyunyoung Song
b117a9221c
Migrate launcher home settings button tap/longpress logging to WW
...
Bug: 157777128
Change-Id: Ic88811efc9aef8f38a0e7e5ae79e3b35236c6663
2020-05-29 17:03:22 -07:00
Samuel Fufa
d811fe19a7
Make "Don't suggest app" default True
...
Bug: 157011277
Change-Id: I84ab3502ae18d28e3108e9d10a24a08f55dcaff3
2020-05-29 16:08:57 -07:00
TreeHugger Robot and Android (Google) Code Review
bc374cf7f2
Merge "Fix all apps alpha applying twice" into ub-launcher3-rvc-dev
2020-05-29 21:25:54 +00:00
TreeHugger Robot and Android (Google) Code Review
aaac3f1519
Merge "Fixing incorrect taskView size in multiwindow-landscape" into ub-launcher3-rvc-dev
2020-05-29 20:00:31 +00:00
Tracy Zhou and Android (Google) Code Review
c577bb8425
Merge "Support predicted icons in preview" into ub-launcher3-rvc-dev
2020-05-29 18:06:23 +00:00
Tracy Zhou
bc305fc7fe
Support predicted icons in preview
...
Fixes: 152789575
Test: https://screenshot.googleplex.com/r3AtHp3TAh0
Change-Id: I22f7ee2a69f2df12ade16f50bf455651dbfce597
2020-05-29 09:58:01 -07:00