summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Fix NPEJorge Ruesga2013-06-251-2/+4
| | | | | Change-Id: I89c6a233e3480362db004d361914083223f3cb72 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Make remove workspace items of hidden apps optionalJorge Ruesga2013-06-253-46/+64
| | | | | Change-Id: Id5c1f7a105d4140747a9f841b210cd7a7d1825df Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "Trebuchet: Remove workspace items of hidden apps" into cm-10.1Jorge Ruesga2013-06-231-0/+77
|\
| * Trebuchet: Remove workspace items of hidden appsJorge Ruesga2013-06-221-0/+77
| | | | | | | | | | | | | | | | Remove the shortcut and widget associated to an app when this become hidden for user setting. Change-Id: I4ce8f545ef879d711fbbd8ab8572dcd7386dfa75 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "Trebuchet: Fix stack effect" into cm-10.1Jorge Ruesga2013-06-221-2/+19
|\ \
| * | Trebuchet: Fix stack effectJorge Ruesga2013-06-221-2/+19
| |/ | | | | | | | | | | | | | | | | | | Actually stack effect is broken. Dragging an item from the current page to other fails, because the page has an alpha value of 0, and the dragged icon falls into a hidden state. Patchset 2: Fixed the overlap of views of stack effect on tablets Change-Id: I7c607eee29fbd82542b49d2c6bd50d7554e6d673 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* / Trebuchet: Fix Landscape/TransposeLayoutWithOrientation move to default pageJorge Ruesga2013-06-221-7/+9
|/ | | | | | | Change-Id: I5906ee6af855d9ed17f51e9ee94d53058c67812e JIRA: CYAN-1246 Issue: https://jira.cyanogenmod.org/browse/CYAN-1246 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Sync "maxExternal" preferences and its defaults valuesJorge Ruesga2013-06-222-2/+6
| | | | | Change-Id: If6f70d75a9a2e5ea044e68dcaf906748bd09a53e Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Revert animation endJorge Ruesga2013-06-202-11/+1
| | | | | | | | Since moveToDefaultScreen is protected by mIsSwitchingState, no animation is triggered when the home screen is double tapped. Now, cancel the animation is causing icons to disappear. Change-Id: I3838a02d7afc4a40343c593ea743d1773bbc3cfd Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Fix fadein adjacent screens for stack transitionJorge Ruesga2013-06-151-0/+3
| | | | | | | Change-Id: I3bda2eeddc49495c5e7c6ce11e23aa01729cfa23 JIRA: CYAN-1131 Issue: https://jira.cyanogenmod.org/browse/CYAN-1131 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Workspace: Change state animation cleanupNebojsa Cvetkovic2013-06-141-60/+60
| | | | Change-Id: I3c0ef9b6378c10b3e7d92643abd7ececc4431cb0
* LauncherViewPropertyAnimator: Implement end()Nebojsa Cvetkovic2013-06-143-2/+15
| | | | Change-Id: Ic7a0c98b937dc5fc8d429ab38303865dae9c7686
* Workspace: Small cleanupNebojsa Cvetkovic2013-06-141-5/+0
| | | | Change-Id: I9fed548754c96d9a81f3aac142edf1cdd8a1b4f5
* EcoGallery: Small cleanupNebojsa Cvetkovic2013-06-142-15/+5
| | | | Change-Id: I4a7082c524729ce6439991b81ee3de3a91ff151c
* Revert "Trebuchet: Fix double tab on home button"Nebojsa Cvetkovic2013-06-141-55/+8
| | | | This reverts commit 6a198e07c88224bfbbed4db41e2e664554903c2b.
* Fix for low aspect ratio (4x3) tablets.David Marble2013-05-272-6/+7
| | | | | | | | | | | | | | | | The recent changes (http://review.cyanogenmod.org/#/c/42991/) cause problems for tablets with a 4x3 screen such as Tenderloin. The icon spacing is not calculated correctly. This is stated in the code for Workspace.java at line 441: "//TODO: This code currently fails on tablets with an aspect ratio < 1.3." This change fixes that failure for such tablets. Besides setting the grid size, stretching is required to get useable screens. This reenables stretching as well as grid size setting if the maintainer has specified <bool name="config_workspaceTabletGrid">true</bool> in an overlay. There is no change to the default behavior. Change-Id: I5863ba4120d1e27773a58be2c336c266c05b838f
* Trebuchet: fix broken compilation due to commit 42994Matt Mower2013-05-251-1/+1
| | | | | | | | | Better layout for isScreenLarge devices breaks compile due to an errant parenthesis. See: http://review.cyanogenmod.org/42994 Change-Id: I0fd8cb74a9977bee8c2dc08d3d271e1cf800713d
* Trebuchet: Better layout for isScreenLarge devicesJorge Ruesga2013-05-252-5/+15
| | | | | | | | | | | | | | | | | | | | This change increase the space for the shortcuts at hotseat to fit the workspace on isScreenLarge devices. Also deactivate and remove the stretch screen setting, because the dimensions are always calculated on these devices. Also this change configures the space between hotseat pages to avoid to display icons for other pages in the current hotseat page. Patchset 2: Added nebkat suggestions Screenshots from TF700T: Landscape -> https://sharecloud.ruesga.com/public.php?service=files&t=efede324ade05db79878eac13e637301 Portrait -> https://sharecloud.ruesga.com/public.php?service=files&t=79a7002a73e167eed08a195c4cf3d05c Change-Id: I061303ce2ac78f3e7f7b13c4a25602b14e991e99 JIRA: CYAN-502 Issue: https://jira.cyanogenmod.org/browse/CYAN-502 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Fix double tab on home buttonJorge Ruesga2013-05-231-8/+55
| | | | | | | | | | Ensure that all transitions are complete while processing new intents, creating a queue of pending intents. This way every transition is executed properly. JIRA: CYAN-1115 Issue: https://jira.cyanogenmod.org/browse/CYAN-1115 Change-Id: I74e5e2e14cc7515acd1eeef0cfddf7161992b11b Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "Revert "Reload launcher on expanded desktop"" into cm-10.1Danny Baumann2013-05-121-11/+0
|\
| * Revert "Reload launcher on expanded desktop"Danny Baumann2013-05-101-11/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 125ab5aa2a51fb04e1d127e87551533465c14c53. Changes apps to accomodate is the wrong solution, the correct fix needs to be done in framework. Change-Id: I10e9751e89a6e30f3f4db2d3199fe8e9513fd554 JIRA:CYAN-1016
* | Trebuchet: Fix workspaceTabletGrid checkJorge Ruesga2013-05-111-4/+1
| | | | | | | | | | Change-Id: I35f7ff911778077adbef87c9b6e9aa78af717e19 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "Trebuchet: Centers horizontally the drawer on vertical orientation" ↵Jorge Ruesga2013-05-101-2/+2
|\ \ | | | | | | | | | into cm-10.1
| * | Trebuchet: Centers horizontally the drawer on vertical orientationJorge Ruesga2013-05-111-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The drawer (AppsCustomizePagedView) disable the use of centers horizontally && vertical every page. There is no problem with that on device with fixed grid, and on devices with isLargeScreen on horizontal orientation aligning the cellpagedview the top looks good. But when orientation is vertical, the cellpagedview is aligned to the left. In this case, this change forces the cellpagedview to center horizontally, which give to the cellpagedview the same good look than horizontal orientation. [before] https://sharecloud.ruesga.com/public.php?service=files&t=5fee1bd3e68fd28eafcaff13357956db [after] https://sharecloud.ruesga.com/public.php?service=files&t=0beb9a41d6ad86fef089fb9f643ff51c Change-Id: I20a996c60dd5d89b004ceee216ce5aea18b0466f Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* / Trebuchet: Properly remove grid preference on isLargeScreen devicesJorge Ruesga2013-05-111-3/+8
|/ | | | | | | Actually, the preference is not been removed. Change-Id: I0a37e953140b748ff03d6018166c004bcb4907fa Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Fix drawer vertical orientation bugsJorge Ruesga2013-05-081-4/+9
| | | | | | | Change-Id: I6c76830c944be85b62c043991c36ba5bd18f036e JIRA: CYAN-901 Issue: https://jira.cyanogenmod.org/browse/CYAN-901 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Labels on dock itemsJorge Ruesga2013-05-078-32/+99
| | | | | | | | | | | | | | Patchset 4: Discard item scale and use paddings to adjust the workspace Patchset 5: mHideDockIconLabels = false on vertical hotseat Patchset 6: Fixed FolderIcon typo Fixed inline style Remove Workspace injection on Launcher class Use isLargeScreen to show text in vertical hotseat Change-Id: I00c57a28b4c7110b66ec6f856df8865006a76699 JIRA: CYAN-523 Issue: https://jira.cyanogenmod.org/browse/CYAN-523 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Use preference provider to lock/unlock homescreenJorge Ruesga2013-05-012-6/+16
| | | | | | | | mSharedPreferences uses "com.cyanogenmod.trebuchet.prefs", while the Preferences activity uses "com.cyanogenmod.trebuchet_preferences". Use PreferenceProvider to sync lock/unlock homescreen. Change-Id: Ib9312a9f8cffe3f009b8cd8d9b9789d459c1bd96 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Force reload wallpaper dimension on screen size changeJorge Ruesga2013-04-301-2/+7
| | | | | | | | | | This ensures that the wallpaper dimensions are adjusted when a screen size change occurs, for example when the expanded desktop feature is activated on devices without hard keys. Change-Id: I4be96034a609afb2dd18e346b04ffacfed4e7043 JIRA: CYAN-790 Issue: https://jira.cyanogenmod.org/browse/CYAN-790 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Lock homescreenJorge Ruesga2013-04-294-7/+49
| | | | | | | | | | | | | Allow lock shortcuts and folders positions in the workspace, hotseat and apps and widgets drawer. When is enabled the system avoids to move any shortcut or folder, change its names and access to widgets. Patchset 2: Fixed typo Change-Id: I832da526cf1eb32752218656a7c2dafc53010236 JIRA: CYAN-686 Issue: https://jira.cyanogenmod.org/browse/CYAN-686 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Enable screen stretch by defaultSteve Kondik2013-04-251-1/+1
| | | | | | * I don't know anyone who doesn't want this. Change-Id: I2b5091a79d9ec32841d5f9b93a7c6c11357b9d04
* Hotseat: Go to default page on home buttonNebojsa Cvetkovic2013-04-182-1/+13
| | | | Change-Id: I95a85fafa34a7a58c98b9aed5547434f9c4610c7
* Trebuchet: Hotseat fixesJorge Ruesga2013-04-175-51/+144
| | | | | | | | | | | | | | | | | | | This change fixes some of the bugs of HotSeat on landscape mode: * Fixed distance algorithm for XY spatial (not only for X axis) * Fixed cellX and cellY database handling when items are added in landscape mode * Fixed cellX and cellY transtions when add new items * Restore the current hotseat page on rotation Patchset 2: Fixed create new folder in vertical hotseat Patchset 3: Fixed broken mTransposeLayoutWithOrientation != true (large screen devices) Fixed delete existing folder in vertical hotseat Patchset 4: Fixed destroy animation when a folder is destroyed in vertical hotseat Rebased Change-Id: I8b0faa5b6fde42d80e0d98226fca07eead04223c JIRA: CYAN-315 Issue: https://jira.cyanogenmod.org/browse/CYAN-315 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "Trebuchet Settings: add setDisplayHomeAsUpEnabled" into cm-10.1David van Tonder2013-04-161-0/+16
|\
| * Trebuchet Settings: add setDisplayHomeAsUpEnabledMatthias Bosc2013-03-261-0/+16
| | | | | | | | | | | | patch 3: cleaner imports Change-Id: Ib7150bf248feb343042b1b8cc20775bae1d27279
* | Trebuchet: Fix vertical position of wallpaper when mWallpaperHack is activatedJorge Ruesga2013-04-141-1/+1
| | | | | | | | | | | | | | | | Fix vertical aligment of wallpaper when Wallpaper Quick Render setting is activated. See http://review.cyanogenmod.org/35227 Change-Id: I3b2b7b59ebce995724bcc2fe3f2aa079c7abafee Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Trebuchet: updated "carousel" transition effectFlorian Edelmann2013-04-132-6/+13
| | | | | | | | | | | | | | | | fixed vertical drawer support changed pivotY to half the screen height, so it looks better now Change-Id: I152ec456e80de7342d9f06985aa060c40407f856
* | added "carousel" transition effectFlorian Edelmann2013-04-082-2/+69
| | | | | | | | | | | | | | | | removed German translations again, fixed whitespace errors, fixed upper-/lowercase mistakes Change-Id: Ia502eede0e8140f49bc61141252ad0c862e0720b
* | Trebuchet: force close in dock (Trebuchet) with raised default page countJorge Ruesga2013-04-071-1/+3
| | | | | | | | | | | | | | | | | | Use the same ui_homescreen_default_screen's algorithm to fix overflow default values Change-Id: I2f529dc902fd736c2e36ff92cdf001bd23518236 JIRA: CYAN-757 Issue: https://jira.cyanogenmod.org/browse/CYAN-757 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "Trebuchet: Default workspace fixes" into cm-10.1nebkat2013-04-071-2/+13
|\ \
| * | Trebuchet: Default workspace fixesJorge Ruesga2013-04-071-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace AnalogClockWidget by cLock Widget * Add "no telephony" workspaces files. New favorites: - Phone -> Email - Contacts -> Calendar - Mms -> Contacts - Browser -> Browser * Add sw600dp and sw700dp update workspaces files Patchset 2-4: CleanUp Change-Id: If21559c59995326b93689f89291446a9962274cb
* | | Merge "Trebuchet: Centers vertically the wallpaper" into cm-10.1nebkat2013-04-071-16/+52
|\ \ \
| * | | Trebuchet: Centers vertically the wallpaperJorge Ruesga2013-04-071-16/+52
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actually, the wallpaper is not center vertically (both, with wallpaperhack and without wallpaperhack). This patch modifies: * Replaces the WallpaperOffsetInterpolator class by the Launcher2 implementation. * Fixes mWallpaperHack. onDraw now centers the y vertically. * Disable mWallpaperHack when there is only one homescreen (otherwise a black screen is displayed). Change-Id: Ia5e0763c9a31609db8f7826f619ed808041e97e7 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* / / Trebuchet: Fix NPEJorge Ruesga2013-04-071-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a NPE for the overflow menu. Steps: 1.- A device with no physical menu 2.- Install another launcher (xe Launcher2) (overflow menu is only displayed when Trebuchet runs outside CM or when multiple launchers exists) 3.- Access AllAppDrawer and tap the overflow menu 4.- Tap again the overflow menu or rotate the screen and tap the overflow menu. 5.- NPE The overflow menu is not recreated in onCreateOptionsMenu when isWorkspaceLocked(). The change checks if the user is on the AllAppDrawer and forces the recreation of the menu. Change-Id: Id68dd1f7b0c09a2f62b5f6d4fbef6f217bf98e82 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* / Trebuchet: Add overlayable config for tablet workspace grid sizeDavid Marble2013-03-241-1/+1
|/ | | | | | | | | | | | | | | | | | | Tablets with a 4x3 screen such as the HP Touchpad do not work well with automatic grid size setting. This problem is described in CyanogenMod Issue 5798: Trebuchet Tablet. This fixes that issue. This creates a flag in config that can be overlayed at build time to allow user settings to adjust grid size. The maximum settable row and column counts are also overlayable. This is a port of: http://review.cyanogenmod.org/#/c/21067/ which was merged into jellybean. The default behavior is unchanged. Rebased. Change-Id: I3d7cf5e121a423a0033310eee88e498bc080af3c
* Corrected misspelling of AccordionSeth Gregory2013-03-132-10/+10
| | | | Change-Id: I4b7ff094ab24b7a5399f6d340412aa1b37679064
* Merge "Revert "Improve scroll responsiveness."" into cm-10.1nebkat2013-03-091-50/+44
|\
| * Revert "Improve scroll responsiveness."nebkat2013-03-091-50/+44
| | | | | | | | | | | | This reverts commit ce6b2513bcfb257cfdeb604060708b3833ccb65e Change-Id: Id1b264c9f4417a2c3f22f3821f446fb9211f4616
* | Revert "Fix overflow visibility logic"nebkat2013-03-061-2/+2
| | | | | | | | | | | | This reverts commit 919296825af7c9028eac0f9c0be6d6c9fbda2184 Change-Id: Iba8cdc0f6d1023b12b7873314df13154f2cf265d
* | Fix overflow visibility logicVeeti Paananen2013-03-041-2/+2
| | | | | | | | Change-Id: Id9235c6946a402841cbd8512b118daf8b1be3c49