Commit Graph

3254 Commits

Author SHA1 Message Date
Patryk Michalik bae4efbbee Redesign Recents icon 2021-06-11 08:18:57 +02:00
Suphon Thanakornpakapong bde6b01cff Add an option to show clear all button 2021-06-10 21:37:37 +07:00
Suphon Thanakornpakapong 196c8448e6 Switch from DeviceDefault to Material 2021-06-09 09:27:59 +07:00
Patryk Michalik 541d74cff6 Default search bar: Clip ripple to background shape (resolves #2148) 2021-05-13 11:11:59 +02:00
Kshitij Gupta e275fcfe93 Add DT2S (#2138)
Co-authored-by: Patryk Michalik <contact@patrykmichalik.com>
2021-05-06 09:37:35 +02:00
Patryk Michalik aab6b80fa0 Relicense to and fix compliance with Apache 2.0
[skip ci]
2021-04-24 09:48:35 +02:00
Patryk Michalik 8efc814f4b Apply round ends to default search bar 2021-03-19 16:24:15 +01:00
Amir Zaidi c0b54f7baf Switch from AIDL Bridge to Rootless Pixel Bridge support 2021-03-19 03:36:20 +05:30
Danny Lin c6f8d713bd Launcher3: Fix launcher preview rendering
Launcher preview rendering fails on AOSP Launcher3 because the search
bar (AppsSearchContainerLayout) tries to find BaseDraggingActivity
during inflation, which doesn't exist in the preview hierarchy.

Remove the search bar from the launcher preview layout entirely to fix
the issue. This is actually more consistent with our real launcher
appearance because it doesn't have a search bar to begin with.

Change-Id: Ic549fd9d592bc702e0c12285fb016b908e49d514
2021-03-18 18:16:26 +01:00
El Dainosor ee42bb76b4 Launcher3: Let's make the search bar on all apps round
Change-Id: Icd8eaa618720984f17319872e3fd12d87e934b86
2021-03-18 18:16:26 +01:00
Kshitij Gupta c930b5f9fb Launcher3: Build in Lawnchair, make "lawn" app flavor
- Also add placeholder SettingsActivity
2021-02-28 23:23:06 +05:30
Patryk Michalik 9691c7c6d7 Update app icon (#93) 2021-02-28 22:39:55 +05:30
Kshitij Gupta 8627ab7b3d Lawnchair: Simplify structure, update app name 2021-02-28 21:17:06 +05:30
Sunny Goyal 41874d1e02 [DO NOT MERGE] Snapshot strings from ub-branch to platform
Bug: 159176821
Change-Id: Ia079de403bed5ee7501a2d70f40989dcfafbddc7
2020-09-23 14:51:35 -07:00
Hyunyoung Song 45c0918f47 Merging ub-launcher3-rvc-qpr-dev to rvc-qpr-dev
Bug: 162366734
Test: system image builds

Change-Id: I6675431b180976798afacc7a99251ae36764a50a
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-30 00:26:39 -07:00
Hyunyoung Song 0a4a4d920e Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"
Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"

Revert "Merging from ub-launcher3-rvc-qpr-dev @ build 6690853"

Revert submission 12190253-merge_ub-launcher3-rvc-qpr-dev_6690853

Reason for revert: Build ID picked from ub-launcher3-master and not ub-launcher3-rvc-qpr-dev

Reverted Changes:
I9e658ece0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
I2a47fe180:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ie86b0a2e0:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Id3ca76da6:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Ib6a63da0f:Merging from ub-launcher3-rvc-qpr-dev @ build 6690...
Bug: 162366734


Change-Id: Ie81853a34c9a48d5b3fd922c65483a9ff639e0ce
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-28 23:43:43 +00:00
Hyunyoung Song 65b16d6db2 Merging from ub-launcher3-rvc-qpr-dev @ build 6690853
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-qpr-dev-rvc-qpr-dev_6690853.html

Change-Id: Ie86b0a2e0d82646a0c3d44a0214cbb985435320d
Merged-In: Ibff46b3ef7ff89accb459db323f31179adb4ef21
2020-07-23 03:47:06 +00:00
Jon Miranda 54003963d8 Fix velocity in StaggeredWorkspaceAnimation.
* Velocity should match the direction of the spring values.
  (Swipe direction is upwards, but icons move downwards on screen).
* Remove additional conversion to pxPerS since getDimension already does that.

Bug: 160003774
Change-Id: I12912edb2354c4a30c538da6ca3789c46d82b94d
2020-06-26 18:16:13 +00:00
Tracy Zhou dfa3de7d3f Get rid of a weird shadow background when rendering smartspace in preview
I think it has something to do ripple background, clipChildren, focusable, clickable, etc. My previous projects ran into related issues before, which is why I tried to set focusable here to false. Let me know if you have a better idea of what exactly is going on

FYI, I also did go back to my previous CL and confirmed that it's necessary.

Fixes: 152278370
Test: Factory reset the phone (with latest build and launcher built from this CL). Make sure no background is shown
Change-Id: I401ffcccd1e07a3c0beb5ed460a707d25bddf41e
2020-06-24 18:43:37 -07:00
Hyunyoung Song 85d90a16bc Merging from ub-launcher3-rvc-dev @ build 6617269
Bug: 150504032
Test: manual, presubmit on the source branch
https://android-launcher.teams.x20web.corp.google.com/merge/ub-launcher3-rvc-dev_rvc-dev_6617269.html

Change-Id: I7a13230553f9c42d5f67164234c33cf77efa9cf2
Merged-In: I2a168bfa8e3979ade26ab1d3cddbbae84cf79590
2020-06-23 05:11:31 +00:00
TreeHugger Robot efedd5f6ab Merge "Add Elevation to work switch" into ub-launcher3-rvc-dev am: 08e1cde5e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11923400

Change-Id: Ie850cf4e3d9e2bc746bcc5715445e5ebce73a88a
2020-06-20 04:20:20 +00:00
TreeHugger Robot 08e1cde5e1 Merge "Add Elevation to work switch" into ub-launcher3-rvc-dev 2020-06-20 04:12:57 +00:00
TreeHugger Robot 3b5f079711 Merge "Wrap shortcuts to second line" into ub-launcher3-rvc-dev am: 027d5a0e8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917348

Change-Id: I7175a6a73aa0070d7d91981b07531f4505f460d5
2020-06-19 22:01:26 +00:00
TreeHugger Robot 027d5a0e8f Merge "Wrap shortcuts to second line" into ub-launcher3-rvc-dev 2020-06-19 21:45:46 +00:00
Samuel Fufa 980767a06b Wrap shortcuts to second line
Some system shortcuts are mostly truncated in other localizations. This fixes the issue allowing shortcuts to extend into a second line.

Screenshot:
https://screenshot.googleplex.com/CuTHVNn6PoC
https://screenshot.googleplex.com/yhwuLmbG7UX

Bug: 158182711
Change-Id: Ie5c2943be524c499c4444a9a54217f207a4684fd
2020-06-19 14:11:36 -07:00
TreeHugger Robot ebf070bcf1 Merge "Set Disabled icon alpha to .54" into ub-launcher3-rvc-dev am: 9627bc466a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11935159

Change-Id: I02c6042e391ebfa863731ac44c96131d49c8b0d3
2020-06-19 20:46:24 +00:00
Samuel Fufa e17de7cd48 Set Disabled icon alpha to .54
screenshot: https://screenshot.googleplex.com/hMi27AKtN5z

Keeping style setup as is for ultra power saver mode.

Bug: 158904552
Change-Id: I508c661195d8ca4821a13dc2a0f26584bea0b172
2020-06-19 12:47:54 -07:00
TreeHugger Robot cc764ffc94 Merge "Add spring to workspace scale when going from Hint state to Normal state." into ub-launcher3-rvc-dev am: 92b0b1d0a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11871917

Change-Id: If2b1b8b2e0c9bcb552472f48538f48ca57b8d46d
2020-06-19 01:40:29 +00:00
Samuel Fufa c528b9ec23 Add Elevation to work switch
+ Switch font style to Google Sans

Bug: 155888857
Test: Manual
Change-Id: I0c289a9cdf559deebddcca08d51c1bd19c3ee4c1
2020-06-18 18:22:17 -07:00
Jon Miranda 271638574f Add spring to workspace scale when going from Hint state to Normal state.
Bug: 151768994
Change-Id: If03d39e5ef6319355a7691d60fc0152de2fc3cec
2020-06-18 17:53:07 -07:00
Miranda Kephart efdc4e2318 Merging from ub-launcher3-rvc-dev @ build 6595814
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6595814.html

Change-Id: I4be85d0e52cc3cb8801012a7313a269851680c8b
2020-06-16 20:52:28 +00:00
TreeHugger Robot 99438c213a Merge "Change folder edit name hint opacity to 54%" into ub-launcher3-rvc-dev am: 314bdb192b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11878479

Change-Id: I208c805ce7a16a0b0db6c7b83ed2440483a6145b
2020-06-16 19:13:57 +00:00
Hyunyoung Song d396e6ab66 Change folder edit name hint opacity to 54%
Bug: 157773141
Change-Id: Ia224ac429ad4225390b5d726b3385105a2494a37
2020-06-15 22:10:06 -07:00
TreeHugger Robot bf9c41a54f Merge "Announce folder content size with folder title" into ub-launcher3-rvc-dev am: 161ed5ad9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11844112

Change-Id: Ib4797905333cfe8f070cb4387bba2d152d171a23
2020-06-12 22:03:17 +00:00
Samuel Fufa 1150ab3825 Announce folder content size with folder title
Bug: 144094885
Test: Manual
Change-Id: I340f9292b62163e1d72778024f1765c7618084c2
2020-06-12 11:25:32 -07:00
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
Pinyao Ting 8020bf2f4b Merging from ub-launcher3-rvc-dev @ build 6577335
Bug: 150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_6577335.html

Change-Id: Ie1f44dd646088759fef66251fe9e5f584b804d73
2020-06-10 21:54:11 +00: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
Adam Cohen fa6e021ce6 Merging from ub-launcher3-rvc-dev @ build 6557059
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6557059.html

Change-Id: I9c0912f26445d454f71c4f0f63d45b184726db3d
Merged-In: I280025d9e58626fe725fe24ca60c28e89d0cee74
2020-06-04 15:02:12 +00: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