summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Launcher.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: ensure preview animation is released after exiting ↵emancebo2015-02-031-0/+1
| | | | | | TransitionEffectsFragment Change-Id: Id6253a6162ee47dd1a46886026f09c3adbdc7027
* Adding manage apps shortcut to Settings panelRaj Yengisetty2015-01-211-0/+11
| | | | | Change-Id: I02b454072258d57e82c825417941382ea7807e83 (cherry picked from commit cc342519488d50d2f59f514940de6cf02bd53ab2)
* Disable voice button proxy when there is no voice searchRaj Yengisetty2015-01-161-2/+2
| | | | | Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551 (cherry picked from commit 7900b8dc9c6119789cfcd374b3f18b67ac003605)
* Trebuchet : Fix search bar icon/text disapearingDanesh Mondegarian2014-12-231-1/+1
| | | | | | | | | | | | | | | | Repro : 1. Uninstall an application from the app drawer 2. Press back to go to homescreen. 3. The search bar icon/text should be invisible now. Trebuchet : Avoid unecessary generatePressedFocusedStates When the drawable's state changes, don't generate state drawables until after the invalidate call, which takes care of this already, otherwise it gets drawn before measure/layout gets a chance to run. Change-Id: I49933e6d985aab9fff9f05092e007e46991a8edf
* Delay reloading Dynamic grid after size change till onResume or settings ↵Raj Yengisetty2014-12-161-6/+9
| | | | | | panel collapses Change-Id: I1077921d8c59172d63a8fc5fb287ff26a38e3e93
* Fix invisible voice searchAbhisek Devkota2014-12-131-1/+1
| | | | | | | | | | | | | When 'show search bar' is disabled, you can still tap the voice search icon's position (even though view == gone) to launch search action. Partial fix borrowed from 10.2 http://review.cyanogenmod.org/#/c/21584 PS2: Use available variables instead of changing one to protected PS3: Fix mis-paste Change-Id: I268d0e1108992028fd324d42e7dc8b6e11c757eb
* Protected Apps: Delay Protected Apps changed reload till onResumeRaj Yengisetty2014-12-021-0/+11
| | | | Change-Id: I54724187c3ab168a3beb0791852a1c842bdbabf9
* Fix: Restore workspace gradients when returning from Widget dropRaj Yengisetty2014-11-221-0/+1
| | | | Change-Id: I08927ea359460f60cebe1b942273a24eea8f86d5
* Fix - Workspace background gradientRaj Yengisetty2014-11-211-0/+2
| | | | | | | | | | | | | Repro: - Open App Drawer - Launcher any app - Press back (User should be returned to the App Drawer) - Press back again (User should be returned to the Home Screen) - Note gradient near status bar (Home Screen gradient is missing!) - Press home - Note Home Screen gradient reappears Change-Id: Ib24d94c2deba06f872f42bfffff78317844dd731
* Launcher: display APP icon paged in main screen as Carrier requirehuiwan2014-11-211-0/+19
| | | | | | | | | | | 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>
* Revert Themes button to Settings buttonRoman Birg2014-11-191-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Remove the themes button in the overview panel and add back the Settings button instead. Conflicts: res/drawable-hdpi/ic_setting.png res/drawable-hdpi/ic_setting_pressed.png res/drawable-mdpi/ic_setting.png res/drawable-mdpi/ic_setting_pressed.png res/drawable-xhdpi/ic_setting.png res/drawable-xhdpi/ic_setting_pressed.png res/drawable-xxhdpi/ic_setting.png res/drawable-xxhdpi/ic_setting_pressed.png res/drawable/setting_button.xml res/drawable/settings_button.xml res/drawable/themes_button.xml res/layout/settings_pane.xml res/values/cm_strings.xml src/com/android/launcher3/Launcher.java src/com/android/launcher3/OverviewSettingsPanel.java Change-Id: Ia7517b508ec99d5c8070b960e3de35bd9b7e36fa
* Trebuchet: RTL support for Settings ScreensRaj Yengisetty2014-11-191-4/+16
| | | | Change-Id: I9e6d812a81aa4358e230bd1d58877695eaeee0ac
* When reloading dynamic grid, reload restore page first.Raj Yengisetty2014-11-191-2/+6
| | | | Change-Id: I05c1d1faf61ecd79abf15d4ab84a689b7e0cb2ac
* After getting an update to rebind items after getting updates for protected ↵Raj Yengisetty2014-11-191-0/+1
| | | | | | components, strip empty screens Change-Id: Ic269e7c8c233b34c8cdf638f2c794bd0e5bf668a
* Trebuchet: Implement search bar hide.Adnan2014-11-191-1/+3
| | | | Change-Id: I410452452d5567f75070f85b974749645d9672aa
* Fix: Sort apps before opening AppDrawer to reflect the most recent counts.Raj Yengisetty2014-11-191-0/+1
| | | | | | | | | | | | | 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/+2
| | | | Change-Id: I62e0e79785e7e4c56b8e31df78909c4522e229c7
* Add options to hide icon labels from drawer and homescreenFlamefire2014-11-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | 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
* Re-add Fade side pages and Page outline options.Raj Yengisetty2014-11-191-6/+6
| | | | | | | | Conflicts: res/layout/settings_transitions_screen.xml src/com/android/launcher3/TransitionEffectsFragment.java Change-Id: Iaab1dbd980d065e631d8f3cfe363f3a0b5897f86
* Settings adapter should use the position and partition valuesRaj Yengisetty2014-11-191-5/+1
| | | | | | | | | | | Fixes: https://jira.cyanogenmod.org/browse/BACON-587 Conflicts: src/com/android/launcher3/OverviewSettingsPanel.java src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java Change-Id: Ie935c51ea1e68eaa7da64b23eaf2ae28a630a3bb
* Minimize greedy UI updating for Live SettingsRaj Yengisetty2014-11-191-9/+35
| | | | | | | | Conflicts: src/com/android/launcher3/Launcher.java src/com/android/launcher3/list/SettingsPinnedHeaderAdapter.java Change-Id: Ib475af4bea7d45e36ca87be6b66a60d15018aa5b
* Customizeable Dynamic Grid:Raj Yengisetty2014-11-191-6/+43
| | | | | | | | | | | | | | | | | | | - 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
* Replace ugly Drawer setting (Sort Mode)Raj Yengisetty2014-11-191-1/+1
| | | | Change-Id: Iabedd48c43cd30ea747af093fad6d3874495bced
* Protected App [3/3] Trebuchet - Protected Apps - Build fixed to work with ↵Raj Yengisetty2014-11-191-2/+79
| | | | | | | | | | | | | | | | | 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-25/+16
| | | | | | | | | | | | | | | | 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
* Trebuchet Settings UI Refresh.Raj Yengisetty2014-11-191-68/+284
| | | | | | | | | | | | | | | | | | - Overview Panel contains all Launcher Settings - Accessible through long press on Workspace or HW Menu button - Settings are held in a SlidingPanel in the Overview Panel - Replace the Settings shortcut in Overview Panel with Themes shortcut - Replace widgets icon with new widgets icon from Launcher3 - Trebuchet Settings changes no longer require restarting Process - Transition Effects have PNG Sequence to show animation sequence - Remove PageIndicator click event to open Overview Panel in AppTray Contributors: Adrian Foulk - UX Lead Abishek Devkota - Project Manager Hayden Schoen - UX Designer Change-Id: I2186213960cf12e840e814757894fe104551856b
* DO NOT MERGESunny Goyal2014-10-141-0/+19
| | | | | | | Rechecking unrestored items when launcher gets created Bug: 17941096 Change-Id: Ic54464a9c64442d6784cda44ef22fa3d08e22f1f
* Use View.generateViewId if availableIan Parkinson2014-10-061-12/+13
| | | | | Bug: 17456181 Change-Id: Ib7e310ba38ed5e392c5c9b8734f197212f518389
* Don't let old Launcher activity interfere with new oneAdam Cohen2014-09-301-3/+10
| | | | | | | | | | | | | | | | | | -> Launcher uses a static instance of it's loader (across multiple activities) since activities can come and go (configuration change, eg.) but the data model and loading is static. -> Currently, this is not robust to a sequence of events that looks like onCreate(instance A), onCreate(instance B), onDestroy(instance B) -- depending on the timing of those calls. -> This CL addresses a symptom of the above scenario by not allowing an older Launcher Activity cancel the loader / clear the callbacks for a newer Activity. Bug 17679693 Change-Id: I8ece93e288464b0d578b9669c165b67132d997ed
* UI FixesSunny Goyal2014-09-231-1/+2
| | | | | | | | | | | | > Adding a scrim to the longpress cling Bug: 17573777 High level design asks (very low-risk) > Changing the dialog to use device default theme > Updating screenpanel assets Change-Id: Ia0216b60fd8cd607d83a5e7c3d7e6c8255125eda
* Merge "When ensuring screen exists, make sure it's actually referring to a ↵Adam Cohen2014-09-201-2/+12
|\ | | | | | | screen, not a rank" into ub-now-porkchop
| * When ensuring screen exists, make sure it's actually referring to a screen, ↵Adam Cohen2014-09-191-2/+12
| | | | | | | | | | | | | | not a rank Bug: 17496589 Change-Id: If60e22dd71fa32530db91e37057689de5fb25646
* | Merge "Updating promise icon's bitmap and label when onBadgingChanged is ↵Sunny Goyal2014-09-191-0/+12
|\ \ | | | | | | | | | received" into ub-now-porkchop
| * | Updating promise icon's bitmap and label when onBadgingChanged is receivedSunny Goyal2014-09-191-0/+12
| | | | | | | | | | | | | | | Bug: 17583799 Change-Id: I68b4f9d4086c43bd949ad8b46b574ec78edb32db
* | | Merge "Fix: First run cling shoud show 'Welcome' when there is no migration ↵Sunny Goyal2014-09-191-1/+1
|\ \ \ | |_|/ |/| | | | | cling" into ub-now-porkchop
| * | Fix: First run cling shoud show 'Welcome' when there is no migration clingSunny Goyal2014-09-191-1/+1
| |/ | | | | | | | | Bug: 17582926 Change-Id: I662e0ed9f12d237ee34a8f4540b339edee08c611
* | Merge "Perform null check in animation complete" into ub-now-porkchopAdam Cohen2014-09-181-3/+5
|\ \
| * | Perform null check in animation completeAdam Cohen2014-09-181-3/+5
| |/ | | | | | | | | | | Bug 17561235 Change-Id: I280dca9e03eed3f4e1edd97f2f8efac0b5e4b29d
* / Update calls now we have an L API version.Kenny Guy2014-09-181-7/+7
|/ | | | | Bug: 17543647 Change-Id: I92c652a4ced5a5e783b24e42f9da4d9dfe1118ba
* Fixing a couple issues with bad AllApps stateAdam Cohen2014-09-091-0/+22
| | | | | | Bug 17388923 Change-Id: I8f8a0163c0172d6f286a55d89793b843b092a3ca
* Prevent GNL from crashing on JBAdam Cohen2014-09-091-2/+15
| | | | | issue 17433546 Change-Id: Ie5071e516b26400a27473eaaa401023f1af1d840
* Showing clings only after the intro has completedSunny Goyal2014-09-081-12/+17
| | | | | issue: 17408736 Change-Id: Ife2261f717003e828e8032b17c51e34b1ec02ecf
* Ensure all apps button inintialized before performing all apps transitionAdam Cohen2014-09-071-2/+8
| | | | | | | | -> Also removing text shadows in all apps and folders (bug 16955157) Bug 17400227 Change-Id: I67d361a7a1cb548c9caca4214621607feaef963a
* Second half of workaround for all apps crash in restricted profileAdam Cohen2014-09-061-4/+1
| | | | | | Bug 17363836 Change-Id: If83cf3ef73ce2f992f69d42bad5d6f41cc3b9b9e
* Workaround for all apps crash in restricted profileAdam Cohen2014-09-061-4/+1
| | | | | | Bug 17363836 Change-Id: I1c12e0300cfb1046bc7f2f3159d018ebf0a2f57d
* Merge "Handling label and icon from SessionInfo." into ub-now-porkchopSunny Goyal2014-09-051-2/+4
|\
| * Handling label and icon from SessionInfo.Sunny Goyal2014-09-041-2/+4
| | | | | | | | | | | | | | | | | | > The ShortcutInfo stores state as bit flags and not as ints > Intents of auto-install shortcut are automatically updated upon installation > Icons/titles for active sessions are cached in IconCache Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4
* | Potential fix for a couple bugsAdam Cohen2014-09-041-0/+6
|/ | | | | | | issue 17371274 issue 17368590 Change-Id: I717f9c37613efd9d61e401540ca82aff77058022
* Give GEL a way to clear the typed text when it starts searchingIan Parkinson2014-09-011-2/+13
| | | | | | | | | | | | | ...otherwise it'll be re-used every time the user starts a new query. We take care not to change the way that typed text gets cleared (in onWindowVisibilityChanged()) in other cases. GEL will actually use this text in ag/537329. This CL will cause the GEL build to break until that change is submitted, so I'll be sure to submit them both close to each other. Bug: 16953058 Change-Id: I7ed613e69eb7a38b1a5e6108715ca614b59fd24d
* All apps transition workAdam Cohen2014-08-291-161/+185
| | | | | | | | | | | | | -> Fix icons popping in -> Fix issue 17259204 -> posting animation start and buildLayer to allow first frame to be ready. This becomes necessary with RevealAnimator on the render thread, since it can't use FirstFrameAnimatorHelper any longer. -> adding a bit better transition for K, issue 17252683 -> updating a few assets Change-Id: I0b193b4b3b511492a2fad6230cd91e3f0de634f0