{"push_id":2742562633,"size":1,"distinct_size":1,"ref":"refs/heads/polska","head":"cd98cd3d3c482350221c6d91e9a66d9135903822","before":"4aec2b163687289c917ec5da641385870539a980","commits":[{"sha":"cd98cd3d3c482350221c6d91e9a66d9135903822","author":{"name":"Alex","email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@dirtyunicorns.com"},"message":"Introduce lockscreen clock/date styles [1/2]\n\nInspired by OnePlus and their recent options to switch lockscreen\nclock styles on the OP6, I took it upon myself to do the same with our ROM.\n\nThis isn't as fancy as OnePlus' because is just using a list preference instead\nof adding in all the eye candy but it gets the job done!\n\nBelow is a run down of what took place...\n\n- Mirrored the analog clock class to avoid issues with any apps that may\nor may not be utilizing. Google deprecated this class back in 2015 but there's\nstill a chance that something may go wrong some where. Better safe than sorry.\n\nhttps://github.com/DirtyUnicorns/android_frameworks_base/blob/o8x/core/java/android/widget/AnalogClock.java\n\n- Added the analog clock to the keyguard and made it optional\n- Manipulated the clockview format for both 12 and 24 hour to achieved the 'sammy' style\n- Made the sammy style optional and created a switch case for all 3.\n- Set padding, singeline and other layout changes programmatically to minimize the jank\n- Increased the date widget size to 20sp becuase it just looks better\n- Reworked/cleaned up some existing code (Huge thanks to @ezio84)\n- Created bold sammy by using html formatting, based off the sammy one\n- Created bold digital by using html formatting, based off the digital one\n- Created some date styles to match clock styles\n- Vectorized the analog clock images so we can theme\n- Modified Analog clock class to fix ambient display issues (@ezio84)\n- Added DeadPool analog clock because Fuck you, that's why! lol\n\nFor right now there's six clock styles and 3 date styles:\n\nClock styles---\n- Default\n- Digital (bold)\n- Analog\n- Analog (deadpool)\n- Sammy\n- Sammy (bold)\n\nDate styles----\n- Default\n- Semi transparent box\n- Semi transparent box (round corners)\n\nChange-Id: I3122e832a7f320cedaa8ec7b336d0e0c767f94e4\nSigned-off-by: Shubham Singh <coolsks94@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/cd98cd3d3c482350221c6d91e9a66d9135903822"}]}
{"actor":{"display_login":"Felvesthe"}}