summaryrefslogtreecommitdiff
path: root/libs/hwui/CanvasTransform.cpp
AgeCommit message (Collapse)Author
2021-05-06Adding force-dark support to RippleDrawableLucas Dupin
Add force-dark support to RippleDrawable by modifying the ink color. Test: manual Test: atest CanvasOp Fixes: 186130682 Change-Id: I89eaaf3afa5ec53a74d2d08de8cff6484e55a912
2020-03-01[HWUI] remove libui from HWUI's dependenciesAlec Mouri
Bug: 136263238 Test: builds Test: interact with device Change-Id: I18540f78a4ee5ffcc30c96ff7862480e1d8fe50a
2019-04-29use new non-255 colormatrixMike Reed
also use new naming convention for asAColorMode Test: make Change-Id: I32ddaf6d2d0ce9b0f29ee32e866879884fc926b4
2019-04-11Update to new factories for effectsMike Reed
Test: make Change-Id: Ib342878524b51d0eacf6c60ece3c7da8bf27d2c0
2018-12-03Remove ; from closing namespaces in libs/hwuiChris Blume
When closing a namespace a } is sufficient. It doesn't need to be }; like closing a class or enum. Within frameworks/base/libs/hwui there is a mix between } and }; when closing a namespace. There are even mixes between a .h and the corresponding .cpp files. In a separate CL I was asked to not close with };. That was a good comment. I adopted the style from nearby code. This CL cleans up the nearby code. Test: I made sure the code still built as expected. Change-Id: Ieb314a4f48d6e33752463f3be4361fdc9be97482
2018-09-21Support auto-dark for VectorDrawableJohn Reck
Also fixes a bug where non-animatable properties (colorfilter) weren't captured at record-time Test: poked around, quick settings doesn't look awful Change-Id: I57312dd5eb70f477814a4d898963ee010153c243
2018-09-20Make auto-dark a bit betterJohn Reck
Handles transform of basic bitmaps Tweak to always treat text as foreground Test: builds, poked around with force_dark Change-Id: I733d39e05067438335da5a7eac06111f66f1228d
2018-08-29New DisplayList v2John Reck
First step of many * Pulls SkLiteDL and SkLiteRecorder into HWUI * forceDark shifted to be a sync-time transformation instead of record time. No meaningful behavior change, but much more flexible heuristics are possible this way. Test: build, poked around with forceDark on Change-Id: I7b7cec5b7fd7c2b18823b4d92d821cf5898f9b88
2018-07-19More auto-dark stuffJohn Reck
Initial attempt at selective bitmap inverting Use CIE_LAB colorspace for inverting instead of HSV Test: Manually poking around Change-Id: I014ff31eeae471ee7f6a40a6daa4e7099c2a7ff8
2018-07-09Auto-dark mode prototypeJohn Reck
Experimental force_dark prototype mode. Enabled by setting debug.hwui.force_dark to true. Test: verified nothing changes without prop being set Change-Id: Ib02f3f1a9c591cab1f312b827451f04c782c2f41