summaryrefslogtreecommitdiff
path: root/src/com/android/deskclock/FabController.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
2020-12-08DeskClock: Replace ViewPager with manual fragment handlingMichael W
Change-Id: Iaadfb417f0ca8638936875113ec2f39853f2a39c
2018-04-03Convert DeskClock to androidx.Aurimas Liutikas
Test: compile and open Bug: 76692459 Change-Id: Ibf8e95a917fbe3e364340ed1c5fba6e66f2d8afd
2016-10-06Adding play/pause animated icon for Timer and StopwatchSean Stout
Bug: 30810789 Test: Manually verified play/pause icon animates in timer/stopwatch. Change-Id: Ib81fba107c7299b4aaf7f9313ee68429b31e82ff
2016-10-05Replaced Timer and Stopwatch button images with text.Sean Stout
Bug: 31348653 Test: manual - Play and pause timer and stopwatch Timer and stopwatch left and right buttons now use text instead of images. Timer "add minute" and "reset" button now also uses text. Change-Id: Ie9e19cc7c4162c3fb4c77d92cb53517bf3af83f6
2016-04-06Use avd for stopwatch lap to reset button transition.Fan Zhang
Bug: 28026276 Change-Id: I9d2f12d96bf1d32e66a6f6023f6bfb5d90b3eccc
2015-12-11TimerSetupView now repurposes fab and buttonsJames Lemieux
TimerSetupView used to have its own fab and a custom button for the X icon that cancels timer creation. It now utilizes the application's fab and buttons. This ensures that fab/button locations and animations are uniform. Child fragments and views no longer have direct access to the fab and buttons outside of specific callbacks. This design attempts to remove past bugs where irrelevant views altered the state of the fab at inappropriate times. Change-Id: If8c69246e915f6357df80a6d8107f7b2b5a6172e