summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Live Settings - stop loader before reloading dynamic gridRaj Yengisetty2015-02-271-0/+1
| | | | Change-Id: Idcbbde7b7a5421ffffb5c130e2515e5305faddb8
* Revert "Adding manage apps shortcut to Settings panel"stable/cm-12.0-YNG1IRajesh Yengisetty2015-02-192-24/+1
| | | | | | This reverts commit cc342519488d50d2f59f514940de6cf02bd53ab2. Change-Id: I8f5c593f93c4706127d2c0473f59abcd74776e47
* Fix potential NPE handling TransitionEffectsFragmentemancebo2015-02-171-15/+17
| | | | | | | | Instead of holding a reference to transition effects fragment and attempting to keep it in sync with what the fragment manager holds, just get the fragment from the manager each time. Change-Id: Ifd92725c1731cc6677d6d2a06226e070fbc093e3
* Trebuchet: Catch SQLiteReadOnlyException.Adnan Begovic2015-02-101-0/+2
| | | | | | | | | | | | | | BUGDUMP-648580 android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032) at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method) at android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:736) at android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754) at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64) at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1499) at com.android.launcher3.WidgetPreviewLoader.clearDb(WidgetPreviewLoader.java:379) ... Change-Id: I5e3cbd85a2fba84263b1e6df25f00f98b1ef55c0
* 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
* Trebuchet: ensure preview animation is released after exiting ↵emancebo2015-02-032-0/+13
| | | | | | | TransitionEffectsFragment Change-Id: Id6253a6162ee47dd1a46886026f09c3adbdc7027 (cherry picked from commit a426812f58b320c191ed8427d145966724949d67)
* DynamicGrid: tuning the icon size for some deviceRaj Yengisetty2015-01-291-5/+5
| | | | Change-Id: I2cd5cdb8c7ab41edbc6baa80f04278a614aeac82
* Update Larger icons setting for better usabilityRaj Yengisetty2015-01-231-19/+19
| | | | Change-Id: I6e4f0411dc860c7312952275ebcea2b516ecd172
* Adding manage apps shortcut to Settings panelRaj Yengisetty2015-01-202-1/+24
| | | | Change-Id: I02b454072258d57e82c825417941382ea7807e83
* Fix bug with toggling SearchBar off:Raj Yengisetty2015-01-191-1/+4
| | | | | | | | | Precondition, have Search Bar turned on. 1) Open Settings pannel 2) Toggle Search Bar to off 3) Press "home" to return to Launcher Change-Id: Idda7ed44ee0d6d172845d1447893280569147f7c
* Disable voice button proxy when there is no voice searchRaj Yengisetty2015-01-161-2/+2
| | | | Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551
* Update workspace grid after toggling settings.Danny Baumann2015-01-102-5/+13
| | | | Change-Id: I851023e47fe12e434357962ee5f5b55b761da4c7
* Adding Large IconsRaj Yengisetty2014-12-291-15/+27
| | | | Change-Id: I85f11768a8dfa4f3df9be397d517686a1c72b9bf
* Trebuchet : Fix search bar icon/text disapearingDanesh Mondegarian2014-12-234-5/+11
| | | | | | | | | | | | | | | | 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
* Workspace: Custom default screenNebojsa Cvetkovic2014-12-232-7/+14
| | | | Change-Id: Ic90254f7758b9dbd4997a19474e455230355b772
* Trebuchet: Fix Scrolling Wallpaper toggleRaj Yengisetty2014-12-161-5/+17
| | | | Change-Id: I8c2cc294e1f3a9638023616d80f891ec9b98f3c4
* 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-132-2/+2
| | | | | | | | | | | | | 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: Fix launching from Hidden Folder FragmentRaj Yengisetty2014-12-021-1/+1
| | | | Change-Id: Ia6475f114d0ee9c76ebd5a277c66f90d8bbfe1e7
* Adjustments for Live Settings:Raj Yengisetty2014-12-022-2/+2
| | | | | | | - Fix view position of PageIndicators after settings update - Fix outlines on Workspace after settings update Change-Id: I2b24cc279e4a9c76ec0b532410c1388b26521b63
* Trebuchet : Add folder on folder checksDanesh M2014-12-022-1/+14
| | | | | | | - Check if the new folder can accomodate all items - Don't expand folder if trying to drop folder on folder Change-Id: I208e3afd4ee6aeeea01928fc77e136d6085c4fdc
* Folders: Merge FoldersDanesh M2014-12-021-0/+9
| | | | | | | This allows a folder A's contents to be merged into folder B when folder A is drag/dropped onto folder B. Change-Id: I41d62d04b6b4f0932cc68fb6d2a3be111b063d53
* Fix spacing issues on devices with/without nav-bar in overview settings panelRaj Yengisetty2014-12-022-2/+9
| | | | Change-Id: I329b63b780e5727307770e076bf03e3bc4d82dd0
* Clean up protected apps code (2/2)Danny Baumann2014-12-022-60/+40
| | | | | | | | - 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: Re-add filtering in App Drawer and fixing protected foldersRaj Yengisetty2014-12-023-13/+105
| | | | Change-Id: Ia0899f79248647dbacf44cf917a27ebe62d20e4d
* 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-024-5/+26
| | | | Change-Id: I54724187c3ab168a3beb0791852a1c842bdbabf9
* Trebuchet: Further adjustment of panel overview glitch fixArne Coucheron2014-12-011-2/+2
| | | | | | * These values takes care of the glitch also on HDPI devices. Change-Id: Ia901699351ed887a9100bbec6d10be9e92b50c14
* Trebuchet: Draw the dynamic grid image dynamicallyDanny Baumann2014-11-231-124/+147
| | | | | | | This commits makes it possible to draw the image which previews the selected grid dynamically. Change-Id: I7c029f06110afdf1fe62145a079bba76166bb690
* 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-213-14/+53
| | | | | | | | | | | 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-202-10/+247
| | | | | | | | | Launcher: add APP icon display order sort function - add ct order dependecy Change-Id: If384ef8c2aa8075ca90dea82f9ee9d8fb2ca312d Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Launcher: Customize app shortcuts for Carrierhuiwan2014-11-212-8/+14
| | | | | | | | | | | | | | | App shortcuts are displayed on home: Screen 2 - deskclock - calendar Screen 3 - bestpay, imusic, video, ezone, pdager, FJDXCartoon, mail189, sfreader - elive, ecp, pim, hall, jt, egame, mdesk Change-Id: I848333548eabded42700aa11e874fae3c5362246 Signed-off-by: Xiaojing Zhang <zhangx@codeaurora.org>
* Launcher: show unread notify info number at APP icon on Launcherhuiwan2014-11-217-13/+167
| | | | | | | | | | Show APP's unread info number at Launcher: - Register a receiver to receive the UNREAD_CHANGED event to update the APP icon - When the unread number changed, recreate the icon bitmap of icon cache Change-Id: I7dd0fb2c29959f1584682965fb1476e3f3c77739
* Trebuchet: Fix migration from L to Trebuchet.Adnan2014-11-191-7/+7
| | | | Change-Id: Ide667f2bba1dcce2ff3d9a6b08e15bf9bf0ada34
* Trebuchet: Fix Insets with SearchBarRaj Yengisetty2014-11-191-9/+2
| | | | Change-Id: I6a79447eeff47fab5f604e823a2210e32580e909
* Revert Themes button to Settings buttonRoman Birg2014-11-192-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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: Handle migrate from Launcher3/TrebuchetAdnan2014-11-191-2/+20
| | | | Change-Id: I3d12c134a64afa855d803bce27e0de2915306ad2
* Fix L2 and old Trebuchet migrationRicardo Cerqueira2014-11-191-1/+57
| | | | | | | | | There can only be one original-package tag. Go with com.android.launcher3 for now, and move Trebuchet back to com.cyanogenmod.trebuchet. This will allow for workspace migrations from both CM10.2 Trebuchet and from CM11 Launcher3 Change-Id: I7743954bffc55f503851038f800607947e20015e
* Trebuchet: Fix type on removeExtraEmptyScreensAdnan2014-11-191-1/+1
| | | | Change-Id: I3b42cd6031c0f90122b30aa06b152db70759ff8b
* Trebuchet: RTL support for Settings ScreensRaj Yengisetty2014-11-194-11/+73
| | | | Change-Id: I9e6d812a81aa4358e230bd1d58877695eaeee0ac
* Fix App Info bug where extra empty screen remains after dropping drag object ↵Raj Yengisetty2014-11-191-0/+5
| | | | | | on the App Info traget. Change-Id: Ibce0b75417cf8682ccdb0c6b755a22f34e735f9d
* Revert "Fixes bug with extra empty screen staying on Workspace when a"Raj Yengisetty2014-11-191-1/+1
| | | | | | | | | This reverts commit 41af711d1355ae8c08aff9a2e367c7a0893fd110. This commit causes a bug where a drag object originating from the workspace is removed when dropped on the App Info target Change-Id: I98602d2de6ec079d7003b0c2a2547356ec0d5e43
* Fixes bug with extra empty screen staying on Workspace when a shortcut is ↵Raj Yengisetty2014-11-191-1/+1
| | | | | | dragged to the AppInfo target. Change-Id: Ie223beed5226c75d287a5a8b7983578a01bc8391
* Fix HideIcon behavior in FoldersRaj Yengisetty2014-11-191-8/+9
| | | | | | https://jira.cyanogenmod.org/browse/CYAN-5022 Change-Id: I6da2e8ee4b3ab4fede10553a422f5520eb6e1293
* When reloading dynamic grid, reload restore page first.Raj Yengisetty2014-11-191-2/+6
| | | | Change-Id: I05c1d1faf61ecd79abf15d4ab84a689b7e0cb2ac
* Fix for workspace showing outline after live settings changesRaj Yengisetty2014-11-191-2/+4
| | | | Change-Id: Ia60d8541b91e0ea9f65c8551aff1cfea7ae5c3fa
* 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
* Fix Overview Panel glitch when animating Workspace into overview mode.Raj Yengisetty2014-11-191-2/+2
| | | | Change-Id: I12cd8e6e96cdebadfa42590152c4c16e644aded3