Commit Graph

111 Commits

Author SHA1 Message Date
Wesley.CW Wang
7ec15fcd6b Update SystemUI and SettingsLib battery defender strings
Bug: 173080412
Test: m -j40, make full ROM
Change-Id: Icfb4f55716e5a17a1bedecbfe5ed91752f8cd58a
2020-12-02 10:09:08 +00:00
Wesley.CW Wang
6b4185abd1 Add Battery Defender strings to SystemUI and SettingsLib
- Add string file first for translation process

Bug: 173080412
Bug: 173496188
Test: m -j40, make full ROM
Change-Id: Ia39346875233423a72ae32f84d49c8457db35e22
2020-11-19 06:40:55 +00:00
Lucas Dupin
0a1d4ed6c6 Use header font on emergency button
Test: visual
Fixes: 162511071
Change-Id: I9085feea4b07cd71169696ed4f80364d1dbf22a8
2020-08-10 16:24:01 +00:00
Lucas Dupin
e830adfef6 Add ripple and border to emergency call button
Bug: 149109279
Test: visual (on walleye and crosshatch)
Change-Id: Iaa29965f63ae92c26f6924e4934eb7cb6b2754ce
(cherry picked from commit d35002d362)
2020-07-21 17:28:27 +00:00
Kenny Root
3750b50e76 Resume-on-Reboot: remove special string
User feedback shows that this string causes confusion that the
update is going to start immediately.

Bug: 161179448
Test: Fake OTA test
Change-Id: I9590ebf76c81ef104f490ba31ada7c482cd70d56
2020-07-17 11:45:09 -07:00
Jeff DeCew
a87cddbce9 Re-add DO Disclosure text to lock screen; now faded.
Fix: 158755611
Test: atest KeyguardIndicationControllerTest
Change-Id: I6cb8b2762ff4d6326c7e0568e28e2e4b56df4017
2020-06-16 17:58:22 +00:00
Raff Tsai
e82ae9c3e5 Merge "Show charging speed in Settings" 2020-02-07 00:53:09 +00:00
Kenny Root
f76cfc314c Support Resume on Reboot
When an OTA is downloaded, the RecoverySystem can be triggered to store
the user's lock screen knowledge factor in a secure way using the
IRebootEscrow HAL. This will allow the credential encrypted (CE)
storage, keymaster credentials, and possibly others to be unlocked when
the device reboots after an OTA.

Bug: 63928581
Test: atest FrameworksServicesTests:RebootEscrowDataTest \
            FrameworksServicesTests:LockSettingsServiceTests \
            FrameworksServicesTests:RecoverySystemServiceTest \
            FrameworksServicesTests:RebootEscrowManagerTests
Test: use fake OTA console app to apply update
Change-Id: I59df6942b27ea2bdd11b757922f5169085a325f0
2020-01-07 08:18:02 -08:00
Raff Tsai
f4ea5626c9 Show charging speed in Settings
- Move BatteryStatus from KeyguardUpdateMonitor to SettingsLib
which can be used in Settings and SystemUI
- Add string to support show rapid and slow charging in Settings
- Move config from res-keyguard to SettingsLib

Fixes: 79559900
Fixes: 66573773
Test: manual, make RunSettingsLibRoboTests
Change-Id: I2ffd902743819f999ee3a10bbadc2d3ca45495c2
2019-12-27 11:00:09 +08:00
Sunny Goyal
b4a26016c4 Moving product specific strings to a separate directory
This allows for easier organization of gradle project

Test: Verified everything builds
Change-Id: Idde32a0ccdf0c6cf0fca7898d7ad770b709fc1f5
2019-12-06 17:48:39 +00:00
Lucas Dupin
706647d70e Battery string update
Test: visual
Fixes: 123975532
Change-Id: I4e032225b3f6d35de691361e808f3daeaf932422
2019-09-26 14:22:48 -07:00
Selim Cinek
b543f846aa Fixes an issue where the padding to the clock was wrong
Because I moved around where the padding was set and there
was also setting the same padding programmically, we ended
up with double the padding after an event came in that
never went away anymore. This is now fixed.
I also adjusted the paddings slightly to adjust it back to
the spec again, since the calculation was off by 1dp before.

