Commit Graph

3204 Commits

Author SHA1 Message Date
TreeHugger Robot 7784be33c5 Merge "Adding tooltip for Select button." into ub-launcher3-rvc-dev am: 8449aeaf6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11818768

Change-Id: Iddf677b95e4e8317b656d25a8497632bbce91890
2020-06-11 21:18:51 +00:00
Sreyas da727bbb98 Adding tooltip for Select button.
Change-Id: I3a09d20b6dd26e81b8a010e2d2da52c52408e845
2020-06-11 13:29:37 -07:00
TreeHugger Robot ee67acfc3c Merge "Show discovery tip for hybrid hotseat" into ub-launcher3-rvc-dev am: 743e25e2d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11638182

Change-Id: I3cc06fc4989a636139bcce2d8c22c9136ee419ad
2020-06-10 23:23:56 +00:00
Samuel Fufa 5b2da14e72 Show discovery tip for hybrid hotseat
Doc: go/hybrid-hotseat-tips

Issue 157683315: for fully populated hotseat, count returns to home screen and show discovery tip if Tip action was not tapped.
Issue 158301717: Don't use cached items if client has predicted items.

Test: Manual
Change-Id: I4747a1148caa62a6262fb6592d5185bdf216ede6
2020-06-10 15:12:55 -07:00
Samuel Fufa f0e704f741 Merge "Work profile visual polish" into ub-launcher3-rvc-dev am: 25afca44c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11811209

Change-Id: I27d730ea38833534d58972135dcc85ac350b2a5d
2020-06-09 21:34:58 +00: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
TreeHugger Robot f3547f5622 Merge "Disabled app icon Visuals" into ub-launcher3-rvc-dev am: f7c768c7db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758163

Change-Id: If3ef29c7c32cdd2278e5292fd1c7668c31777635
2020-06-06 19:14:55 +00: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
TreeHugger Robot 324eea68f6 Merge "Allowing Launcher to draw behind cutouts" into ub-launcher3-rvc-dev am: 5613cd6327
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11702348

Change-Id: Ia9ce6d866627f7197295900e3b77e9a51b89d4e2
2020-06-05 17:45:17 +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
Bill Yi 54a995162c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I83d3a32c7a0ebd4275c563c1a794ab07c69d779c
2020-06-04 00:08:38 +00:00
TreeHugger Robot cd6a7133ab Merge "Adds Dark mode support to Sandbox." into ub-launcher3-rvc-dev am: 55a758253b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11720146

Change-Id: Ib78c370eda25c377342a7ac4ee0d5e1def2fdced
2020-06-03 22:05:44 +00:00
Andy Wickham 3212b10941 Adds Dark mode support to Sandbox.
Screenshots
Back: https://drive.google.com/open?id=1brE9WLWGeKaOgzMsczpV40rPIckOk1YJ
Home: https://drive.google.com/open?id=1zexyFPsXr4VzvwlMqhLv720kqHh7s66v
Tutorial complete: https://drive.google.com/open?id=1UbeIDYMQR04lzJhGK7rp2rSdmhiHl5QR

Fixes: 157483039
Change-Id: Id9753a00832dbe42316fbdcaf447f3a51a45bc3e
2020-06-03 13:48:39 -07:00
TreeHugger Robot 10e7a2bd4e Merge "Animates a fake TaskView in Home gesture tutorial." into ub-launcher3-rvc-dev am: 7fab619676
Change-Id: I39d6c9a66e4019427b17cfb8b9c0128f61263da9
2020-05-29 22:05:35 +00:00
Andy Wickham f8a8117676 Animates a fake TaskView in Home gesture tutorial.
The "TaskView" morphs as you drag up from the
nav bar, and transforms into a "home icon" or
final "TaskView" when you release your finger.

If you cancel the gesture (e.g. drag back down),
the view simply fades out and provides a hint
to swipe straight up.

Demo: https://drive.google.com/open?id=1NXlO1W6IhLoX0k2K6b-QZ5IXp0o7OYqO

Bug: 148542211
Change-Id: I3d5e9a45fcadc6a498941ea17813b9487720a504
2020-05-29 14:06:36 -07:00
Bill Yi 2a5d15c182 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0391eda3ce9c7d9b9f90de359b5cf0b0363c0d00
2020-05-22 23:09:44 +00:00
TreeHugger Robot 0239366456 Merge "Switch to new protocol for hybrid hotseat" into ub-launcher3-rvc-dev am: 63cbfc6118
Change-Id: I6a5a9b07c2cc7b0d350da559bf56986d4e8a3ab8
2020-05-15 08:35:24 +00:00
Samuel Fufa d12d6ab98a Switch to new protocol for hybrid hotseat
- create predictor from items in bgModel instead of scanning views
- Launcher no longer checks for duplicates before sending pin/unpin events
- sending cached items from last prediction to reduce UI shuffle
- Switch to using UserCache to persist and read ComponentKey

