summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Catch ActivityNotFoundException when launching GlobalSearchActivity.staging/cm-12.0-cafMatt Garnes2014-10-311-2/+9
| | | | | | | | | When the left panel is set to launch the Global Search Activity, this can throw an ActivityNotFoundException if the application is updating while the user swipes to the left. Catch this exception and log it in the occurance of this unlikely timing. Change-Id: Ic7aed06697e873787d64a36556cbfc8a3e840aa4
* Launch theme chooser that supports cyngn.intent.category.APP_THEMESClark Scheff2014-10-312-3/+11
| | | | | | | If no activity is found that matches the intent with that category we will launch the theme settings. Change-Id: I6c210ff2f38c58a76719cd8625955026fdd6daa0
* Trebuchet: RTL support for Settings ScreensRaj Yengisetty2014-10-284-12/+71
| | | | Change-Id: I9e6d812a81aa4358e230bd1d58877695eaeee0ac
* Fix App Info bug where extra empty screen remains after dropping drag objectRaj2014-09-221-0/+5
| | | | | | on the App Info traget. Change-Id: Ibce0b75417cf8682ccdb0c6b755a22f34e735f9d
* Revert "Fixes bug with extra empty screen staying on Workspace when a"Raj2014-09-221-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
* Re-add Fade side pages and Page outline options.Raj Yengisetty2014-09-113-21/+21
| | | | Change-Id: Iaab1dbd980d065e631d8f3cfe363f3a0b5897f86
* Fixes bug with extra empty screen staying on Workspace when aRaj Yengisetty2014-09-111-1/+1
| | | | | | shortcut is dragged to the AppInfo target. Change-Id: Ie223beed5226c75d287a5a8b7983578a01bc8391
* Revert "Fix AppInfo drop target bug"Raj Yengisetty2014-09-111-2/+0
| | | | | | | | This reverts commit 498c660baad57f84f2979d0e3e1ebcf45a23f05c. The commit causes breaks adding widget shortcuts to the Workspace. Ex: Floating calculator, contacts, etc. Change-Id: I681669e6b26ddf3ae2dede0eb05532d6779b9aa2
* Set workspace into a transition prepare state before animating into all appsRaj Yengisetty2014-09-111-6/+7
| | | | | | | Fix for: https://jira.cyanogenmod.org/browse/BACON-594 Change-Id: I54c168174ebb9a2dd3147f4696caadec817eac4f
* Fix - Workspace background gradientRaj Yengisetty2014-08-271-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
* Revert "Handle theme changes"Clark Scheff2014-08-272-53/+1
| | | | | | This reverts commit 64718d775ce8322915d143adb9a0f1ea3160e9e3. Change-Id: Ibf92232dfa8ee96aafecc4b4e49fc55cfb21c229
* Revert "Use theme change categories and clear widget preview cache"Clark Scheff2014-08-271-18/+22
| | | | | | This reverts commit b52694e4fdd3c8ee524b5f6f870697e40061b2a6. Change-Id: I69bff363280ea69ee83dea3a8f2ef2d0d95a7be0
* Revert "Use ArrayListExtra for broadcasting theme changes [2/2]"Clark Scheff2014-08-271-38/+7
| | | | | | This reverts commit ebf8f37515c23a167cef2bb8cff04854c52fd35b. Change-Id: If80e3bc0443fa9e79c085e9251f4be0a10730397
* Trebuchet: fix expanded desktop with GEL integrationRoman Birg2014-08-252-19/+0
| | | | | | | | | On leaving the GEL activity, we were setting extra flags, which affected global sensitivity. We actually don't have to do any extra cleanup and unset any flags, so let's just remove the code! Change-Id: I111f2e4c62017841e0148f7172ad097e00962385 Signed-off-by: Roman Birg <roman@cyngn.com>
* Fix HideIcon behavior in FoldersRaj Yengisetty2014-08-191-8/+9
| | | | | | https://jira.cyanogenmod.org/browse/CYAN-5022 Change-Id: I6da2e8ee4b3ab4fede10553a422f5520eb6e1293
* Fix: Sort apps before opening AppDrawer to reflect theRaj Yengisetty2014-08-162-0/+5
| | | | | | | | | | | | | | | most recent counts. 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
* When reloading dynamic grid, reload restore page first.Raj Yengisetty2014-08-152-4/+8
| | | | Change-Id: I05c1d1faf61ecd79abf15d4ab84a689b7e0cb2ac
* Fix spacing issues on devices with/without nav-bar in overview settings panelRaj Yengisetty2014-08-153-4/+25
| | | | Change-Id: I329b63b780e5727307770e076bf03e3bc4d82dd0
* Fix for workspace showing outline after live settings changesRaj Yengisetty2014-08-151-2/+4
| | | | Change-Id: Ia60d8541b91e0ea9f65c8551aff1cfea7ae5c3fa
* Fix AppInfo drop target getting cut off when search bar is off.Raj Yengisetty2014-08-151-7/+8
| | | | | | https://jira.cyanogenmod.org/browse/CYAN-4665 Change-Id: Id1db2c19430bb5c617ab53383fd25625980e9acf
* Settings adapter should use the position and partition valuesRaj Yengisetty2014-08-152-140/+168
| | | | | | | Fixes: https://jira.cyanogenmod.org/browse/BACON-587 Change-Id: Ie935c51ea1e68eaa7da64b23eaf2ae28a630a3bb
* Fix for shadow folders.Raj Yengisetty2014-08-143-5/+76
| | | | | | | | | | | Repro: - Set low animation scale (.3-.5) - Pkill Trebuchet - Open home screen and click open folder with ~12+ https://jira.cyanogenmod.org/browse/CYAN-4907 Change-Id: Ib927101e72674d5ffa3733f5c093c3f9970fa273
* After getting an update to rebind items after getting updates for protected ↵Raj Yengisetty2014-08-061-0/+2
| | | | | | components, strip empty screens Change-Id: Ic269e7c8c233b34c8cdf638f2c794bd0e5bf668a
* Trebuchet: Draw the dynamic grid image dynamicallyDanny Baumann2014-08-061-106/+119
| | | | | | | This commits makes it possible to draw the image which previews the selected grid dynamically. Change-Id: I7c029f06110afdf1fe62145a079bba76166bb690
* Trebuchet: Don't show protected apps options in restricted profiles.Adnan2014-08-042-3/+16
| | | | | | Change-Id: I6fb32d39e25150fdc65669c452784ab60e9f3115 JIRA: 4668 Issue: https://jira.cyanogenmod.org/browse/CYAN-4668
* Trebuchet : Add folder on folder checksDanesh M2014-07-292-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
* Fix AppInfo drop target bugRaj Yengisetty2014-07-291-0/+2
| | | | | | | | | Repro: - Pick up a shortcut from Workspace - Drop on AppInfo - Observe extra screen on right has not been removed Change-Id: I6c68df27094d964308cc6e2a95917010784725a6
* Trebuchet: Fix scaling for some devicesPaul Bouman2014-07-171-4/+4
| | | | | | | Commit 'Adding specific buckets for N5 in dynamic grid' was not merged correctly. The Nexus S profile was removed and Large Phone duplicated. Change-Id: Ifc439e8d4a4840efe0da543cf30fbeb134972bb3
* Add support for CMHome (1/2)Matt Garnes2014-07-158-79/+199
| | | | | | | | Add permission for DashClock extensions. Change Trebuchet to allow viewing additional screen. Add setting that to configure Google Now / CMHome. Change-Id: I63286a2cce87455ed411bd4c77680200eec89be7
* Fix:Raj Yengisetty2014-07-141-4/+5
| | | | | | | - For devices with HW menu button, pressing menu in app tray doesn't show overview settings panel. - When you click the widgets button from the expanded settings pane, the settings pane eats touch events even when the workspace goes back into normal mode. Change-Id: Ibf5f22c969f257ece72474c6ce91d7896aaba158
* Trebuchet: Further adjustment of panel overview glitch fixArne Coucheron2014-07-141-2/+2
| | | | | | | * These values takes care of the glitch also on legacy 480x800 devices. Change-Id: Ia901699351ed887a9100bbec6d10be9e92b50c14
* Fix Overview Panel glitch when animating Workspace into overview mode.Raj Yengisetty2014-07-101-3/+2
| | | | Change-Id: I12cd8e6e96cdebadfa42590152c4c16e644aded3
* Trebuchet: Add a string for JA translationblack2014-07-101-3/+2
| | | | Change-Id: Ifeac487af7797175863632412b9b82ad8c3acbdb
* Protected Apps:Raj Yengisetty2014-07-101-0/+1
| | | | | | - Fix remove all apps button bug Change-Id: I6029831878923b40f3db1b0dc6cfbd81ccc10d33
* Fix for disappearing icons bug.Raj Yengisetty2014-07-091-0/+2
| | | | Change-Id: I5c23a70e4202f07082b63eabe7afe67edd0d78b3
* Fixes:Raj Yengisetty2014-07-082-6/+7
| | | | | | | - Hide search bar if live settings are toggled in overview mode - Restore workspace outlines in overview mode after live settings changes Change-Id: Iee9894f674c78ba3c82486de97e34d610c04a2a5
* Fixing issues introduced in 31cc95a0:Raj Yengisetty2014-07-081-1/+4
| | | | | | | - HotSeat needs go visible/invisible when transitioning in and out of overview mode - Animation listener for setting alphas needs to remove itself when the animation finishes Change-Id: I654c0e700c9bc3f77692ed653f8158cec1f2430b
* Trebuchet: launch framework WallpaperPickerRoman Birg2014-07-081-1/+1
| | | | | | | | | | | After long pressing on the home screen and selecting "Wallpapers" Trebuchet's activity was being called. We have now switched to framework's WallpaperPicker activity, so open that one instead. Change-Id: I97165350f1b995ae921eebbc126eb3e0e2396963 Signed-off-by: Roman Birg <roman@cyngn.com>
* 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