Fixes: 134927633
Test: atest SystemUITests
Change-Id: I67395cb9b7bf54a95ceee51c3384539c4d53578e
2019-06-12 16:44:11 -07:00
Lucas Dupin
89233c49aa Fix unreadable clock
- Always use white text with shadows on media
- Use lock screen colors for shade theme
- Remove legacy wallpaper visibility listener
- Remove shadow from black title

Test: set white wallpaper
Test: set dark wallpaper
Test: set dark wallpaper on home, light on ls
Test: set dark wallpaper on ls, light on home
Test: atest SysuiColorExtractorTests
Fixes: 134119878
Change-Id: I64ee2dee14322b2c02891c3ffe5fc0b25d1f100b
2019-06-12 04:22:24 +00:00
Robert Snoeberger
db8b7f34b0 Translate custom clock names
Bug: 134097995
Test: none
Change-Id: Iab1212f1ddc130baffd7556c21c66c7f52377ec2
2019-06-05 15:55:16 -04:00
Lucas Dupin
7a271050a4 Make KeyguardPresentation inherit Theme.SystemUI
Theme.SystemUI has some attrs that aren't present on Theme.Material
and SysUI views are expected to use them.

Fixes: 133597861
Test: cast to secondary screen, go to keyguard
Test: atest KeyguardPresentationTest
Change-Id: I756dfc6db73090a6ebe1db4b1cd1bc775b6c47c2
2019-05-27 22:37:53 -07:00
Lucas Dupin
fc0cf155b7 Remove clock shadows from light mode
Test: manually change wallpaper from light to dark
Fixes: 133440761
Change-Id: I421e1af666047adce3841ba1fcdfa11a9a92d688
2019-05-23 16:14:29 -07:00
Lucas Dupin
0a8fcb3a8b Merge "Add shadow to text on keyguard" into qt-dev 2019-05-23 17:15:15 +00:00
Lucas Dupin
aa5fcc030c Add shadow to text on keyguard
Fixes: 132274011
Test: visual
Change-Id: Ic5ef60f71a8cdf9946c688d0a33aa542b6cb1b98
2019-05-22 16:29:42 -07:00
Lucas Dupin
9f90adb3d6 Remove problematic letter spacing from keyguard
Text views are getting lost and clipping the text while also
ellipsizing it.

Test: create meeting with long name and long room name
Fixes: 132914292
Change-Id: Id6365ac41e66732bd89262a1957b80c0455768a4
2019-05-21 17:50:31 -07:00
Fabian Kozynski
2fb343af8c Put SIM locked text in parenthesis
Changes how SIM locked text is assembled in CarrierTextController. The
text is put in parenthesis after the carrier name (or replaces it if the
carrier name is blank). This way, the locked text is easily associated
with the corresponding carrier name.

Test: visual
Fixes: 130857483

Change-Id: I86c5156907b2d245855f8be8158459c30c060495
2019-05-10 15:06:02 -04:00
Robert Snoeberger
78a79d299e Update size and vertical spacing of clock on keyguard.
Bug: 130223602
Test: visual
Change-Id: I09f6dff826d6ef297a4babdc9aa70b7f138dbeed
2019-05-09 13:30:11 -04:00
Robert Snoeberger
7cfa9ddc6c Prevent clipping clock during shrink, bold transition
Bug: 130223602
Test: visual - look at transition with music playing
Change-Id: I3bfd9f9c51bde3f827888e4eec43360db3f1d266
2019-05-07 10:11:54 -04:00
Robert Snoeberger
9cd1d1877c Bold time in "At a Glance" of custom clocks
Bug: 129348218
Test: manual - checked that time is bold
Change-Id: I8c3cdc68735746669dcc516e42607aceac818740
2019-05-03 10:51:07 -04:00
Robert Snoeberger
2feac07950 Reduce padding below small, bold digital clock.
The grow transition looks bad due to clipping of the
text clock, but it is taking too long to understand the
issue. So, I want to get this padding change in and the
transition polish can follow.

