Commit Graph

209 Commits

Author SHA1 Message Date
Adam Cohen
f7ca3b4e3f Update drag and drop visualizations
=> Remove the bitmap-based icon outline
=> Add simple cell based location preview of drop location
=> Round corners of page outlines
=> Get rid of page background for focused page
=> Update colors to use system accent color

Bug: 185163323

Test: manual

Change-Id: Id604c59201536967e25236f305eeeb0aafc9c022
2021-04-15 12:45:24 -07:00
Schneider Victor-tulias
e845463a1b Update Home settings nav bar color.
Updated the Hime settings nav bar color to match that of the wallpaper picker app.

Test: manual

fixes: 183396026
Change-Id: Id2302a553c5ddf645d497cb832608efecb3e70ad
2021-04-07 14:09:26 -07:00
Alina Zaidi
6d97d893e0 Update Pin widget dialog UI according to mocks.
Test: Tested manually and RequestPinItemTest passed
Bug: 182982143
Bug: 182994819
Bug: 182929673
Change-Id: I905ea0c1860d28ee9fbb456ddf6abd728b65bac4
2021-03-23 13:36:48 +00:00
Lucas Dupin
993fed2346 Style updates
- Make pop ups use system colors
- Text colors in dark theme should also use system colors

Test: visual
Bug: 179427049
Change-Id: I9c0eb2b6970ff9bf66fe1d5c0040b10bfa2087b0
2021-02-04 17:16:08 -08:00
Lucas Dupin
29cd327066 Inherit theme colors on app drawer and folder
This way, changes on Theme.DeviceDefault will be reflected on launcher
as well.

Bug: 173561945
Test: visual
Change-Id: I297560253242476f34c47fcd845c44e96873a8b2
(cherry picked from commit fc82c5a920)
2021-01-27 16:24:58 +00:00
Samuel Fufa
314761a808 Setup SearchResultIcon for single cell results
SearchResultIcon will be able to render apps, shortcuts and remote actions. It can also handle its own focused state drawing.

Screenshot: https://screenshot.googleplex.com/C3KgjJtLQTBPgaf

Bug: 170752716
Test: Manual
Change-Id: I460a9c128ea3f5814784e342c5d5fa5b7e310882
2020-10-15 14:32:19 -07:00
Sunny Goyal
eaf7a95546 Changing minimum supported Launcher version to 26
Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
2020-07-29 17:30:19 -07:00
alexmang
457ae09acc Add filtering of preferences in developer options
Search will recursively go into each preference group and set visibility of preferences based on title match. If a preference group (category) has no preferences, we will hide that preference group as well.

All queries and titles are sanitized by turning them to lower case and replacing underscores with spaces for convenience.

Change-Id: Ibdc689d74d0c872c92c1d523bbc0efdb9e31aecd
2020-07-23 13:33:44 -07: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
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
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
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
Hyunyoung Song
d396e6ab66 Change folder edit name hint opacity to 54%
Bug: 157773141
Change-Id: Ia224ac429ad4225390b5d726b3385105a2494a37
2020-06-15 22:10:06 -07:00
Samuel Fufa
61bc63a6a4 Disabled app icon Visuals
Bug: 154855908
Test: Manual
Change-Id: I58c75ed51426ceb4a09b608ee77636c803955025
2020-06-05 17:35:00 -07: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
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
c8b81d72a4 Merge "Make darkmode allapps backgrounds solid black" into ub-launcher3-rvc-dev 2020-05-11 23:44:30 +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
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
TreeHugger Robot
220a9b461d Merge "Update shortcut icons according to new accessibility standards" into ub-launcher3-rvc-dev 2020-04-22 06:42:34 +00:00
Samuel Fufa
07919c63f2 Update shortcut icons according to new accessibility standards
Bug: 152273720
Bug: 152272310
Test: Manual
Change-Id: If9e1c30a27046674cae4189a7cfc6bcfc2e288e9
2020-04-21 21:03:37 -07:00
Samuel Fufa
9915605588 Make all apps scrim solid color
- Switch app label text color to #DE000000 in light mode

[screenshots attached to bug]
Bug: 151389610
Test: Manual

Change-Id: Ia027eaacd365498db0da3c25f7cc4ab75232c7f2
2020-04-21 13:19:43 -07:00
Samuel Fufa
e54410afc3 Change work paused text style
Bug: 152665605
Test: Manual
Change-Id: I9ecd4ca512117328870c8a08efbdd0e3f6860235
2020-04-12 18:14:43 -07:00
Samuel Fufa
f5a4deb120 Hide work apps when work profile is paused
- hide overlay icon in landscape mode
- don't show edu if user has already seen legacy work profile edu
- make sure personal tab is highlighted when work profile is reinstalled
- always go home after a work profile is added or removed
- add tests for work edu flow

Bug: 150122946
Test: Manual
Change-Id: I8f80ac763acf03ca31a534464f4ddfd84528d329
2020-03-12 10:25:50 -07:00
Samuel Fufa
ea4dcf468e Add Tests for work profile toggle
+ Fix minor style issues

Bug: 140099753
Bug: 112899690
Test: Manual
Change-Id: I1257560be79748abe54a75a74d93caa4390943b5
2020-02-13 17:21:54 -08:00
Samuel Fufa
7315bdd236 Change unnamed folder hint and style
Bug: 135182686
Test: Manual
Change-Id: Ic63d89fdbd5d8ab9b0d215e916f3d2f038760547
2020-02-03 18:56:54 -08:00
Samuel Fufa
8f6d141d84 Work toggle improvements
Bug:141289979
Test:Manual
Change-Id: If96845c0220816f9ffd5a5c86ec33b2674d15d1d
2020-01-31 12:07:12 -08:00
Samuel Fufa
9fee045ed9 Make home setting edge-to-edge
Bug:139437515
Test:Manual
Change-Id: Iadd7fadbd48f80a77880bfc3118be6c3ed7e3040
2019-11-12 16:49:29 -08:00
Hyunyoung Song
0832d47781 Folder text should show dark highlight when longpressed
Broken only on dark theme + super bright wallpaper
Bug: 138245847

