summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Folder.java
Commit message (Collapse)AuthorAgeFilesLines
* ProtectedApps: map items without componentNames by positionRaj Yengisetty2015-03-271-0/+12
| | | | | | | | | | | Repro: - Add a contact widget to a folder - Open the hidden apps fragment - Attempt to remove an entry from the fragment - Observe: Force close Change-Id: I3ca2c62283af5232534b766d7579413c060a5403 (cherry picked from commit f963b11485ceef70bbce7a9a4b98415ac2672b5b)
* ProtectedApps: Fix protecting shortcuts with no ComponentNamesRaj Yengisetty2015-03-251-1/+3
| | | | | | | | | | Repro: - Create a shortcut using the contacts widget - Add to a folder and open app protection screen - Observe: Trebuchet force closes Change-Id: I76f6a8b1d024beb36fa804bb3a866913edc335c1 (cherry picked from commit d8bdb0eef3f1799e8b829bcf114f1c3573bce8d6)
* Trebuchet : Add folder on folder checksDanesh M2014-12-021-0/+4
| | | | | | | - Check if the new folder can accomodate all items - Don't expand folder if trying to drop folder on folder Change-Id: I208e3afd4ee6aeeea01928fc77e136d6085c4fdc
* Clean up protected apps code (2/2)Danny Baumann2014-12-021-27/+16
| | | | | | | | - Work with actual component names instead of converting them between ComponentName and String all the time - Some misc. coding style adaptions Change-Id: I7401ea471d618936e880e6d542744f80f89ce40f
* Protected Apps: Remove protected folder if there are no entriesRaj Yengisetty2014-12-021-1/+1
| | | | Change-Id: I942cd6b3753ebd932bdd3162b30db5b4fb45e536
* Protected Apps: Delay Protected Apps changed reload till onResumeRaj Yengisetty2014-12-021-1/+1
| | | | Change-Id: I54724187c3ab168a3beb0791852a1c842bdbabf9
* Fix HideIcon behavior in FoldersRaj Yengisetty2014-11-191-8/+9
| | | | | | https://jira.cyanogenmod.org/browse/CYAN-5022 Change-Id: I6da2e8ee4b3ab4fede10553a422f5520eb6e1293
* Protected Folder Fragment: Add remove Shortcut from list.Raj Yengisetty2014-11-191-0/+14
| | | | Change-Id: I0e9f141bc34bcfa955d7f5f3535d9d437e94b1da
* Fix protected folder behaviorRaj Yengisetty2014-11-191-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
* Add options to hide icon labels from drawer and homescreenFlamefire2014-11-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | 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? Conflicts: res/values/preferences_defaults.xml res/xml/preferences_drawer.xml res/xml/preferences_homescreen.xml src/com/android/launcher3/AppsCustomizePagedView.java src/com/android/launcher3/Folder.java src/com/android/launcher3/Launcher.java src/com/android/launcher3/PagedViewIcon.java src/com/android/launcher3/Workspace.java Change-Id: I90ae4d2357e5f45fa9261c4eaa0fcf287996e327
* Customizeable Dynamic Grid:Raj Yengisetty2014-11-191-0/+1
| | | | | | | | | | | | | | | | | | | - Presets - Comfortable (+0) - Cozy (+1) - Condensed (+2) - Custom option with min, max Reordering items in the settings pane for better organization Modifying Settings Layout for readability Conflicts: res/layout/settings_pane_list_item.xml res/values/cm_strings.xml src/com/android/launcher3/DeviceProfile.java src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java Change-Id: I5c926b6ca4b2ed73c263ef34eeb368caeb7af9b5
* Protected App [3/3] Trebuchet - Protected Apps - Build fixed to work with ↵Raj Yengisetty2014-11-191-6/+106
| | | | | | | | | | | | | | | | | 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 Conflicts: AndroidManifest.xml res/values/preferences_defaults.xml src/com/android/launcher3/AppsCustomizePagedView.java src/com/android/launcher3/Folder.java src/com/android/launcher3/FolderIcon.java src/com/android/launcher3/Launcher.java src/com/android/launcher3/LauncherModel.java src/com/android/launcher3/LauncherProvider.java src/com/android/launcher3/OverviewSettingsPanel.java Change-Id: I41c295e7f2c9abc9b2e77e6e3d39b7ca60d47139
* Update calls now we have an L API version.Kenny Guy2014-09-181-1/+1
| | | | | Bug: 17543647 Change-Id: I92c652a4ced5a5e783b24e42f9da4d9dfe1118ba
* Clear the draginfo object once the item is dropped inside a folderSunny Goyal2014-08-281-0/+2
| | | | | | issue: 16097189 Change-Id: I187b5ac97ecb5204040962e7b707ef2a2f022306
* Updating clings, removing ununsed clingsSunny Goyal2014-08-251-11/+0
| | | | | | issue: 16127412 Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
* Updating the icon click feedbackSunny Goyal2014-08-191-9/+0
| | | | | | | | | > Using BubbleTextView everywhere, removed PagedIconView > There is a brightness feedback on touch and shadow feedback on click, until app launches issue: 16878374 Change-Id: I3dc1149a123c8a75feca6210948398bf2187f1f2
* Merge "Updating folder open transition for Material" into ub-now-porkchopAdam Cohen2014-08-181-14/+96
|\
| * Updating folder open transition for MaterialAdam Cohen2014-08-191-14/+96
| | | | | | | | Change-Id: I2babf24a923711adc3f4f70ad3e48140a0d99a76
* | Updating the UI for focused state of an icon/folder.Sunny Goyal2014-08-181-0/+8
|/ | | | | | issue: 16352129 Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
* Updating the virtual preloader UX.Sunny Goyal2014-08-111-12/+12
| | | | | | | | | | | | > No click feedback when in preloader mode > No preloader UI when drawn in drag layer > The preloader consists of a background 9 patch image and a circular progress is drawn in the content region of the background. > The preloader is drawn in a slightly larget area than the actual bounds to make the circular progress more prominent compared to the icon. issue: 15835307 Change-Id: Ifec3d93ecf1fac994d1128b517da3797247e7ed6
* Merging Motorola's patch to disable apps when is safe mode.Sunny Goyal2014-07-181-9/+4
| | | | | | issue: 16044192 Change-Id: I10069dcdf459ecc71361271e883eabb743d77822
* Enabling quantum look and feel everywhereAdam Cohen2014-07-071-7/+2
| | | | | | | | -> _l assets become default, new folder icon look is default -> Starting to unify folder look / feel with all apps -> New page indicators Change-Id: I50b2c647fbcbe6ed27705527d8e16bd89e123d0b
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-0/+3
| | | | | | | | | This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
* Offer to delete broken promise icons.Chris Wren2014-06-271-0/+1
| | | | | | | | | Track state of promise in the info, not the view. Fix bugs around moving promises to folders. Fix bugs around filterign and removing promises. Bug: 12764789 Change-Id: If5e8b6d315e463154b5bafe8aef7ef4f9889bb95
* Revert Cls stopping now-master running on googlefoodKenny Guy2014-06-241-3/+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/+3
| | | | | | | | | 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
* Cleanup pattern for removing the extra empty screen after drag operationsAdam Cohen2014-05-091-16/+5
| | | | | | -> Fixes a couple bugs: issue 12179908, issue 12372657, issue 13287732 Change-Id: I24b5abe8e432ea331eeb77407120a8cec28f6376
* Don't close folder when adding something to itJason Monk2014-04-241-4/+3
| | | | | | | | Remove the call that closes a folder when something from All Apps is added to it. Bug: 14273032 Change-Id: Iac970a5c997fd254eae006be75cfbba9826f47af
* Make FolderIcon.getFolder() public and add Folder.getContent().Anjali Koppal2014-03-101-0/+4
| | | | Change-Id: I21ad8b8178acbde2759cd2dfcd015d91e00b7505
* Implement spring-loading of folders when dragging over.Jorim Jaggi2014-02-121-40/+99
| | | | | Bug: 8912132 Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
* Merge "Quick patch for b/12446428." into jb-ub-now-kermitDan Sandler2014-01-131-1/+4
|\
| * Quick patch for b/12446428.Dan Sandler2014-01-101-1/+4
| | | | | | | | | | Bug: 12446428 Change-Id: I5b9472e55a8919f5640c6e97fede9b5637819be0
* | Merge "Adding migration Clings. (Bug 11973614)" into jb-ub-now-kermitWinson Chung2014-01-101-2/+2
|\ \
| * | Adding migration Clings. (Bug 11973614)Winson Chung2014-01-101-2/+2
| |/ | | | | | | | | - Refactoring Launcher cling code out to LauncherClings. Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
* / Allow DISABLE_ALL_APPS to be set using a system property.Nilesh Agrawal2014-01-091-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
* Merge "Fix issue where deleting item from folder leaves extra page" into ↵Adam Cohen2014-01-091-1/+5
|\ | | | | | | jb-ub-now-kermit
| * Fix issue where deleting item from folder leaves extra pageAdam Cohen2013-12-131-1/+5
| | | | | | | | Change-Id: Ie741dbe5341d8237c85f732b26661d084b99f6e2
* | 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