Bug: 130223602
Test: visual -- look at AOD with music playing
Change-Id: I28cfecefeea55f49ee7843f0b1f07a206852dc54
2019-04-30 21:47:24 +00:00
Lucas Dupin
32774925de Fixed SIM pin pad overlap
Test: change display and font sizes
Test: add/remove sim card
Fixes: 131129169
Change-Id: Ica859a458dd8a57bd7ebae5ae8bccb3bbb5c0a85
2019-04-25 12:42:25 -07:00
Robert Snoeberger
f9030c7c8d Transition to bold when shrinking clock
Bug: 130223602
Test: visual - AOD to lock screen while playing music
Change-Id: Id03f93854bdb98a83664dc651cf1f30618f09176
2019-04-23 15:52:22 -04:00
Beverly
fcc982ef4b Update wirelessly charging text on lockscreen
Test: manual
Bug: 130762799
Bug: 130762485
Change-Id: I87fc87fafd968cdb4987b1c55e79dbccf70ae137
2019-04-18 16:20:39 -04:00
Robert Snoeberger
7fd7f51d8a Update Stretch Analog clock face
This is part of the response to burn in testing.

Bug: 130422138
Test: mp sysuig and checked clock in picker app
Change-Id: I68971f8d132618f4d388160aeabb0fd3aa024b9d
2019-04-16 15:08:11 -04:00
Robert Snoeberger
37fe802217 Drop final remnants of Type clock face
Bug: 130296587
Test: mp sysuig
Change-Id: I1a78beadedb2b0afba34620273f5cb80d7bd2291
2019-04-16 17:14:34 +00:00
Robert Snoeberger
583067c4e4 Drop Type clock face.
Fixes: 130296587
Test: Checked that Type clock doesn't appear in picker app.
Change-Id: Ie5d0066e9fedd485b9a05dc1c49a6c0ba6b7f1e4
2019-04-10 20:10:47 +00:00
Jorim Jaggi
a6aabacbb5 Force app to draw navigation bar background
For gestural navigation, having a small bar drawn by SystemUI
looks really really weird. Since we force the status bar
background to be drawn in the client, we can also force the
navigation bar background without expecting any compat issues.

Bug: 129751541
Test: Open legacy app, ensure black is drawn in the client
Change-Id: I9cd4c5dd799324ff10bf9d28750e8f238ab1e459
(cherry picked from commit 461bb11371)
2019-04-04 07:27:10 +00:00
Robert Snoeberger
02cd4f9edf Oh Minute instead of O'Minute for 1-9 minutes after the hour.
Fixes: 129145247
Test: Installed and checked Type clock face
Change-Id: Ic56dcd650cfcc6d47143a927d669efcb4d16f050
2019-03-22 19:05:38 +00:00
Lucas Dupin
407cc58616 Add padlock to the top of the bouncer
Fixes: 111414690
Fixes: 128034554
Test: swipe up from keyguard
Test: tap on notification panel background
Test: double tap on notification
Test: atest StatusBarKeyguardViewManagerTest
Change-Id: If9c0e78c018640377a9a5a1270499e6bf0cdd2cf
2019-03-18 17:45:23 -07:00
Lucas Dupin
e570af67de Restore keyguard status area header
Fixes: 123340905
Fixes: 123958307
Test: atest KeyguardSliceViewTest
Test: manual, playing media
This reverts commit ed00262486.

Change-Id: I1cc60346f9176b913ee0404b2b31981f736664ce
2019-02-12 15:21:24 -08:00
Beverly
7d7f699f4a Update keyguard charging text to indicate wireless
- Keyguard charging text indicates the device is wirelessly charging

Test: manual
Change-Id: I9cce8ecaf07f8870164d9ef8a569fcf30db69d85
Fixes: 124084552
2019-02-11 15:19:51 -05:00
Robert Snoeberger
326d0c13b2 Fixes for typographic clock string.
Need plural forms for some languages based on the number of hours.

Need template where "hours" and "minute" is filled into the sentence.
This enables a conjunction to be added between "hours" and "minutes".
And enables, for languages like Basque, the verb "It's" to moved from
the beginning. "It's" can be moved either between "hours" and "minutes"
or after "minutes".

Bug: 123638383
Bug: 123638464
Bug: 123643485
Test: mp sysuig and manually tested
Change-Id: I69865d004ed346a21a13e86d96a4bdad379f08df
2019-02-05 11:37:23 -05:00
TreeHugger Robot
92a70d42d2 Merge "Add ClockOptionsProvider for more realistic previews." 2019-02-05 14:31:30 +00:00
Robert Snoeberger
6b244b093c Add ClockOptionsProvider for more realistic previews.
This change enables the picker app to move to the new
ContentProvider but it doesn't change any of the
assets. A follow-up change will dynamically generate
a realistic preview image from the clock.