Bug: 148814143
Bug: 156413231
Bug: 156200931
Change-Id: Ide6330bed8eb7f0c6fbec1d1ac21e7f67a9b2be2
2020-05-14 17:27:34 -07:00
TreeHugger Robot cce22e3aae Merge "Make educational half-sheet black in dark mode" into ub-launcher3-rvc-dev am: 3d3c41a3a6
Change-Id: I6475e7778377bccec0ab6ab3c6fd9f16c1710e7c
2020-05-12 01:21:38 +00:00
TreeHugger Robot 3d3c41a3a6 Merge "Make educational half-sheet black in dark mode" into ub-launcher3-rvc-dev 2020-05-12 01:07:21 +00:00
TreeHugger Robot 64f394c317 Merge "Make darkmode allapps backgrounds solid black" into ub-launcher3-rvc-dev am: c8b81d72a4
Change-Id: Id81c556b695665992ae32d5d3b38c1a01880dda9
2020-05-11 23:53:48 +00:00
TreeHugger Robot 3b8d75ead7 Merge "String translation updates" into ub-launcher3-rvc-dev am: e123ac8fb5
Change-Id: Ib3ac2d22a6628746681b54daedfbad6bfd74dccb
2020-05-11 23:53:42 +00:00
TreeHugger Robot 9f7e56f6d7 Merge "Remove bold from work paused overlay text" into ub-launcher3-rvc-dev am: c03cfeec36
Change-Id: I9b098e6088ec8f4870277a8aec2c21f98b48a73a
2020-05-11 23:53:33 +00:00
TreeHugger Robot c8b81d72a4 Merge "Make darkmode allapps backgrounds solid black" into ub-launcher3-rvc-dev 2020-05-11 23:44:30 +00:00
TreeHugger Robot e123ac8fb5 Merge "String translation updates" into ub-launcher3-rvc-dev 2020-05-11 23:44:00 +00:00
TreeHugger Robot c03cfeec36 Merge "Remove bold from work paused overlay text" into ub-launcher3-rvc-dev 2020-05-11 23:43:20 +00:00
Samuel Fufa 0826bc1b0b Remove bold from work paused overlay text
Bug: 151405736
Change-Id: I35a26bfd6196ef5d3a82efa7b89c2fa80debf93d
2020-05-10 14:40:20 -07:00
Samuel Fufa eb1d77aa08 Make darkmode allapps backgrounds solid black
Bug: 154930029
Test: Manual
Change-Id: I7906bfa8460afb409b205afbf86648dd154d7da5
2020-05-10 14:02:10 -07:00
Samuel Fufa 6610fd0950 String translation updates
-> make dismiss_prediction_label and pin_prediction translatable
issue 155846260

-> use ' instead of ’ for work_apps_paused_body
issue 155639533

Test: Manual
Change-Id: Ibb291bb803f8fa8a39c7ddf81db5d8a253a26766
2020-05-10 13:56:37 -07:00
Bill Yi 561e1c3777 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I48b5667682d4f964d8471237bf3629e0b26fd20f
2020-05-10 20:53:25 +00:00
TreeHugger Robot 2547f57cee Merge "Disabling OverviewActionsView buttons while scrolling or clear all shown." into ub-launcher3-rvc-dev am: e4d1a71413
Change-Id: Ibeed4fefaa4072c37bb9df9ce31a08b47767b040
2020-05-08 00:19:25 +00:00
Samuel Fufa 1012fd2326 Make educational half-sheet black in dark mode
Screenshot: https://screenshot.googleplex.com/tjk37GfrRhO

Bug: 152361557
Test: Manual
Change-Id: I30fffd0af8f4768ac20e6d13899d0e0182b0dec8
2020-05-07 15:18:05 -07:00
Sreyas 78f53856a9 Disabling OverviewActionsView buttons while scrolling or clear all shown.
Bug: 153469850, 153387526
Video: https://drive.google.com/a/google.com/file/d/1mOc8yubux92iKtXRtSOKTcnjWWzvDgC7/view?usp=sharing

