summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/preference/Preferences.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix for low aspect ratio (4x3) tablets.David Marble2013-05-271-4/+4
| | | | | | | | | | | | | | | | 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: I71b51a5ffe9911f1bb2da0b33930f73950efc782
* 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-251-5/+11
| | | | | | | | | | | | | | | | | | | | 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: I44e417ac42cec63ceb358977176ab536c8128f2b JIRA: CYAN-502 Issue: https://jira.cyanogenmod.org/browse/CYAN-502 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet: Fix workspaceTabletGrid checkJorge Ruesga2013-05-111-4/+1
| | | | | Change-Id: I5d1061970b10acf2a9a564ebed0c81dc61d816f9 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: Icdb94526f120501c6e5faa22bd912b0bd0f00f4f Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Trebuchet Settings: add setDisplayHomeAsUpEnabledMatthias Bosc2013-03-261-0/+16
| | | | | | patch 3: cleaner imports Change-Id: Ib7150bf248feb343042b1b8cc20775bae1d27279
* Revert "Preferences: Koush steals yachts"cm-10.1-M1Buga Dániel2013-01-141-17/+0
| | | | | | This reverts commit 1671eead0b0c5e02092ffef784a7dea21062eda0 Change-Id: Ia4f4030e5c7b862a66d917a62400da7e9971d8aa
* Revert "Preferences: Remove useless log"Ricardo Cerqueira2013-01-141-0/+1
| | | | This reverts commit bed0cb333eacab68fbc0f3c2b5463abb1fc267cb.
* Preferences: Remove useless lognebkat2012-12-291-1/+0
| | | | Change-Id: Ided2d84ad0adcbcfd0dce2226b216074c3cca0d4
* Preferences: Koush steals yachtsnebkat2012-12-291-0/+17
| | | | | | | | | | | | | | | | | "WHY ARE YOU UP AT 3AM!!!!" Preferences will get added if it is 3AM. <cdesai> settings seem small <cdesai> the size of preferences <nebkat> what am I supposed to do? <nebkat> fill the space with "koush steals yachts"? <cdesai> nebkat: let's see how many -2/+2s you get Before: https://docs.google.com/open?id=0BxOgOTemh7G7QktJT1NQamF5b0k After: https://docs.google.com/open?id=0BxOgOTemh7G7STV3dFRkUExFclE Change-Id: I20b1ba61b9ebafbc7bebbb09fec325a27bf76e06
* Preferences: Hide grid on largenebkat2012-12-211-5/+6
| | | | Change-Id: Ibf9f57a38f9a75e9de6e435faf0a6e4d77d428da
* Preferences: Cleanupnebkat2012-12-191-10/+202
| | | | Change-Id: I8973c8c043755ed01e1bb6107b09bb0eb734e66a
* Update log tagsnebkat2012-12-181-1/+1
| | | | Change-Id: I245c7574517096c17ab43736d6144f0f0aa04d40
* This is causing a lot of weirdness on tablets' hotseats, + mild weirdness ↵Ricardo Cerqueira2012-12-041-4/+0
| | | | | | | (such as roaming AllApps icon) on phones Revert "Trebuchet : Add a pref to set hotseat icon's number" This reverts commit e74a54343ce7896b5005154e8bcbc7d5f06c7808
* Trebuchet : Add a pref to set hotseat icon's numberAntonin Fouques2012-12-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a preference for the hotseat (Launcher main bar/dock) - Choose the number of icons on the hotseat - Choose the place of the applications drawer button by drag'n'drop - Translations in English + French This is usefull for big screen devices. You can set from 1 to 9 buttons on the hotseat. You can set the app button where you want by drag'n'drop. Default values are keeped unchanged so there is no pb with first screen tuto + no pb with default shortcuts. Demo video : https://www.dropbox.com/s/2wamj9yr1s3woxl/Trebuchet-hotseat-icons.mp4 Demo apk : https://www.dropbox.com/s/psqab2gyivcyo3d/CmoaToto%20Trebuchet.apk PatchSet 1 : initial commit PatchSet 2 : coding style PatchSet 3 : - Remove prefs for tablet - AllApps Button move by Drag'n'Drop (instead of pref) PatchSet 4 : searchbar & deletebar don't dis/appear while dragging AllApps button) PatchSet 5 : dropOnFlingToDeleteTarget disabled for AllApps button PatchSet 6 : - Fix shortcuts errors in database - Set docks pref disabled for large screen programmatically - Fix english strings/french trads Change-Id: I21f6a4610ed16c8780ccf6e2acffcf6e07511457 Conflicts: src/com/cyanogenmod/trebuchet/Hotseat.java src/com/cyanogenmod/trebuchet/LauncherModel.java src/com/cyanogenmod/trebuchet/Workspace.java
* Trebuchet: Only mark preferences changed when they actually areDaniel Bateman2012-09-281-6/+25
| | | | | | | Otherwise a redraw is forced by just entering the launcher settings. Change-Id: Iafbd20368650bc4ea751976892d7184248937118
* Preferences: Version preference information stylenebkat2012-08-131-0/+4
| | | | Change-Id: I723b6daf3e6a8f1d2cc2c1c5f4f50b85ef7ecd08
* Update Copyrightnebkat2012-08-071-1/+1
| | | | Change-Id: I5ffdfd4a09bd58f8ae498c932ce07d691cfb8ab8
* Preferences: Hide search bar preference + othersnebkat2012-08-061-1/+9
| | | | | | | - Restart Launcher on preferences changed - Implement "getCurrentOrientation()" Change-Id: I0728824ab994984c1dc798b61efa26b727ca3ea2
* Preferences: initial Preferences Activity, Provider and XMLnebkat2012-08-061-0/+33
Change-Id: I27d44993c4e34e08cfafff6d7a418df7c4f06fd2