summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Smooth out slide in/out animation for the overview panelRaj Yengisetty2014-07-081-14/+45
| | | | Change-Id: I742d2248b7cf70767f9e776d88db6fc1aaa767ce
* Minimize greedy UI updating for Live SettingsRaj Yengisetty2014-07-084-22/+44
| | | | Change-Id: Ib475af4bea7d45e36ca87be6b66a60d15018aa5b
* Trebuchet: always set initial wallpaper offsetsRoman Birg2014-07-071-1/+3
| | | | | | | | | After a fresh boot, computeScrollOffset() always returns false. So the result was the offsets were never properly being set on a fresh boot and they were only being applied on first drag of the home screen, which finally triggered computeScrollOffset() to return true. Change-Id: Iccaedd742bed861fca1f50dd54e2e4537fd4c9b0
* Merge "Clean up protected apps code (2/2)" into cm-11.0Danny Baumann2014-07-052-60/+40
|\
| * Clean up protected apps code (2/2)Danny Baumann2014-07-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
* | Fix CMHome related bugs.Matt Garnes2014-07-032-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. If "Search Panel" is enabled, when dragging an app icon to a new screen, the 'glow' effect for the next page will highlight the entire height of the screen instead of just the workspace view height as expected. This bug exists in launcher3 and GEL. Fixed here. 2. Older versions of the Google Search app do not respond to Intent.ACTION_ASSIST and can crash Trebuchet when it tries to launch Google Now that way. Instead, use searchManager.globalSearchActivity(), which matches the method we use to detect Google Now's presence anyway (+ being "search app" agnostic!) Change-Id: I5e5b3504272e2a2ca656accc32164d1ae9e52077
* | Fix Settings Panel bug causing frozen overview.Matt Garnes2014-07-023-1/+35
|/ | | | | | | | | Previously, toggling search panel would freeze Overview mode until the user exited back to the regular launcher. Also, the current page would be lost. Fix this by computing the new scroll bounds immediately when the setting is toggled. Change-Id: Ib3587cfcea61e15b3d8b280113ce986cc57f2f9d
* Use ArrayListExtra for broadcasting theme changes [2/2]Andy Mast2014-06-301-7/+38
| | | | Change-Id: I2931915eba0cde2d66577bcb83ba8521ce034158
* Trebuchet: Change multiplication signblack2014-06-302-5/+4
| | | | Change-Id: I3f91cb651af53f5d2a4005477011b7a48e4a46e7
* Fix GEL integration for RTL mode.Matt Garnes2014-06-282-3/+5
| | | | | | | In RTL mode, the Google Now activity starts to the right, so to return to Trebuchet, the left edge must be swiped. Change-Id: Ib8869570307b6186e7e9ea19520ed21418a175fb
* Fixed small Search Bar bugRaj Yengisetty2014-06-272-2/+10
| | | | | | | | | | | | Repro: - Clear Trebuchet app data - Disable setting for Search Bar - Enable setting for Search Panel - Move shortcut/folder in workspace - Enter and exit Search Panel - Observe small Search Bar Change-Id: I3d7cd9d5629f3250de6cb22ca9223b67ef558348
* Fix CustomContent display issue.Matt Garnes2014-06-271-1/+1
| | | | | | | | | During certain transition animations, the X offset value is computed, taking into account the translation value set by the transition effect. Preserved the right behavior by using child.getLeft() to compute the value, without including the X translation. Change-Id: I25acf6e4bae1db9a2c12525125a4994e16c40dfe
* Merge "Protected Folder Fragment: Add remove Shortcut from list." into cm-11.0Abhisek Devkota2014-06-232-1/+33
|\
| * Protected Folder Fragment: Add remove Shortcut from list.Raj Yengisetty2014-06-232-1/+33
| | | | | | | | Change-Id: I0e9f141bc34bcfa955d7f5f3535d9d437e94b1da
* | Customizeable Dynamic Grid:Raj Yengisetty2014-06-237-13/+484
|/ | | | | | | | | | | | | - 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 Change-Id: I5c926b6ca4b2ed73c263ef34eeb368caeb7af9b5
* Merge "Fix CustomContent/CMHome bugs with settings." into cm-11.0Rajesh Yengisetty2014-06-212-18/+3
|\
| * Fix CustomContent/CMHome bugs with settings.Matt Garnes2014-06-202-18/+3
| | | | | | | | | | | | | | | | | | | | 1. If Search Panel / CMHome is enabled, it would become visible in overview mode after any setting is toggled. Fixed. 2. If all icons on the last home screen were removed and Search Panel / CMHome is enabled, CMHome would become the only workspace, breaking most things. Fixed. Change-Id: I5a31e8058f71922c2790c6ac43b09ed7bcbe768a
* | Trebuchet: Change icon labels option stringsblack2014-06-202-13/+31
|/ | | | Change-Id: I499ec846bf2c7b2dc1c0d39c2c62a2525412335c
* Fix layout issues in TrebuchetRaj Yengisetty2014-06-181-23/+10
| | | | Change-Id: I834209656b440e90af437ae127070456586d8bd4
* Merge "Fix protected folder behavior" into cm-11.0Abhisek Devkota2014-06-181-0/+3
|\
| * Fix protected folder behaviorRaj Yengisetty2014-06-171-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 a custom home screen to Trebuchet.Matt Garnes2014-06-173-16/+28
| | | | | | | | | | | | | | | | Scrolling to the left will now open a custom home screen that can be used to display information provided by the system or third parties via an API. Change-Id: I62991c0634b686ca875d04fa118695050731ba7e
* | trebuchet: custom homeJorge Ruesga2014-06-176-2/+926
| | | | | | | | | | Change-Id: I4faee66580ab0e41ee8e8bcbd79ce680d45bce97 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Revert font change supportMichael Bestas2014-06-178-187/+9
|/ | | | Change-Id: I1f1ecd348c485e370b92c4b49512a3bc5d9d56a7
* Replace ugly Drawer setting (Sort Mode)Raj Yengisetty2014-06-162-3/+17
| | | | Change-Id: Iabedd48c43cd30ea747af093fad6d3874495bced
* Trebuchet : Persist sorting modeDanesh Mondegarian2014-06-163-3/+38
| | | | Change-Id: I62e0e79785e7e4c56b8e31df78909c4522e229c7
* Trebuchet: don't crash when updating the "All apps" shortcutRoman Birg2014-06-161-0/+4
| | | | | Change-Id: I2afd3e1c8a73248c2b657585739813b1a894a7f6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Revert "Trebuchet : Icon pack support"Raj Yengisetty2014-06-134-623/+1
| | | | | | | | This is no longer needed because of the awesome new Themes Engine This reverts commit 89970649602163ba8cb5c01c4c77534f45b66121. Change-Id: I1dca53b8c8020ecb6ab7b0da6931f380564eda85
* Remove old preference activityRaj Yengisetty2014-06-132-275/+1
| | | | | | * Also cleanup & remove unused strings Change-Id: I0b9f2405ab98b0df612a18ccfaa5d9ba98876d8a
* Merge "Use theme change categories and clear widget preview cache" into cm-11.0Danesh M2014-06-131-22/+18
|\
| * Use theme change categories and clear widget preview cacheClark Scheff2014-06-131-22/+18
| | | | | | | | Change-Id: If10fa3fa407891b91322c7e982742eb1dfab2b93
* | Merge "Move Scrolling Wallpaper to new Trebuchet Settings" into cm-11.0Abhisek Devkota2014-06-133-2/+31
|\ \
| * | Move Scrolling Wallpaper to new Trebuchet SettingsRaj Yengisetty2014-06-133-2/+31
| | | | | | | | | | | | Change-Id: I57961ae9b6f0df334ddd2c4563ddfd7e2939f01e
* | | Trebuchet : Default workspace improvementsRaj Yengisetty2014-06-132-107/+112
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b54b34edd5c87e6d0702793b423b14dc24fb1076 Fix bug for mdpi devices crash loop. Revert requires overlays to know if GSF installed, adding a run time check to load default workspaces. Add in additional overlays per density for new LauncherModel and LauncherProvider 4.4.3 logic. Change-Id: I5709182521e80d273e892eb3310abd68acac95ad
* | Fixed: Empty status for Protected Apps any other non-state settingsRaj Yengisetty2014-06-131-0/+2
| | | | | | | | | | | | don't get cached view information from other settings. Change-Id: I8be1949ccaad326ce97ed76f0ce8ec328b757a6e
* | Merge "Improve margins for all tablets" into cm-11.0Abhisek Devkota2014-06-131-2/+2
|\ \
| * | Improve margins for all tabletsDavid Marble2014-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My last patch caused the Remove and App Info icons to be cut off and distorted. This change increases the space so that there is no distortion on full sized or small tablets. A problem remains that was present before. When you have the searchbar invisible in landscape on a small tablet, the Remove and App Info icons are not displayed. It works fine on large tablets, on small tablets with the search bar visible and on small tablets in portrait. Change-Id: I61ae8d70785878026c1207f3677d667cc49d7c50
* | | Merge "Handle theme changes" into cm-11.0Abhisek Devkota2014-06-132-1/+53
|\ \ \ | | |/ | |/|
| * | Handle theme changesClark Scheff2014-06-102-1/+53
| | | | | | | | | | | | Change-Id: Ib933df8ef825ac35dfcf3207be5f803c2da18f56
* | | GEL Integration (2/2)Matt Garnes2014-06-127-18/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Launch search from extra panel to mimic Google Launcher. Changed Trebuchet to build against CM instead of the AOSP SDK. Added support to swipe left from the home screen to enter Google Now, if it is installed. A right swipe will return the user to the home screen. Change-Id: Ia1a77fedea7e67bcd54a6b6d66099f8366d6b1dc
* | | Merge "Protected App [3/3] Trebuchet - Protected Apps - Build fixed to ↵Abhisek Devkota2014-06-1214-346/+670
|\ \ \ | |_|/ |/| | | | | work with 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" into cm-11.0
| * | Protected App [3/3]Raj Yengisetty2014-06-1114-346/+670
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Trebuchet - Protected Apps - Build fixed to work with 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 Change-Id: I41c295e7f2c9abc9b2e77e6e3d39b7ca60d47139
* / Improve margins for small tabletsDavid Marble2014-06-111-3/+2
|/ | | | | | | | | | We are currently allocating too much space on the side margins in landscape on small tablets with the searchbar hidden. This fixes the logic for determining the space. The margins to the left side and the hot seat are the same, rather than wider on the left side as they are now. Change-Id: Ic57aa4f850253f1ec1f8858b4a137c8d8a2ad534
* When CustomContent is enabled prevent it from displaying in OverView modeRaj Yengisetty2014-06-092-3/+10
| | | | Change-Id: Iebcedb0d2bee3e6cd400847190e05916db87d265
* Include settings check for displaying SearchBarRaj Yengisetty2014-06-091-0/+16
| | | | | | | | | | Repro: - Open settings panel - Toggle SearchBar off - Observe SearchBar is off - Press Home Button - Launcher Restarts - Observe Dynamic Grid doesn't show space for SearchBar but SearchBar is visible!
* Fixed DynamicProfile for Live Settings supportRaj Yengisetty2014-06-071-7/+6
|
* Fix issue where clings didn't appear after set up wizard (issue 13077829)Adam Cohen2014-06-072-23/+14
| | | | | | | | | | | -> Also removed the db-created as a criteria for showing the clings (this was a bit problematic in some cases and going forward) -> Instead, we use database upgrade as a signal to not show the clings. This is used instead of the above criteria (to prevent old users from seeing the migration cling and losing their data.) -> Stripped some old code related to custom clings that's no longer used. Change-Id: Ib5e5285e5ddbc60e69eb998ee9fd092ae879150d
* use restored icon for restored app shortcutsChris Wren2014-06-074-42/+237
| | | | | Bug: 10778992 Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017
* update placeholder on package install or restoreChris Wren2014-06-075-4/+88
| | | | | Bug: 10778992 Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
* Add callback for "Widgets" button click in launcherSandeep Siddhartha2014-06-071-1/+9
| | | | | Bug: 12553852 Change-Id: I8befd046242b32e86dbc6c98e6d97f0307380dd0