summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/FolderInfo.java
Commit message (Collapse)AuthorAgeFilesLines
* Unifying toString() method for various ItemInfo subclassesSunny Goyal2016-09-011-8/+0
| | | | Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
* instead of unbinding items from the loader, unregistering listenersSunny Goyal2016-05-171-10/+2
| | | | | | | in activity.onDestroy() Bug: 28740269 Change-Id: I6bf2ad6aca43970fd10cfbcc113e609c227e07bf
* Revert "Wrapping folderLisners with weak reference, and storing it as an array"Sunny Goyal2016-05-171-24/+27
| | | | | | This reverts commit e48644a6cc3024399ee2c9509d42ef6c2770ef61. Change-Id: I7bd1d09cae42193de228cb58c08526eeaf57ec04
* Wrapping folderLisners with weak reference, and storing it as an arraySunny Goyal2016-05-171-27/+24
| | | | | | | | Storing as an array allows the listeners to be overriten on next bind. These changes remove the need to unbind the item Bug: 28740269 Change-Id: Ibbe4b760d64784fbe3075d18e2b946b366d631c5
* Fixing folder icon not getting redrawn when the contents changeSunny Goyal2016-04-061-7/+7
| | | | | | | | | | | | > Removing parent from ItemOperator as inconsistant values were being passed in workspace and folderPagedView > Fixing itemChanged causing multiple redraws, by passing a 'animate' parameter to explicitely request animation Bug:27740161 Bug:28015426 Change-Id: Ide7b266bde9aad5f450a3f808a59182fe01a5110
* Refactor FolderIcon to separate the preview effect into it's own classAdam Cohen2016-02-121-3/+3
| | | | | | | -> Created com.android.launcher3.folder package to house most folder-related files (aside from the FolderInfo) which is more related to the model than the UI. Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
* Refactoring ItemInfoSunny Goyal2015-06-301-2/+1
| | | | | | | | > Changing dragObject to ItemInfo > Removing dropPos which is always null > Removing requiresDbUpdate which is only used in CellLayout Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
* Do not trim folder titleSunny Goyal2015-05-211-1/+1
| | | | | Bug: 21297281 Change-Id: I633780f8207aabc8362f016e6b5a6e720cee1b86
* Merge "Animating the folder title & page indicator when a multi-page folder ↵Sunny Goyal2015-05-131-0/+5
|\ | | | | | | is opened for the first time" into ub-launcher3-burnaby
| * Animating the folder title & page indicator when a multi-page folderSunny Goyal2015-05-081-0/+5
| | | | | | | | | | | | is opened for the first time Change-Id: I70f5fd942724251a5e863fbb78a0c24f440b0283
* | Trim all whitespace from titles and labels.Winson Chung2015-05-081-1/+1
|/ | | | | | Bug: 20953160 Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
* Removes code that is incompatible with google3, Velvet build rules.Hyunyoung Song2015-04-301-1/+0
| | | | Change-Id: Ibce31b52f5ffc4a03bdd48c575521c774f17a353
* Goodbye folder sortingSunny Goyal2015-04-271-0/+1
| | | | | | > Removing all traces of folder sorting Change-Id: Id77a7745564c869f5c5c1b3a560bf606fe08b107
* Automatically adding managed profile shortcuts to homescreen.Sunny Goyal2015-04-101-2/+7
| | | | | | | | | | | | When the managed profile is created, a "Work" folder is created and added to the homescreen. All work profile apps are added to this folder and icons for subsequent installs (withing a fixed time frame) are automatically added to this folder. If this folder get deleted or the time-frame expires, icon for any new install is placed on the homescreen. Bug: 17410319 Change-Id: I49f4e437707d5eabe4eec85320765bf6ba7fde97
* Adding sort switch in FolderPagedViewSunny Goyal2015-03-171-0/+32
| | | | | | | | | > Adding options column in DB to store generation purpose flags > Storing isSorted flag in FolderInfo > Adding a switch for A-Z sorting (only visible if pageCount > 1) > When in sorted mode, spring-load snaps to the target location for 1.5 seconds Change-Id: I8c7c778d2cc3ccbd35a2890a1a705e1c1a7e9a66
* Launcher3 multi-profile supportKenny Guy2014-04-301-2/+6
| | | | | | | | | | | | | | | | | | | | | 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
* 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 classes that extend ItemInfo public.Anjali Koppal2014-03-041-1/+1
| | | | | | | Also follow up on changes in ag/418520, adding Views to those method params. Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a
* Fixing crash in empty folders. (Bug 11627191)Winson Chung2013-12-091-2/+2
| | | | | | Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52 Signed-off-by: Winson Chung <winsonc@google.com>
* Revert "Fixing crash in empty folders. (Bug 11627191)"Winson Chung2013-12-101-2/+2
| | | | | | This reverts commit 68b667848ef7c6f69b24a40d780e4088a5f2a1fb. Change-Id: I51da495d6f8ef98b268c23cce02cce5ef1c7ea00
* Fixing crash in empty folders. (Bug 11627191)Winson Chung2013-12-091-2/+2
| | | | Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52
* Ensuring that the db reflects all package added/removed/updated broadcasts.Winson Chung2013-07-111-0/+8
| | | | | | - Also ensuring that newly added pages are added before the empty page Change-Id: I97a01f791c438aa5c5b1fd770d3536b449a871bc
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+111
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b