Commit Graph

13 Commits

Author SHA1 Message Date
Sunny Goyal e48fe1095d Deleting invalid icons when an app is restored
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
2018-05-30 15:23:09 -07:00
Tony f2523dc8aa Prevent infinite recursion when drawing PreloadIconDrawable
Bug: 74372748
Change-Id: I9dbd4a29fa3ae020711a76334da888e1f1dd72ea
2018-03-08 14:12:30 +00:00
Sunny Goyal 726bee7d5d Removing click-feedback shadow generation logic in BubbleTextView
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
2018-03-05 14:56:38 -08:00
Derek Sollenberger 26a1b452f4 Stop using deprecated Canvas APIs.
Bug: 73777445
Test: compile
Change-Id: Ic0a1f4ebc10ba46229fd97408c052c0b450b4945
2018-03-01 04:39:57 +00:00
Sunny Goyal 179249d804 Dominant color is part of icon cache
> 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
2018-01-03 16:55:58 -08:00
Sunny Goyal 5bc6b6f14c Consolidating various interpolators
Change-Id: I9588eee3552001b162a1e8d5ccefcfb44d221880
2017-10-26 16:38:55 -07:00
Sunny Goyal 828b11e5a9 Setting the callback for previewItems to folderIcon. This allows the 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
2017-06-22 10:25:43 -07:00
TreeHugger Robot 5692eb4554 Merge "Making bitmap of PreloaderIconDrawable smaller so it fits inside the progress circle." into ub-launcher3-dorval-polish 2017-06-15 23:29:38 +00:00
Mario Bertschler 6db41f1c69 Fix for clipped promise icon.
Bug: 62544596
Change-Id: Iadbd8b27244b6d2ff3f9f0167f90b2a260687bc3
2017-06-15 11:17:33 -07:00
Mario Bertschler fd126aa95e Making bitmap of PreloaderIconDrawable smaller so it fits inside
the progress circle.

Bug: 62270605
Change-Id: Idd3c145303531dbfbe9bd69af68b5c02baf21a93
2017-06-14 15:33:32 -07:00
Sunny Goyal 879037d86a Fix crash when the progress of an installing app decreases
Bug: 35793892
Change-Id: I957967c7a11359d951fe055027aa45c7dfd1bd84
2017-02-27 09:41:33 -08:00
Sunny Goyal 1f3f07d47c Simplifying some launcher themes
> Replacing some colors with theme attributes
> Simplifying styles definition by removing unnecessary inheritance and inlining some definitions

Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
2017-02-16 15:24:37 -08:00
Sunny Goyal 96ac68a481 Updating the PreloadIconDrawable
> 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
2017-02-06 10:43:27 -08:00