Change-Id: Id507d3a050e67057fc34a30771c9566ddfcf94ca
2020-05-06 16:36:24 -07:00
Bill Yi f05f1c68fd Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I2c5cb936e7f4c04e7ad05a7ce758ab9b6afefbfe
2020-05-05 22:51:51 -07:00
TreeHugger Robot eb2549251c Merge "Overriding density when initializing device-profile as the app-context may not point to the correct density in multi-display" into ub-launcher3-rvc-dev am: 28ad91b01b
Change-Id: Ie6ae1c379d3a71f9033b5b99e62e8639d1dad173
2020-04-30 20:38:52 +00:00
Sunny Goyal 1890f67800 Overriding density when initializing device-profile as the app-context may not
point to the correct density in multi-display

Bug: 154665987
Bug: 153293358
Change-Id: I9a95bf314049ce783067f70c735ea29a64388ce5
2020-04-30 12:29:02 -07:00
Bill Yi 2d65e2202e Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ie7e058e9ca81e402b0877d430badb4be25ba06b5
2020-04-29 11:12:27 -07:00
TreeHugger Robot b90ad041f1 Merge "Change horizontal spring stiffness to 250." into ub-launcher3-rvc-dev am: 5111df54d3
Change-Id: Ib47602b345f9b890e5f09df38df7ae4fc9e941a8
2020-04-29 11:49:44 +00:00
Jon Miranda c2140bcadd Change horizontal spring stiffness to 250.
Change-Id: I453190b9c402aebdd723b23bcc08fea928da13c5
2020-04-28 14:38:54 -07:00
TreeHugger Robot 436a45689c Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-04-25 15:01:07 +00:00
Bill Yi a74b8bc165 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I111f6bb5b9a330d175c4fe8c314cb7d8527c91de
2020-04-25 03:09:35 -07:00
TreeHugger Robot 3176077614 Merge changes I38874b8b,I627ed7c6 into ub-launcher3-rvc-dev am: a29a69943a
Change-Id: I324727deb4c83401e9c1ed13d2c8b0add146ac7e
2020-04-24 20:15:50 +00:00
TreeHugger Robot a29a69943a Merge changes I38874b8b,I627ed7c6 into ub-launcher3-rvc-dev
* changes:
  Adds ripple effect for successful Back gestures in tutorial.
  Adds feedback to Home and Back tutorials.
2020-04-24 19:58:48 +00:00
Andy Wickham e992fab187 Adds ripple effect for successful Back gestures in tutorial.
Emanates from where the gesture was started.

Demo: https://drive.google.com/open?id=1oaXOSUiZP6Hi7J6W4H2NIFVVu0tQfKWm
Bug: 148542211
Change-Id: I38874b8b731864cbfdf963a5e44a59c8c3d30c51
2020-04-24 18:16:43 +00:00
Andy Wickham 64a91132c5 Adds feedback to Home and Back tutorials.
Back feedback:
 - Too far from edge of screen
 - Cancelled (reversed gesture, swiped upwards, etc.)
 - Inside nav bar region
 - Demo: https://drive.google.com/open?id=1pc_hr7i-iZmgF37CN8oijPjhOvvsJoEG

Home feedback:
 - Too far from edge of screen
 - Paused too long (Overview detected)
 - Swiped sideways instead of up
 - Demo: https://drive.google.com/open?id=1NGYAlqV2wJtM2DOJ1pZM-r8N1SYVtMos

Bug: 148542211
Test: Manual
Change-Id: I627ed7c6e9b005d35794e4ae568529b5613cbf70
2020-04-24 18:15:23 +00:00
TreeHugger Robot 46e018fd5c Merge "Fixing animation player not overshooting spring animation; tuning springs" into ub-launcher3-rvc-dev am: cf3bed973c
Change-Id: I507741080a49e0d432e31573125bcf494f60d866
2020-04-22 21:16:28 +00:00
TreeHugger Robot cf3bed973c Merge "Fixing animation player not overshooting spring animation; tuning springs" into ub-launcher3-rvc-dev 2020-04-22 20:52:35 +00:00
Sunny Goyal 7f9e8e2d27 Fixing animation player not overshooting spring animation; tuning springs
=> setCurrentPlayTime is bounded between [0, duration] by the animation framework
Instead using interpolator so that we can go outside the bounds

=> Tune spring stiffness and dampening for overview card dismiss animations

Bug: 154061408
Change-Id: Iaa31491fff499db916b36d9779ec159b8a89a2de
2020-04-22 12:54:31 -07:00