Change-Id: Ib8627ebd49ac2b31bbd747c15ae6b55eb22efffa
2019-07-24 17:20:18 -07:00
Sunny Goyal
ad9fb5276d Displaying edge-to-edge in landscape
Bug: 131360075
Change-Id: I7bdf72dabf7f829f294b08ea9b348f7173ff7d31
2019-05-15 14:25:52 -07:00
Hyunyoung Song
e751d90c44 Implement 3 shades of folder icon/container fill color
Bug: 130451254

Change-Id: I36d885a2b0247f1bb84cb98073459853ae723331
2019-05-14 10:15:11 -07:00
Hyunyoung Song
572c746f74 Night accent color
Bug: 128857973

Change-Id: If81e9684143967480259a01e59694676875b0df1
2019-04-26 10:13:08 -07:00
TreeHugger Robot
9beda35dc9 Merge "Popup container color changes for Dark Theme Bug: 111411630" into ub-launcher3-qt-dev 2019-04-12 06:42:17 +00:00
Hyunyoung Song
baa1a62af7 Popup container color changes for Dark Theme
Bug: 111411630

Change-Id: I7692fb6c6d9bd7b4500def8291ff2f6d77639a77
2019-04-11 23:31:51 -07:00
Hyunyoung Song
df4bf92412 Popups (shortcut, system, scroller) / Drop Targets / Widgets (bottom/full) should follow themed font
Bug: 126229665

Change-Id: I429da6b9bc5f99d42be0f2498cbdecb059f127f4
2019-04-11 22:56:54 +00:00
Sunny Goyal
577bc6b660 Using the extracted color for plaecholder loading icons
Bug: 111142970
Change-Id: Id274ddcd20d8042a4cc24bff9d65bea79846e9af
2019-04-04 15:05:15 -07:00
Hyunyoung Song
72dae7f4ce Inherit TextAppearance.DeviceDefault for the RRO text font
Bug: 126229665
Change-Id: I54f59f64888847c8a3ce2ea63be12a4c9199bb05
2019-02-27 16:58:57 -08:00
Sunny Goyal
bcadb7f4ba Changing some colors for folderIcon in dark themes
Bug: 111139480
Change-Id: I5b338c6faf61626a21f703da37b95466806cbbfd
2019-02-05 14:45:51 -08:00
Tony Wickham
f34bee819c Rename "badges" to "dots" where appropriate
This will reduce confusion with the other "badging" concept we use for,
e.g. work profiles. It is also consistent with the external name
"notification dots".

Change-Id: I2a2c9d96dc0d6284eb0c48adc78a856271caad4d
2018-12-04 10:46:40 -08:00
Zak Cohen
cc4c61472e DeepShortcut - show loading placeholder before content is available.
Sometimes the deep shortcuts can take time to load, show an initial loading
state before any text is set.

Note: changed singleLine to lines=1 as the former causes issues with RTL
layout and is deprecated.

Bug: 78620208
Tested: manual test on pixel 3

Change-Id: I782addb8d64425a1a95cee4f104fc0bd44809815
2018-10-26 11:25:58 -07:00
Sunny Goyal
367f21999d Adding dark theme for AddItemActivity
Bug: 117786476
Change-Id: I1a3adb7c10ed2326dc1440c3db15f702f42dbfd8
2018-10-17 11:25:40 -07:00
Sunny Goyal
2b787e5bd6 Using a placeholder icon shape instead of low-res/blurry icon
Bug: 111142970
Change-Id: I867224464ae9c026f4dcb5256ef14fc39c8e751d
2018-08-27 10:43:46 -07:00
Tony
05d98c246b Adjust notification dots
- Use consistent bounds for folders as other icons, to ensure dot
  has a consistent placement (moved right+up a bit)
- Strengthen the ambient shadow to improve contrast
  - Increased blur size and opacity
- Use a dark gray rather than black for dots on dark folders

Bug: 73331123
Change-Id: I888f4645d3a48465af93f5003dda8f8b7c3129f3
2018-07-23 16:41:45 -07:00
Sunny Goyal
c82c6396e9 Moving clear all button inside the recents view
Bug: 72222505
Bug: 109828536

Change-Id: I843b79db3e47abc2c41ed78f186b9c941941ddef
2018-06-11 13:51:03 -07:00
Sunny Goyal
bd88f396dc Defining a base theme, which can be overriden by derivative projects without
affecting launcher theme

Bug: 70220582
Change-Id: Ie3069686be5e6a42910e90541db2d6b5b79e25c1
2018-06-08 11:20:01 -07:00
Sunny Goyal
337fcb7983 Theme updates for dark text:
> Using white scrim on adjescent tiles in overview
> Using a ligher scrim in dark-theme+dark-text

Bug: 80253867
Change-Id: I3f257d3addaca8bc5970a61722f5ae0e7af89382
2018-05-30 15:53:10 -07:00
Sunny Goyal
a6afdffbbd Adding support for dark text on dark theme
Bug: 80253867
Change-Id: Ib81a2fe884f68cd2dd4af1e573bd8c836f374f16
2018-05-24 13:50:27 -07:00
Sunny Goyal
12f803843b Updating the dark theme color to match system-ui theme
Bug: 79691756
Change-Id: I12058ca2d7651353af99f4ce65dc90339868bfc0
2018-05-14 15:58:19 -07:00