summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/IconCache.java
Commit message (Collapse)AuthorAgeFilesLines
* Fixing some IconCache methods not thread safeSunny Goyal2014-10-161-107/+69
| | | | | Bug: 17981568 Change-Id: I0d49604c2e38bc9017cba527d87e24e8b086f1da
* Updating icons for sortcuts when the target app updates.Sunny Goyal2014-10-071-1/+1
| | | | | Bug: 17398260 Change-Id: I055abb971d1f72245e8616ac2ce07bcdf37cdd52
* Cleaning up icon resizing codeSunny Goyal2014-10-071-3/+1
| | | | | | | | > For resizing icons, scaling them down instead of cropping them > Removing duplicate methods and variables Bug: 17663119 Change-Id: I0f270860c0edaaa939495e63e05da841a603f6e9
* Updating promise icon's bitmap and label when onBadgingChanged is receivedSunny Goyal2014-09-191-1/+5
| | | | | Bug: 17583799 Change-Id: I68b4f9d4086c43bd949ad8b46b574ec78edb32db
* Null check in flushInvalidIconsSunny Goyal2014-09-151-1/+2
| | | | | | | | > Icons in a CacheEntry can be null, for a restored app. No need to flush such entries on DeviceProfileChange Bug: 17489687 Change-Id: If6e76206ae5bd8201c9928257706224f2f34c232
* Disabling debug logsSunny Goyal2014-09-091-2/+2
| | | | | issue: 17327468 Change-Id: If0cd46e1309f58eed52e773ef15e3259df10c905
* Handling label and icon from SessionInfo.Sunny Goyal2014-09-041-5/+47
| | | | | | | | | > The ShortcutInfo stores state as bit flags and not as ints > Intents of auto-install shortcut are automatically updated upon installation > Icons/titles for active sessions are cached in IconCache Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4
* Adding support for managed profiles in widgetSunny Goyal2014-08-201-0/+4
| | | | | | issue: 16892811 Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
* Updating the ui for widget restore flowSunny Goyal2014-08-121-15/+57
| | | | | | | | | | | | | | > Pending widget show a PreloadIconDrawable to indicate installation progress > Only the concerned widgets are reinflated on package install and not the whole workspace. > Adding support for storing default package icon in IconCache issue: 10779035 issue: 16737660 Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
* Change getBadgedLabelForUser to use CharSequenceKenny Guy2014-07-211-2/+2
| | | | | Bug: 16401636 Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-0/+4
| | | | | | | | | This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
* Revert Cls stopping now-master running on googlefoodKenny Guy2014-06-241-4/+0
| | | | | | | | | | This reverts commits 01453e855fa87ee19f61223b2b1a6965071ee95a. and 242bbe1b72e4978dde8a662d164cd186305e14a7. "Add content description to bagded icons." "Remove reflection now we are building against L" Bug: 15833449 Change-Id: I81a5316f5619a9cd3b6ab9fd03b2ba96657b7f68
* Add content description to bagded icons.Kenny Guy2014-06-231-0/+4
| | | | | | | | | Enabled accesibility so that icons badged by the managed profile have a content description that is different to the non-bagdged version. Bug: 15106236 Change-Id: Id483273173d9539916eebd59111d179087526be3
* remove work around for bug 14891460.Chris Wren2014-05-141-7/+0
| | | | | | Bug: 14895464 Change-Id: I1e923e4fca194cde19195d156e33e99fc9fe86b6
* work around bug in LauncherAppsCompat to find restored iconsChris Wren2014-05-131-2/+11
| | | | | Bug: 14895464 Change-Id: Iff4f1a9a2e8edf789231be7a1c20e277e18eb05c
* Launcher3 multi-profile supportKenny Guy2014-04-301-50/+101
| | | | | | | | | | | | | | | | | | | | | Use LauncherApps API and badging APIs instead of PackageManager. With compatability layer that uses PackageManager pre L. Adds support to show apps from current user and any managed profiles. Background: Managed profiles are user sandboxes that are visible from the primary user and can be launched as if they are a part of this user. A launcher should now be capable of listing apps from this user as well as related profiles of this user. Launching of activities is now via the LauncherApps interface, to allow for cross-profile app launching. Only activities with category LAUNCHER can be added as a shortcut on the workspace for a managed profile. Widgets and non-application shortcuts are only supported for the current profile. Widgets from the managed profile are not available. Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9
* update promise icon statusChris Wren2014-03-111-14/+0
| | | | | | | also fix a crash in LauncherModel.DEBUG_LOADERS Bug: 10778992 Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
* use restored icon for restored app shortcutsChris Wren2014-02-141-14/+199
| | | | | Bug: 10778992 Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017
* Initial changes to support smaller landscape layouts.Winson Chung2013-10-281-1/+1
| | | | Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
* Fix concurrent modifcation exception (issue 11234805)Adam Cohen2013-10-151-3/+6
| | | | Change-Id: I21a7e968c249b0d8876fbffa68954ddc229b16df
* Flushing icons of the wrong size. (Bug 11203738)Winson Chung2013-10-141-0/+14
| | | | Change-Id: I9468d2e798fcf9890970270041d341e7653432f1
* Move wallpapers to external activityMichael Jurka2013-09-041-1/+1
| | | | | | | Also renaming Launcher's ApplicationInfo to AppInfo since ApplicationInfo is already a framework class Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
* Move LauncherApplication's state and code to LauncherAppState.Daniel Sandler2013-06-111-2/+2
| | | | | | | | This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+229
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b