Commit Graph

10232 Commits

Author SHA1 Message Date
Sunny Goyal
de52876a2b Fixing sysui visibility changing multiple times on startup
> During startup shelftop is updated after all-apps, causing all-apps to
set the sysuiVisibility according to it's own UI

Bug: 156422012
Change-Id: Idee06249ad45946ed0a9dc84702510ad90a305f4
2020-06-10 19:13:36 -07:00
TreeHugger Robot
e34b183547 Merge "Add feature flag for majority ranking." into ub-launcher3-rvc-dev 2020-06-09 23:23:49 +00:00
Tracy Zhou
f917b640d0 Merge "Fix icons not rendering in folder migration" into ub-launcher3-rvc-dev 2020-06-09 22:59:31 +00:00
Jayaprakash Sundararaj
f4898452f7 Add feature flag for majority ranking.
Bug: 157907222
Change-Id: I72962c3c68559ce8d40ca4137e89b9cc2913825a
2020-06-09 15:50:58 -07:00
Tracy Zhou
1983faca2d Fix icons not rendering in folder migration
Fixes: 157813770
Test: manual

Change-Id: I68a2685482756a2b8afa65bf652b667972158a46
2020-06-09 14:40:17 -07:00
Samuel Fufa
25afca44c4 Merge "Work profile visual polish" into ub-launcher3-rvc-dev 2020-06-09 21:21:56 +00:00
Samuel Fufa
2e59b95024 Work profile visual polish
- Calculate work profile switch height and apply it as a padding to recyclerview instead of reading height from view.
- Add solid background to work_apps paused overlay for improved crossfade animation on pause/unpause
- Don't show work paused overlay text in landscape mode

Bug 151672365
Bug 153763804
Bug 151595687

Test: Manual
Change-Id: I6c14a8a1624455181d4998555bcc3ae2bb422efe
2020-06-09 14:17:47 -07:00
Hyunyoung Song
58c936c1a2 Merge "Guard logging behind a feature flag Bug: 158442037" into ub-launcher3-rvc-dev 2020-06-09 18:47:29 +00:00
Hyunyoung Song
3b1786ce77 Merge "Add FolderInfo label source / Add instance id to snapshot logging" into ub-launcher3-rvc-dev 2020-06-09 18:26:07 +00:00
Sunny Goyal
28daf4a76f Removing multiple system RPCs to packageMAnager and userManager from UI thread
Bug: 158427348
Change-Id: Ibb1837fe932000b69cf5683bb01727fc32abca91
2020-06-08 17:56:36 -07:00
Hyunyoung Song
90c5873f50 Add FolderInfo label source / Add instance id to snapshot logging
Bug: 155719741
Change-Id: I6611d67bc7a940b6e7cf80ec788406c9f2499318
2020-06-08 17:48:51 -07:00
Jonathan Miranda
ee4a2fe698 Merge "Add westworld logging when user reaches All Apps education view." into ub-launcher3-rvc-dev 2020-06-08 20:49:26 +00:00
Jon Miranda
472b5d5298 Add westworld logging when user reaches All Apps education view.
Bug: 158333305
Change-Id: I324979640ead3670f4edc57fd61eba2585d33628
2020-06-08 10:27:54 -07:00
Hyunyoung Song
97c5dacf87 Guard logging behind a feature flag
Bug: 158442037

Change-Id: Idcfc519037f975542b7ed91e411b008f32d41dd5
2020-06-08 01:58:19 -07:00
Hyunyoung Song
f26c7930de Fix double logging for wallpaper settings icon activation
Bug: 137957099

Change-Id: Id95fa026c1e6f177ffbb03e99cc18ef03e9a37b5
2020-06-07 22:03:06 -07:00
TreeHugger Robot
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
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
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
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
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
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
441e5b76b9 Merge "Log tap on pause app." into ub-launcher3-rvc-dev 2020-06-04 19:09:08 +00:00
TreeHugger Robot
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
ad6a4dceea Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-04 01:30:22 +00:00
Tracy Zhou
ef474d2959 Merge "Improve V2 grid migration algorithm" into ub-launcher3-rvc-dev 2020-06-03 22:52:36 +00:00
TreeHugger Robot
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
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
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
34413df66d Merge "Adds Overview Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-02 21:28:21 +00:00
TreeHugger Robot
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
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