summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/graphics/PreloadIconDrawable.java
Commit message (Collapse)AuthorAgeFilesLines
* Adding utility method to get adaptive icon scaleSunny Goyal2019-05-031-5/+5
| | | | Change-Id: I5ff190c3b794bb13309375782ccd420e85b59091
* Deleting invalid icons when an app is restoredSunny Goyal2018-05-301-3/+3
| | | | | | | | When a app is restored, it may not be in exactly the same state as it was when backed up. Some components might be missing, and some shortcuts may be disabled or unavailable Bug: 63525806 Change-Id: I09e6c0e9a9d2c1e8ccd73430f94bd065bdf2718e
* Prevent infinite recursion when drawing PreloadIconDrawableTony2018-03-081-2/+2
| | | | | Bug: 74372748 Change-Id: I9dbd4a29fa3ae020711a76334da888e1f1dd72ea
* Removing click-feedback shadow generation logic in BubbleTextViewSunny Goyal2018-03-051-4/+2
| | | | | | | | Instead of animating the shadow, animating the icon scale. This avoids unnecessary bitmap creating at app-launch and also plays nice with the app-launch transition Change-Id: I1d3d24bc7212a6d659855ff1002a45388e269e52
* Stop using deprecated Canvas APIs.Derek Sollenberger2018-03-011-1/+1
| | | | | | Bug: 73777445 Test: compile Change-Id: Ic0a1f4ebc10ba46229fd97408c052c0b450b4945
* Dominant color is part of icon cacheSunny Goyal2018-01-031-6/+5
| | | | | | | | | > Calculating extracted color during icon generation and storing it in model and DB > Removing unused logic avoid various types of badge rendering > Icons are badged with extracted colors, while folder is badged with theme color Bug: 35428783 Change-Id: I93e30c52fbded7515c3ae1778422e84672eafb56
* Consolidating various interpolatorsSunny Goyal2017-10-261-3/+2
| | | | Change-Id: I9588eee3552001b162a1e8d5ccefcfb44d221880
* Setting the callback for previewItems to folderIcon. This allows the ↵Sunny Goyal2017-06-221-1/+1
| | | | | | | | | | FolderIcon to get updated without going through the child'draw pass. Also simplifying the draw code for the FolderIcon to remove any cycling invalidate calls Bug: 62900800 Change-Id: I17009a5347a1c3c35426313ac759e0240ce6a395
* Merge "Making bitmap of PreloaderIconDrawable smaller so it fits inside the ↵TreeHugger Robot2017-06-151-1/+1
|\ | | | | | | progress circle." into ub-launcher3-dorval-polish
| * Making bitmap of PreloaderIconDrawable smaller so it fits insideMario Bertschler2017-06-141-1/+1
| | | | | | | | | | | | | | the progress circle. Bug: 62270605 Change-Id: Idd3c145303531dbfbe9bd69af68b5c02baf21a93
* | Fix for clipped promise icon.Mario Bertschler2017-06-151-4/+4
|/ | | | | Bug: 62544596 Change-Id: Iadbd8b27244b6d2ff3f9f0167f90b2a260687bc3
* Fix crash when the progress of an installing app decreasesSunny Goyal2017-02-271-0/+3
| | | | | Bug: 35793892 Change-Id: I957967c7a11359d951fe055027aa45c7dfd1bd84
* Simplifying some launcher themesSunny Goyal2017-02-161-2/+6
| | | | | | | > Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
* Updating the PreloadIconDrawableSunny Goyal2017-02-061-0/+289
> The drawable gets the path from MaskIconDrawable path, instead of using a circle > The progress changes are animated as well Bug: 34831873 Change-Id: I4e7f0b610f4fd94de8e0cfcf8b179b775cf0b4d8