summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppsCustomizePagedView.java
Commit message (Collapse)AuthorAgeFilesLines
* Filter apps for app drawer only after mApps is completely populated.Matt Garnes2015-02-091-4/+3
| | | | | | | | | | If mPreInstallConfig is set to true, apps will be added to mApps for display in the drawer after mFilteredApps is filtered from mApps. This results in applications being hidden from view that should not be. Filter mApps into mFilteredApps only after addPreInstallApps has been called. Change-Id: Ic426c5e530ffa61e0cbca211a6a32fcba38fc08b
* Update workspace grid after toggling settings.Danny Baumann2015-01-101-5/+12
| | | | Change-Id: I851023e47fe12e434357962ee5f5b55b761da4c7
* Protected Apps: Re-add filtering in App Drawer and fixing protected foldersRaj Yengisetty2014-12-021-13/+90
| | | | Change-Id: Ia0899f79248647dbacf44cf917a27ebe62d20e4d
* Launcher: display APP icon paged in main screen as Carrier requirehuiwan2014-11-211-13/+32
| | | | | | | | | | | Carrier require display customized APP: - recommened APP will be placed on the first page on main screen - Carrier's specific APP will be placed on the second page - rest and third APP will be placed on other page Change-Id: I2e52285068012a3e99526225b99bd25365df9bec Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Launcher: Add CT order dependency to existing app drawer sortinghuiwan2014-11-201-10/+246
| | | | | | | | | Launcher: add APP icon display order sort function - add ct order dependecy Change-Id: If384ef8c2aa8075ca90dea82f9ee9d8fb2ca312d Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Fix: Sort apps before opening AppDrawer to reflect the most recent counts.Raj Yengisetty2014-11-191-35/+47
| | | | | | | | | | | | | Repro: Clear Trebuchet data Drawer Sorting mode of Launch Count Launch App1 twice Launch App2 once Open drawer, note App1 ordered before App2 Launcher App2 two more times Open drawer, note position hasn't updated Change-Id: I9d85627f5dc86bc753a1e6f22911ee39a8d78b5e
* Trebuchet : Persist sorting modeDanesh Mondegarian2014-11-191-0/+4
| | | | Change-Id: I62e0e79785e7e4c56b8e31df78909c4522e229c7
* Add options to hide icon labels from drawer and homescreenFlamefire2014-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | 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-66/+22
| | | | | | | | | | | | | | | | | | | - 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-0/+96
| | | | | | | | | | | | | | | | | 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
* PagedView: Transition EffectsNebojsa Cvetkovic2014-11-191-11/+137
| | | | | | | | | | | | | | | | Conflicts: res/layout/overview_panel.xml res/values/cm_arrays.xml res/values/cm_strings.xml res/values/dimens.xml res/values/preferences_defaults.xml src/com/android/launcher3/AppsCustomizePagedView.java src/com/android/launcher3/Launcher.java src/com/android/launcher3/PagedView.java src/com/android/launcher3/Workspace.java src/com/android/launcher3/settings/SettingsProvider.java Change-Id: Ib134705952877165c334181548d577b3dceece68
* Prevent GNL from crashing on JBAdam Cohen2014-09-091-1/+5
| | | | | issue 17433546 Change-Id: Ie5071e516b26400a27473eaaa401023f1af1d840
* Potential fix for a couple bugsAdam Cohen2014-09-041-2/+4
| | | | | | | issue 17371274 issue 17368590 Change-Id: I717f9c37613efd9d61e401540ca82aff77058022
* Fix regression which was causing requestLayout in layout passAdam Cohen2014-08-281-2/+8
| | | | | | | | | -> This caused funky layout issues with views not appearing on devices prior to K in addition to log spam. issue 17282728 Change-Id: Id05856ba2ef3de3a8a636ba9b4b46ddef3eff75e
* Updating clings, removing ununsed clingsSunny Goyal2014-08-251-7/+0
| | | | | | issue: 16127412 Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
* Adding support for managed profiles in widgetSunny Goyal2014-08-201-30/+7
| | | | | | issue: 16892811 Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
* Updating the icon click feedbackSunny Goyal2014-08-191-60/+26
| | | | | | | | | > 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 the UI for focused state of an icon/folder." into ↵Sunny Goyal2014-08-161-0/+1
|\ | | | | | | ub-now-porkchop
| * Updating the UI for focused state of an icon/folder.Sunny Goyal2014-08-181-0/+1
| | | | | | | | | | | | issue: 16352129 Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
* | Adding dampened snap back overscroll to Workspace and AppsCustomizePagedViewAdam Cohen2014-08-181-77/+1
| | | | | | | | | | | | issue 15475254 Change-Id: I5eb9fc480167faf4be16bd17bf18e2d103f40f47
* | Get rid of pages overhang in AppsCustomizePagedViewAdam Cohen2014-08-141-0/+1
| | | | | | | | Change-Id: I7543af84a6a52b79b7d6f369bb3139fc4024f074
* | Fix issues with the new widget layoutAdam Cohen2014-08-141-41/+7
| | | | | | | | | | | | | | | | | | | | | | -> use first layout instead of first measure to determine size -> fix issue where we were doubly accounting for padding of AppsCustomizePagedView -> show page backgrounds by default, hide fake page by default -> stripping some dead code related to the market button and all apps cling Change-Id: I787bdf1092c821b780670098fb219a8a68914bc8
* | Further refinement of all apps / widgets transitionAdam Cohen2014-08-131-3/+8
|/ | | | Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab
* Merge "Updating the widget tray" into ub-now-porkchopAdam Cohen2014-08-091-19/+23
|\
| * Updating the widget trayAdam Cohen2014-08-111-19/+23
| | | | | | | | | | | | | | | | -> adding dark panel / associated visual updates -> cleaning up the sizing / padding / to match all apps -> fixing a couple things from previous CL -> (removed Context#getDrawable() calls, L-only) Change-Id: Ia65a6eb704b35f74e7305be9334c27971b22235a
* | Merge "Revert "Updating the widget tray"" into ub-now-porkchopMark Brophy2014-08-081-23/+19
|\ \
| * | Revert "Updating the widget tray"Mark Brophy2014-08-111-23/+19
| | | | | | | | | | | | | | | | | | This reverts commit b172c13dcced9226c935991ef9fe85cc920ce811. Change-Id: I375fb105e3cf6fa2c1548306cf6a109d612077de
* | | Merge "Adding support to restore widgets even for jelly beans." into ↵Sunny Goyal2014-08-101-10/+10
|\ \ \ | |/ / |/| | | | | ub-now-porkchop
| * | Adding support to restore widgets even for jelly beans.Sunny Goyal2014-08-081-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | Updating the widget trayAdam Cohen2014-08-101-19/+23
| |/ |/| | | | | | | | | | | | | -> adding dark panel / associated visual updates -> cleaning up the sizing / padding / to match all apps -> fixing a couple things from previous CL Change-Id: I4f663af7022337d687124ef25a22bac03d9d6af9
* | Polishing the AllApps transitionAdam Cohen2014-08-101-22/+19
|/ | | | | | | | | | -> separating HW layers during animation to be siblings instead of parent-child (was destroying parent layer on each frame) -> Unifying material transition with pre-L, everything is the same, just missing the reveal. Change-Id: I8f7d5e658c2d9298bea83ce8199cb35e6fc0d44e
* Preliminary work on Material TransitionsAdam Cohen2014-07-181-8/+3
| | | | | | | | | | | | | | | -> Early exploration of AllApps Hero transition with circular reveal -> Stripping a bunch of dead code from AppsCustomizeTabHost -> Moved background scrim to DragLayer -> Removed "SMALL" state from workspace: replaced with NORMAL_HIDDEN and OVERVIEW_HIDDEN. This is mainly to reduce the overall usage of the z-space model between allapps/widgets and workspace. There are vestigial remains of this model, mainly due to the overview mode, and a bit for spring-loaded. Change-Id: If2302a24394f0ec66621f01ffa2fc4934aa10c3f
* Enabling quantum look and feel everywhereAdam Cohen2014-07-071-0/+8
| | | | | | | | -> _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
* Cleanup pattern for removing the extra empty screen after drag operationsAdam Cohen2014-05-091-7/+2
| | | | | | -> Fixes a couple bugs: issue 12179908, issue 12372657, issue 13287732 Change-Id: I24b5abe8e432ea331eeb77407120a8cec28f6376
* Launcher3 multi-profile supportKenny Guy2014-04-301-1/+2
| | | | | | | | | | | | | | | | | | | | | 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
* Clean up dead, ugly and wrong code in icon and widget preview loadingAdrian Roos2014-03-191-11/+0
| | | | | | | | | Removed and fixed serveral instances of dead code and small bugs that grew in the widget preloading logic, discovered while chasing a bug. Bug: 12525890 Change-Id: I22e03eccecc07b73388cfd3c8462d947601c6e54
* Add onClickPagedViewIcon to the Launcher.Mohammadinamul Sheik2014-03-181-2/+1
| | | | Change-Id: I34505ee5c9a6fe6ddd1a9f3134829fe0481e8bc0
* Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"Adam Cohen2014-03-061-1/+0
| | | | | | This reverts commit b2603e3d3a32c90ca13458409561d025afdce399. Change-Id: I81f8c5a4e3861b936ef9e1fbdb339c12d5aefc70
* Fix issue of extra blank screen after uninstall (issue 12372657)Adam Cohen2014-03-031-0/+1
| | | | Change-Id: I0326914821f68d789cb26767518ead1292d87db0
* Implement spring-loading of folders when dragging over.Jorim Jaggi2014-02-121-1/+1
| | | | | Bug: 8912132 Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
* Merge "Lazy load the widget preview loader class" into jb-ub-now-kermitAdam Cohen2014-01-161-13/+16
|\
| * Lazy load the widget preview loader classMichael Jurka2014-01-161-12/+15
| | | | | | | | | | Bug: 12109621 Change-Id: Id99aded30195bf39ebcf2148611bc4e084f3b2c7
* | Allow DISABLE_ALL_APPS to be set using a system property.Nilesh Agrawal2014-01-091-8/+6
|/ | | | | | | | | - 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
* 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
* Use the icon bounds for all calculations.Winson Chung2013-11-141-0/+7
| | | | | | | | - 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
* Initial changes to support AllApps on various form factors.Winson Chung2013-11-011-0/+10
| | | | Change-Id: I7bacb36f8a70c8ac920426899193a7bb7b7abbcb
* Merge "Ensuring the widget page is full when shown (Bug 10883258)" into ↵Winson Chung2013-10-281-5/+8
|\ | | | | | | jb-ub-now-jetsonic
| * Ensuring the widget page is full when shown (Bug 10883258)Winson Chung2013-10-281-5/+8
| | | | | | | | Change-Id: I9481b5551a2efc093d0fb81fc62a811b34d93d7c
* | Fix issue where empty page doesn't get deleted when flinging to delete a ↵Adam Cohen2013-10-231-2/+9
| | | | | | | | | | | | widget in spring loaded Change-Id: I59a78a4b9135b2c96f0adb4a2e63b19d504706b7
* | Don't recreate pages every time you go to All AppsMichael Jurka2013-10-231-5/+5
|/ | | | | Bug: 11300025 Change-Id: I16ddcf1b435621bb0c0199ca7ac119b9e7ca7214