summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/ItemInfo.java
Commit message (Collapse)AuthorAgeFilesLines
* WidgetTray revamp workHyunyoung Song2015-04-081-7/+7
| | | | | | | | | | | | | | | | | | | | | | | - RecyclerView is rendering - Animation is connected - Drag and drop is now handled - UI tweaking: background, margins, more to come. - Flicker and preview not loading issue: fixed height for the horizontal scroll view. - Shortcuts are added - Widget Preview loading should support shortPress for drop - UI tweaks left: overlay of arrow when there are more items to scroll - icons are added in the section header - Sorting of widget sections and widget horizontal list - Adding all the padding constants to dimen.xml file - RecyclerView should only support one view type For items to be addressed in follow up patches OR CLs, TODO is added to the comment. b/19897708 Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
* Rewrite: Widget preview loader logicSunny Goyal2015-03-201-20/+1
| | | | | | | | | > Widget previews are saved in data dir instead of cache dir > Expiring widget previews similar to IconCache > Removed support for setting thread priorities Bug: 19865031 Change-Id: Ib6033c2b1ff8ae61bba8762ca994ccd8217d3c75
* Adding a rank column for itemInfoSunny Goyal2015-01-131-5/+7
| | | | | | | | > Rank is used to determine position of an item in a folder. Bug: 18590192 Change-Id: I2826a7c570b4cc58e719d685f17a24ec6133804f
* Handling label and icon from SessionInfo.Sunny Goyal2014-09-041-4/+0
| | | | | | | | | > 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 to restore widgets even for jelly beans.Sunny Goyal2014-08-081-2/+6
| | | | | | | | | | | | | | | > Show 'widget-not-ready' until the widget app is installed > Once the app is installed, bind a new widget id (not required on L if id-remap was received). **Remove the widget if bind failed > If the widget has no configuration screen, show the widget, otherwise show 'setup-widget'. > Clicking 'setup-widget' shows the config screen, and updates the widget on RESULT_OK. issue: 10779035 Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
* Change getBadgedLabelForUser to use CharSequenceKenny Guy2014-07-211-1/+1
| | | | | Bug: 16401636 Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-0/+7
| | | | | | | | | 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-7/+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/+7
| | | | | | | | | 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
* Launcher3 multi-profile supportKenny Guy2014-04-301-2/+19
| | | | | | | | | | | | | | | | | | | | | 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
* Sanity check screenId before persisting ItemInfo.Adrian Roos2014-04-281-1/+6
| | | | | Bug: 13447571 Change-Id: I014dcf1eb313c2312953716fb53e542caaeb285b
* Fix source code so it compiles on google3Sameer Padala2014-04-211-1/+2
| | | | | | This is a follow up to cr/65191596 which checked for String + array warnings. Change-Id: Id70eaa32b63b838b03be21d632c7470039b6423f
* Make all fields of ItemInfo public.Anjali Koppal2014-03-171-11/+11
| | | | Change-Id: Iaf99aa125634a467616eedd0888a0affa08d79bd
* update placeholder on package install or restoreChris Wren2014-02-061-0/+4
| | | | | Bug: 10778992 Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
* Add support for initiating a drag from an overlay.Mathew Inwood2013-11-201-1/+1
| | | | | | This allows an overlay to create apps and shortcuts on the home screen. Change-Id: I63ee4ef02db3f4bc89726c394fd55ad26f50452c
* Removing old new-app animation code, and refactoring InstallShortcutReceiver ↵Winson Chung2013-07-261-0/+4
| | | | | | to use new add/bind logic. Change-Id: Ide27dbcf1d1b1631fcd33a6c54a51b31e125c2f4
* Implement ability to uninstall shortcuts from workspaceMichael Jurka2013-07-191-15/+0
| | | Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
* Initial implementation of Shrink-wrapAdam Cohen2013-06-251-4/+4
| | | | Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+194
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b