summaryrefslogtreecommitdiff
path: root/src/com/android/deskclock/timer/TimerCircleView.java
AgeCommit message (Collapse)Author
2022-04-18DeskClock: Material Me? No YOU!Michael W
* Since Android 12 introduced a new style, try to mimic it for this app * Due to AndroidX and the support libraries still being old, we have to, like Settings does with SettingsLib, create our own styles in the desired looks * Also adjust the color scheme to reflect Material You * We deviated from AOSP already quite a bit, so we don't need to really care about the change's footprint * Clean up behind us by removing (now unused) resources and includes in files that were modified anyways (and adjust order while on it) * Copy CollapsibleToolbarBaseActivity and required resources from SettingsLib - that way we can mimic the style easily without having to move this app to system_ext or using privileged_api * Since we always use dark layout, modify slightly so it works for us * Remove things we don't need so we don't have to copy too many files from SettingsLib Change-Id: I4c81e03c71f468a9e468426a8233ad96059cb05d
2016-12-07Add ThemeUtils to resolve theme attributesJustin Klaassen
Bug: 25693255 Test: manual - basic sanity check on API 25 device Change-Id: I2a7e9ccfc695017a91b66a88e71b769f8da667ef
2015-12-23Fix build warningsJustin Klaassen
Bug: 26292420 Change-Id: Ib5d8b09fa9d70f408c3097654bae5b6906fac048
2015-11-10Refactor Timers to use new unified DataModelJames Lemieux
Bug: 24816218 Bug: 25494722 This refactoring introduces a Timer domain object. Instances of these domain objects are fetched via a DataModel class that is the single point of reference for all timer data. This allows the data to be shared across the entire application. In particular, the timer notifications, TimerFragment and ExpiredTimersActivity all draw upon the same model to determine what the state of the timers are. IMPORTANT: The public intent com.android.deskclock.action.STOP_TIMER has been renamed to com.android.deskclock.action.PAUSE_TIMER to be more accurate. Change-Id: Ib904e80a25c6de1861de2b395bec27db16ff0e66