summaryrefslogtreecommitdiffstats
path: root/iconloaderlib
Commit message (Collapse)AuthorAgeFilesLines
* Adding support for storing keywords in iconCacheSunny Goyal2019-08-072-37/+65
| | | | Change-Id: I1183e63a6556ebfb3eee5df23d149e09728193a9
* Guard against NPE inside BaseIconFactoryHyunyoung Song2019-07-181-4/+8
| | | | | | | | | | | Bug: 137253043 This is a bandage fix. Ideally, we should really figure out why TaskIconCache will be sending null icon drawable to BaseIconFactory. Change-Id: Ie005006baeddc9a3379283fe7139e590daad9a57
* Using a common gradle dependency pathSunny Goyal2019-06-211-16/+0
| | | | Change-Id: If01b0d7ebd6719935ac467a5f085b0517b133bbc
* Dot location gettersLyn Han2019-06-201-0/+8
| | | | | | | | For use by SystemUI-Bubbles flyout-to-dot animation Bug: 129158983 Test: manual (Bubbles dot looks good) Change-Id: I53287efcfe3e02b4ba0572d62f138cc52f7f66a6
* Add shape detection logic only for circle iconsHyunyoung Song2019-06-032-10/+116
| | | | | | b/119330044 Change-Id: I93042effa8417167d844f073275e8b941e861e60
* Always place notification dots directly on adaptive icon pathTony Wickham2019-05-061-25/+48
| | | | | | | | | | | | | | | | | - Calculate point on icon path nearest to top right corner, and use that as center for the dot - Cleanup code related to dot offset Test: Set each style (different icon shape) and verify dot is in correct placement for each of: - Folders - Icons in folders - Icons in all apps - Icons on workspace Bug: 124414511 Change-Id: I036ed3677e8af222f00d4fad4a36a7e4d9b49ad9
* Adding utility method to get adaptive icon scaleSunny Goyal2019-05-033-28/+73
| | | | Change-Id: I5ff190c3b794bb13309375782ccd420e85b59091
* Fix icon shape refresh for widgets list / legacy shortcut black bg issueHyunyoung Song2019-04-021-5/+1
| | | | | Bug: 118085499 Change-Id: Ifc3c711815567f40f109e95bcb76c01f23b4a3a2
* Assign default adaptive icon background colorHyunyoung Song2019-03-041-1/+1
| | | | | Bug: 126327184 Change-Id: I8c6db3cc0c2bf334862b60b0aa27aee4850039f1
* Merge "Prevent NPE inside iconloader library" into ub-launcher3-masterTreeHugger Robot2019-02-121-1/+3
|\
| * Prevent NPE inside iconloader libraryHyunyoung Song2019-02-121-1/+3
| | | | | | | | | | | | | | | | | | Bug: 120439430 Even though there is @NonNull annotation, customers may not respect this annotation. Change-Id: I01679d01f6920c3cc945c4abe757b907f150aa23
* | Increase icon cache versionHyunyoung Song2019-02-121-1/+1
|/ | | | | | | | | | Bug: 123939586 TL;DR;; For users that lost the change icon shape setting in home settings, their icons will start upgrading to circle resulting in inconsistent shapes. Change-Id: Ibe5f1cdcc39a6b8688c287f46bcc7d7b09302b27
* Using android Q sdk in gradleSunny Goyal2019-01-301-1/+1
| | | | Change-Id: I5476b64b5279b5333a6bb241e67f35bf81dfe830
* Changing min sdk to 25Sunny Goyal2019-01-294-48/+6
| | | | Change-Id: I0d28069967854357ca755bf25dec19d4979bdecf
* Updating folder shape when icon shape changesSunny Goyal2019-01-231-1/+5
| | | | | | | > Removing unnecessary threading logic and the code was running on main thread anyway Bug: 118757840 Change-Id: I7a012db5a0dbe2c23bd6ff2cd39679a803731ee8
* Make createIconBitmap public methodHyunyoung Song2019-01-081-11/+16
| | | | | | Bug: 122545624 Change-Id: I47ff6ec20f9d34856a727bdf3e328acee0db7f32
* Refresh icon cache when icon shape path has changedHyunyoung Song2019-01-041-1/+1
| | | | | | | | | | | Bug: 120505990 $ adb shell cmd overlay enable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay disable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay enable --user 0 com.android.theme.icon.teardrop $ adb shell cmd overlay disable --user 0 com.android.theme.icon.teardrop Change-Id: I06663b9727f7434aae737d39977f1e6cf09bffbf
* Merge "Move BadgeRenderer to iconloader library" into ub-launcher3-masterTreeHugger Robot2018-12-011-0/+112
|\
| * Move BadgeRenderer to iconloader libraryTony Wickham2018-11-301-0/+112
| | | | | | | | | | | | | | - Rename BadgeRenderer to DotRenderer - Move drawing parameters to new class DrawParams - Add leftAlign param Change-Id: I69de56c13280ba5e7e1ea3868c23edfac01012e9
* | Fixing shortcut icons are not getting correct color extraction.Sunny Goyal2018-11-301-4/+4
|/ | | | | | | | > Avoiding color extraction for icons which have already be evaluated > Fixing color extraction from hardware bitmaps Bug: 111343544 Change-Id: I624866e892465684871fbc130003e32945d86460
* Adding reusable version of IconCache and IconFactorySunny Goyal2018-11-097-27/+301
| | | | | | | | | > Adding resource based allowing projects to control cache behavior > Fixing missing comments from ag/5470467 > Adding support for no-immemory cache Bug: 115891474 Change-Id: I691206805430cd93d3be78119bc249cefd79790a
* Moving BaseIconCache to icon libSunny Goyal2018-11-085-2/+989
| | | | Change-Id: I4fb56dcd6231a848d152e690edaf8885efbc995a
* Moving some utility classes to icon libSunny Goyal2018-11-076-0/+330
| | | | Change-Id: I0cc19ea02fb0732e9e1778a18c0d2c229232d179
* Removing some Launcher3 dependencies from BaseIconCacheSunny Goyal2018-11-061-0/+27
| | | | Change-Id: Ic80ed4a5cd2fc414cd6c27096d798e7f0b8efc72
* Replacing setAlphaComponent with setAlphaComponentBound for better animation ↵Sunny Goyal2018-11-063-9/+43
| | | | | | | | | | interpolation setAlphaComponent throws expetion for invalid range, which can cause brashes in overshoot interpolation Bug: 118390004 Change-Id: Ic9c5ff3d660eba353b982c4c47ccfaf329b3e296
* Fixing wrong directory pack for icon lib classesSunny Goyal2018-11-056-0/+0
| | | | Change-Id: Ic3690198b1c6204e322ba7b0f46ccef5dfa97181
* Create iconloader libraryHyunyoung Song2018-11-0213-0/+1180
Bug: 115891474 Test: Builds everything Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2