Bug: 123704608
Test: atest on new tests ClockInfoTest and ClockOptionsProviderTest
Change-Id: I744c8dd063f6aa112e290fcf54cdc0e0b1377a0e
2019-02-04 17:33:19 -05:00
TreeHugger Robot
c6da7a9f3d Merge "New lock iconography" 2019-02-01 03:10:29 +00:00
Lucas Dupin
c9e5d76952 New lock iconography
Change-Id: Ie8b269a2bdfa1946e0c3591717142a34c1b15c67
Fixes: 122058242
Test: visual
2019-01-31 16:43:35 -08:00
Robert Snoeberger
f8bedce9a8 Increase char limit for Typographic clock strings.
Bug: 123638326
Bug: 123638327
Bug: 123638361
Bug: 123638362
Bug: 123638363
Bug: 123638364
Bug: 123638377
Bug: 123638385
Bug: 123638442
Bug: 123638446
Bug: 123638447
Bug: 123638448
Bug: 123638456
Bug: 123638458
Bug: 123638459
Bug: 123638675
Test: mp sysuig and enable Typographic clock
Change-Id: I9d01857ef6a0b707432615ebc420121da9da3e95
2019-01-30 15:57:39 -05:00
Lucas Dupin
00be88f1fd New pulsing notification layout
Test: wake up with power
Test: look at shelf on lock screen
Test: lock device w/ notifications from home screen
Test: receive notification on AOD
Test: atest KeyguardClockPositionAlgorithmTest
Test: atest NotificationRoundnessManagerTest
Test: atest ScrimControllerTest
Test: atest NotificationContentViewTest
Bug: 111405682
Change-Id: I9b4f2febd56a62256124567bffebc9f5f8255847
2019-01-18 13:57:04 -08:00
Robert Snoeberger
ce8c204eac Add custom typographic clock face.
Bug: 122301289
Test: Used adb to enable clock face.
Change-Id: I052367c9671697f621cba4ecb7e6b21c0cec784c
2019-01-17 14:27:37 -05:00
Robert Snoeberger
046ee9ceca Add custom bubble clock face.
Bug: 122301289
Test: Using adb to set the settings value switches to bubble clock.
Change-Id: I9b5ab62796204cfdce7b9beb147f34f80b0db167
2019-01-15 13:03:26 -05:00
Fabian Kozynski
96b1636f14 Remove config_{body,headline}FontFamilyLight
Test: manual
Bug: 121036002
Change-Id: I5686e6f320833ba8738d11d6e018ac68f45330e5
2018-12-18 09:47:01 -05:00
Fabian Kozynski
8a7a334a06 Overlay font working on Keyguard/QS/Notification
Test: adb shell cmd overlay {enable,disable} --user 0 com.google.android.theme.hotdog
Bug: 120988129

Change-Id: Ie14050567102e4b4a3d7d3338c0713b78d1030a6
2018-12-14 14:52:15 -05:00
Lucas Dupin
34d616a7a5 Increase maximum pin pad size
There was overlap between the the ok button and the rest of the grid
if the device was set to largest font and display size.

Change-Id: I305487a906b909b76bace6e0837226749c034128
Fixes: 119047989
Test: visual
2018-12-06 14:47:06 -08:00
Lucas Dupin
a03c8a1b41 Do not ellipsize the clock widget
widget_big_thin is the style used by the lock screen and casting
clocks.

Change-Id: Ic0f0f19c22739358e20a616b996858b10f879eaf
Fixes: 119004085
Test: wait for device to sleep
2018-11-05 09:52:18 -08:00
Lucas Dupin
f887be23d1 Merge "New PIN pad design" 2018-10-24 16:05:23 +00:00
Lucas Dupin
c9d28b74eb Remove dashes between clock and notifications
Bug: 111405682
Test: visual - smart space, ambient notification, clock
Change-Id: I68e0d9099e0d4eaa1a6c10838d584aded523c332
2018-10-23 15:24:16 -07:00