summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/clock/AnalogClockController.java
Commit message (Collapse)AuthorAgeFilesLines
* Add APIs to get system bar heightsShawn Lin2021-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | In multi-display devices, there might be differnt cutout on each display which also causes different status bar height. Now we no longer overlay the status_bar_height dimen and keep it as default value and add APIs to calculate the status bar size. - Add APIs for getting status_bar_height & quick_qs_offset_height in system. - Add APIs for getting split_shade_header_height and qs_header_system_icons_area_height in SystemUI. - Remove all resource overlay for status_bar_height & quick_qs_offset_height. Bug: 186604541 Test: atest SmallClockPositionTest DisplayLayoutTest HideDisplayCutoutOrganizerTest SizeCompatTests NotificationPanelViewControllerTest Change-Id: I5a6dfcc6ff06da8ea0fe119fc9d4c089f13b0dff
* Rename the api from refresh() to refreshTime() to make it more clearshawnlin2020-01-081-1/+1
| | | | | | Test: make api-stubs-docs-update-current-api, make Bug: 140102239 Change-Id: Ieb7403748b8b8a7f7c967b7228733a19caf4a306
* [DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791Hyunyoung Song2019-09-011-1/+1
| | | | | | | | | | | | | | | Test: presubmit setup on source branch Bug: 130289146 Create a Gradle build for SystemUI Bug: 136279712 Daggerize FalsingManager Bug: 137324767 "Unable to instantiate service com.android.systemui.doze.DozeService" exception breaks launcher tests Bug: 137563419 Remove Bouncer reveal delay from bypass flow Bug: 138787339 Allow Services and Activities to be injected into directly. Bug: 139128921 [AS 3.5 RC2, SDK API 29 rev 2] Overload resolution ambiguity: while removing element from HashMap Bug: 64712476 Import translations for dev branches Change-Id: Ib7fd4706c070907fd556c3532957f3b1b046de6d
* Fix unreadable clockLucas Dupin2019-06-121-1/+1
| | | | | | | | | | | | | | | - 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
* Darker accent color on custom clock over light wallpaper.Robert Snoeberger2019-06-061-8/+18
| | | | | | | Fixes: 134441011 Test: visual -- checked clock on light lock screen wallpaper Test: Added ClockPaletteTest Change-Id: I98768d0ef2acaf6f33aa5e47bc94e0bb1266b3ec
* Bold time in "At a Glance" of custom clocksRobert Snoeberger2019-05-031-4/+0
| | | | | | Bug: 129348218 Test: manual - checked that time is bold Change-Id: I8c3cdc68735746669dcc516e42607aceac818740
* Remove burn in offset on lock screen.Robert Snoeberger2019-04-291-0/+1
| | | | | | | | | | | | | | | Due to the burn in offset applied to the analog clock, it can overlap with "At a Glance" and the lock screen message. This change helps a little bit by removing the offset on the lock screen, which hides more of the clock face under the notifications. Note also that the burn in offset is removed from the default clock face on the lock screen. So, this change is consistent with that behavior. Fixes: 131122783 Test: visual -- analog clock moves to screen center on lock screen. Change-Id: Ie57bb0b5a41215d4f1b478aeb691e07eac125614
* Position "At a Glance" on custom clock below status bar.Robert Snoeberger2019-04-241-2/+10
| | | | | | | | | | | | Change summary: - Position below status bar on AOD, and account for burn in prevention movement. - Position below lock icon on lock screen. Fixes: 130797849 Test: visual - checked position on AOD and lock screen Test: visual - checked position with music playing Change-Id: Iad088e8b1d301e19ec9a095462a420e1723aba00
* Add smart space to custom clock faces.Robert Snoeberger2019-04-171-21/+12
| | | | | | | | | | | | | | This changes adds a hook to the ClockPlugin to allow the custom clock to control the position of the smart space. Still todo: - move out of the way for the lock icon - don't slide smart space down on lock screen when no notifs are showing Bug: 129348218 Test: Manually checked custom clock faces. Change-Id: I2472f6b2bb54f94e2e673f01c78170c0e7f87627
* Update Stretch Analog clock faceRobert Snoeberger2019-04-161-0/+204
This is part of the response to burn in testing. Bug: 130422138 Test: mp sysuig and checked clock in picker app Change-Id: I68971f8d132618f4d388160aeabb0fd3aa024b9d