summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/clock/BubbleClockController.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-9/+18
| | | | | | | Fixes: 134441011 Test: visual -- checked clock on light lock screen wallpaper Test: Added ClockPaletteTest Change-Id: I98768d0ef2acaf6f33aa5e47bc94e0bb1266b3ec
* Adjust bubble clock to be easier to readRobert Snoeberger2019-05-231-3/+4
| | | | | | | | | - lines thicker by 1 dp - same color extraction as analog clock face Fixes: 133188865 Test: visual Change-Id: Ic44546bbc76d945ba3dc307c6cea25af27fac3db
* Bold time in "At a Glance" of custom clocksRobert Snoeberger2019-05-031-3/+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
* Update Bubble clock faceRobert Snoeberger2019-04-181-3/+3
| | | | | | | | This is part of the response to burn in testing. Fixes: 130422138 Test: mp sysuig and checked clock in picker app Change-Id: I97816379c160801e67ffb7b9fbb340d2d98e1255
* 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-2/+3
| | | | | | | | This is part of the response to burn in testing. Bug: 130422138 Test: mp sysuig and checked clock in picker app Change-Id: I68971f8d132618f4d388160aeabb0fd3aa024b9d
* Add onDestroyView to allow clock plugins to clean up resources.Robert Snoeberger2019-04-031-0/+10
| | | | | | Fixes: 129859743 Test: New test point added to KeyguardClockSwitchTest Change-Id: Ia0eb7cb329820a64a4783937f65135fda742a2d1
* Add method to ClockPlugin to get preview image.Robert Snoeberger2019-03-291-2/+37
| | | | | | | Bug: 125370285 Test: Checked that preview images still appear in picker app. Test: Added ViewPreviewerTest Change-Id: I819d58f621be7b0c4f5e3d0e56d7cb2604c8c770
* Refresh TextClock on doze time tick alarm.Robert Snoeberger2019-03-211-0/+2
| | | | | | | | | This should help prevent the digital clock from displaying the wrong time on AOD. Bug: 128534319 Test: atest frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ Change-Id: Icab482f45305b7aa0f5f4153be12843ac28e3924
* Show installed clock plugins in picker app.Robert Snoeberger2019-02-281-13/+44
| | | | | | | | | | | Added methods to ClockPlugin to provide information to picker app. Due to this change, I bumped the api number of the ClockPlugin interface. Bug: 125370285 Test: atest ClockManagerTest Test: checked clock from plugin apk appears in picker app Change-Id: I0dc3d5a450f7d352900b077b28c670ebadb874e7
* Apply colors extracted from wallpaper to clock faces.Robert Snoeberger2019-02-071-1/+11
| | | | | | Bug: 122301289 Test: Looked at clock faces with various wallpapers. Change-Id: I5c0bda2fa1f3da783315a10e1c2f8047d63e1e6d
* Add custom bubble clock face.Robert Snoeberger2019-01-151-0/+114
Bug: 122301289 Test: Using adb to set the settings value switches to bubble clock. Change-Id: I9b5ab62796204cfdce7b9beb147f34f80b0db167