summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Folder.java
Commit message (Collapse)AuthorAgeFilesLines
* Allow scrolling folders in when all apps is disabled.Nilesh Agrawal2014-01-021-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
* Clean up importsMichael Jurka2013-12-131-4/+0
|
* Fixing crash in empty folders. (Bug 11627191)Winson Chung2013-12-091-2/+13
| | | | | | Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52 Signed-off-by: Winson Chung <winsonc@google.com>
* am d65fb393: Merge "Revert "Fixing crash in empty folders. (Bug 11627191)"" ↵Winson Chung2013-12-091-13/+2
|\ | | | | | | | | | | | | into jb-ub-now-jolly-elf * commit 'd65fb393595cb093936c7d5d0d54b0511430aa9d': Revert "Fixing crash in empty folders. (Bug 11627191)"
| * Revert "Fixing crash in empty folders. (Bug 11627191)"Winson Chung2013-12-101-13/+2
| | | | | | | | | | | | This reverts commit 68b667848ef7c6f69b24a40d780e4088a5f2a1fb. Change-Id: I51da495d6f8ef98b268c23cce02cce5ef1c7ea00
* | am 6de1ba33: Merge "Fixing crash in empty folders. (Bug 11627191)" into ↵Winson Chung2013-12-091-2/+13
|\| | | | | | | | | | | | | jb-ub-now-jolly-elf * commit '6de1ba3377dd407e83f682edf9ae742416302772': Fixing crash in empty folders. (Bug 11627191)
| * Fixing crash in empty folders. (Bug 11627191)Winson Chung2013-12-091-2/+13
| | | | | | | | Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52
* | Decrease delay for closing folder on removal of an item (issue 11028310)Adam Cohen2013-12-051-1/+1
| | | | | | | | Change-Id: Ie5c094af8b0293e56bf016be5b4f4db05e7a9a05
* | Generalize support for 'App Info', 'Uninstall' and 'Delete'Mathew Inwood2013-11-281-0/+10
|/ | | | | | | This allows other DragSource's to allow this behaviour, instead of it being tied to specific source types. Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
* Merge "Use the icon bounds for all calculations." into jb-ub-now-jolly-elfWinson Chung2013-11-141-0/+5
|\
| * Use the icon bounds for all calculations.Winson Chung2013-11-141-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
* | Merge "Fix CellLayout UNSPECIFIED exception (issue 11627191)" into ↵Adam Cohen2013-11-131-3/+14
|\ \ | |/ |/| | | jb-ub-now-jolly-elf
| * Fix CellLayout UNSPECIFIED exception (issue 11627191)Adam Cohen2013-11-121-3/+14
| | | | | | | | Change-Id: Id2f840a804c51e8c61bb28882796059584e4c8bb
* | Fix issue where extra page hangs around (issue 11634172)Adam Cohen2013-11-121-0/+2
|/ | | | Change-Id: Ia0900c9fc07bc587259e36ed17816eaf519b10dc
* Merge "Initial changes to support smaller landscape layouts." into ↵Winson Chung2013-10-291-2/+0
|\ | | | | | | jb-ub-now-jetsonic
| * Initial changes to support smaller landscape layouts.Winson Chung2013-10-281-2/+0
| | | | | | | | Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
* | Add visible touch feedback to items in foldersAdam Cohen2013-10-241-0/+1
|/ | | | Change-Id: I41937f7864bca39232079a90139679ebd5cc2a07
* 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
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+1114
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b