summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Folder.java
Commit message (Collapse)AuthorAgeFilesLines
* Protected Folder Fragment: Add remove Shortcut from list.Raj Yengisetty2014-06-231-0/+14
| | | | Change-Id: I0e9f141bc34bcfa955d7f5f3535d9d437e94b1da
* Merge "Fix protected folder behavior" into cm-11.0Abhisek Devkota2014-06-181-0/+3
|\
| * Fix protected folder behaviorRaj Yengisetty2014-06-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | Repro: - Create a folder with 2 apps - Protect the folder - Launcher the protected apps activity in settings - Uncheck one of the apps - Observer the folder is replaced with the other protected app shortcut! Change-Id: Iee2ac65b1c92f5720c56f87a12520e320db3b4f2
* | Revert font change supportMichael Bestas2014-06-171-1/+0
|/ | | | Change-Id: I1f1ecd348c485e370b92c4b49512a3bc5d9d56a7
* Protected App [3/3]Raj Yengisetty2014-06-111-6/+99
| | | | | | | | | | | | | | Trebuchet - Protected Apps - Build fixed to work with LOCAL_SDK_VERSION - Fixed adding components to protected folders and adding protected folders to other folders - Fixed issues with EditText for FolderName - Adding support for Settings hooks - Uses Setting's LockPattern for Protected Apps - Add Read from Settings Secure DB (DO NOT WRITE!) - Protecting a folder updates Launcher without restart - Batch send component visibility Change-Id: I41c295e7f2c9abc9b2e77e6e3d39b7ca60d47139
* Implement spring-loading of folders when dragging over.Jorim Jaggi2014-06-061-40/+99
| | | | | Bug: 8912132 Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
* Adding migration Clings. (Bug 11973614)Winson Chung2014-06-061-2/+2
| | | | | | - Refactoring Launcher cling code out to LauncherClings. Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
* Quick patch for b/12446428.Dan Sandler2014-06-061-1/+4
| | | | | Bug: 12446428 Change-Id: I5b9472e55a8919f5640c6e97fede9b5637819be0
* Allow DISABLE_ALL_APPS to be set using a system property.Nilesh Agrawal2014-06-061-2/+2
| | | | | | | | | - Moving the property to LauncherAppState - The property is only read on dogfood builds. The property can be set using setprop or /data/local.prop Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
* Allow scrolling folders in when all apps is disabled.Nilesh Agrawal2014-06-061-3/+14
| | | | | | | | Allows for more items to be added into a folder. Allows for scrolling by letting the content area inside the scroll view to be taller. The height of content area was capped in https://googleplex-android-review.git.corp.google.com/#/c/387583/ Change-Id: I8d7950ac9c155e26c5a299c17ae6a2bbf829dce6
* Fix issue where deleting item from folder leaves extra pageAdam Cohen2014-06-061-1/+5
| | | | Change-Id: Ie741dbe5341d8237c85f732b26661d084b99f6e2
* Fixing crash in empty folders. (Bug 11627191)Winson Chung2014-06-061-2/+13
| | | | | | Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52 Signed-off-by: Winson Chung <winsonc@google.com>
* Decrease delay for closing folder on removal of an item (issue 11028310)Adam Cohen2014-06-061-1/+1
| | | | Change-Id: Ie5c094af8b0293e56bf016be5b4f4db05e7a9a05
* Generalize support for 'App Info', 'Uninstall' and 'Delete'Mathew Inwood2014-06-061-0/+10
| | | | | | | This allows other DragSource's to allow this behaviour, instead of it being tied to specific source types. Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
* Use the icon bounds for all calculations.Winson Chung2014-06-061-0/+5
| | | | | | | | - Fixes a drag and drop issue when the dynamic grid scales icons down, due to the drawable bounds not being equal to their bitmap sizes. Change-Id: If7c68b51131de7bac3195a2619e22340f7789432
* Fix CellLayout UNSPECIFIED exception (issue 11627191)Adam Cohen2014-06-061-3/+14
| | | | Change-Id: Id2f840a804c51e8c61bb28882796059584e4c8bb
* Fix issue where extra page hangs around (issue 11634172)Adam Cohen2014-06-061-0/+2
| | | | Change-Id: Ia0900c9fc07bc587259e36ed17816eaf519b10dc
* Initial changes to support smaller landscape layouts.Winson Chung2014-06-051-2/+0
| | | | Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
* Add visible touch feedback to items in foldersAdam Cohen2014-06-051-0/+1
| | | | Change-Id: I41937f7864bca39232079a90139679ebd5cc2a07
* Fix name of defaultFlamefire2014-05-091-2/+2
| | | | Change-Id: I562dc2572f1d8fdb69f615d1a7f0f425cc27d698
* Add options to hide icon labels from drawer and homescreenFlamefire2014-04-221-5/+13
| | | | | | | | | | | | | Forward port from CM 10.2 PS3: Fix typo PS4: Rebase and global defaults PS8: Rebase to head Issue: There is already an Icon section in general, move both settings there or leave separate in their categories? Change-Id: I90ae4d2357e5f45fa9261c4eaa0fcf287996e327
* FontStylePreference: Initial preference with choice of font familyNebojsa Cvetkovic2014-01-241-0/+1
| | | | Change-Id: Idbb400605e47cd4f64a7edd05ceea05504727efc
* Ensuring that we are calling setCompoundDrawable() instead of using ↵Winson Chung2013-10-141-1/+1
| | | | | | intrinsic bounds. (Bug 11203738) Change-Id: Ic2100e4008d7fc95d2670aab9d3b46a96a927599
* Workaround for small icons. Draw icon drawables at the expected icon size. ↵Winson Chung2013-10-131-1/+1
| | | | | | (Bug 11203738) Change-Id: If976ae8b3603e8bf42e8e857ce0b178d977b0a43
* Fixing issue with folder opening in the wrong bounds (Bug. 11025207)Winson Chung2013-10-101-1/+1
| | | | Change-Id: I8baa5d5e8936e89c542d8ac0d98bc0ad939e01eb
* Tweaking folder cling to support large folders.Winson Chung2013-09-261-1/+2
| | | | Change-Id: I3c500463fba8db71807ad4fc27c6923f3e1d0770
* Use AutoScrollHelper from the support-v4 libraryBjorn Bringert2013-09-251-0/+1
| | | | | Bug: 10532260 Change-Id: Ic6519a119fd75890c766b6ffccfc5f660934e1b7
* Initial changes to restore clings.Winson Chung2013-09-201-3/+9
| | | | Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
* New folder look / assetsAdam Cohen2013-09-201-3/+6
| | | | | | | -> Restricting the number of items in folders to prevent scrolling (excess items deleted) Change-Id: I4af2590cd5ea7677c875c031f84d4d5bcca3e6e9
* Merge "Move wallpapers to external activity" into jb-ub-gel-agarMichael Jurka2013-09-041-2/+2
|\
| * Move wallpapers to external activityMichael Jurka2013-09-041-2/+2
| | | | | | | | | | | | | | Also renaming Launcher's ApplicationInfo to AppInfo since ApplicationInfo is already a framework class Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
* | Port AutoScroller to launcher3Alan Viverette2013-09-031-23/+23
|/ | | | Change-Id: Ic2b7b5faac4878f3b4645c291e36c5f7734c7f8b
* Clean up unused codeMichael Jurka2013-08-281-7/+1
| | | Change-Id: Ie1e927aa0b5304f62cfffaab449abb3133870f80
* Fixing issue where dragging final items out of hot seat folder can causes ↵Winson Chung2013-08-231-2/+3
| | | | | | inconsistency issue. - Fixing restoring of workspace screens on rotation (and flash of custom content page indicator) - Fixing NPE on long pressing on empty screen to go into overview mode
* Fixing folders to always show in view, removing old assets and references to ↵Winson Chung2013-08-231-23/+25
| | | | LauncherModel count.
* Add logging for Folder drag issuesMichael Jurka2013-08-211-0/+1
| | | | | | | | | Drags out of Folders are getting lost, adding debug code to see if the uninstall logic is causing that Also, fixing one potential cause of the issue Change-Id: I0b6a91268571c2a9394e0d6f19fb9d324b427b51
* Initial Changes for Dynamic GridWinson Chung2013-08-201-38/+12
| | | | Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
* Don't switch pages when dragging out of folderAdam Cohen2013-08-141-0/+2
| | | | | | | | | -> Fix bug where page switch indicator wouldn't draw on right -> Fixed some code related to folder reordering -- no behaviour change yet, but once the new AutoScroll is in, this should behave correctly (ie. shouldn't reorder while in scroll zone) Change-Id: Ic14a8d70858777164f094204472dc6a726dd461a
* Fix bugs with dragging items out of foldersMichael Jurka2013-08-021-1/+1
| | | | | | | | | | A folder of one item wasn't converted to a single item - this fixes that regression It was also possible, in some rare cases, that the Folder cleanup code never ran after uninstalling an app Change-Id: Iee2490ed95d4f4a243b6f93411397a397aef7ae1
* Implement ability to uninstall shortcuts from workspaceMichael Jurka2013-07-191-4/+33
| | | Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
* Porting PagedView from KG to gain simplified scaling model, reorderingAdam Cohen2013-07-081-4/+5
| | | | | | | | | | | | -> We are no longer scaling individual Celllayouts, instead we are scaling the entire Workspace (and the CellLayouts come along for the ride) -> Due to the above change, many assumptions were broken. In particular, our drag and drop / animation archiecture is fairly fragile due to the frequent and complex mapping of points between different bits of the hierarchy. This CL contains a number of fixes which address such breakages. Change-Id: I2e630eab17528729b764b61f587858f6499fd318
* Merge "Use autoscroller to handle drag scrolling" into jb-ub-gel-agarMindy DelliCarpini2013-07-031-95/+34
|\
| * Use autoscroller to handle drag scrollingMindy DelliCarpini2013-07-031-95/+34
| | | | | | | | Change-Id: Ie094cbfa91f898133f84ad9ffc349d8cfa07e668
* | Lazily instantiate LauncherAppState.Daniel Sandler2013-06-271-2/+0
|/ | | | | | | | The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
* Accelerate scrolling based on duration of drag near edgeMindy DelliCarpini2013-06-271-6/+40
| | | | | | | TODO: tune max/ min scrolling velocity Tune scroll trigger zones Change-Id: I1daf10f12617fa9362cb340d5ed7bac98b23c9be
* Initial implementation of Shrink-wrapAdam Cohen2013-06-251-3/+3
| | | | Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
* Move LauncherApplication's state and code to LauncherAppState.Daniel Sandler2013-06-111-1/+1
| | | | | | | | 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
* HACK: temporary upgrade path from com.android.launcher2Adam Cohen2013-06-061-0/+10
| | | | | | | | | -> load old provider -> permute pages -> strip all duplicates from workspace -> add [allapps minus workspaceapps] to apps folder Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
* Add a dummy activity which we can catch on-click in launcher to open ↵Adam Cohen2013-06-061-8/+1
| | | | | | allapps/widgets Change-Id: Idc718a9e03e7358f972c59fcfc3bf2eaf75e56ee
* Making folders scrollableAdam Cohen2013-06-061-19/+142
| | | | Change-Id: Id6c9ec62acc6d86dc627d20abad3e2d92010f539