summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/LauncherModel.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet : Icon edit dialog fixesDanesh Mondegarian2013-09-291-0/+2
| | | | | | | | | | | Append text rather than setText for the edit dialog title, so that the cursor moves to the end. Keep track of customIconResource state to ensure its not reset. Preserve custom icons when the linking application is updated Change-Id: Icab0f0ce45f1dbb79ce895228303aa2c944f1213
* Trebuchet : Support for custom icons per shortcutDanesh Mondegarian2013-09-081-7/+50
| | | | | | | Allows user to assign custom icons from icon packs to individual homescreen shortcuts. Change-Id: I6613b5f3e6517485a6f83aa5f6769e22bb7f18dc
* Fix SQLite crashes in LauncherMichael Jurka2013-08-171-11/+18
| | | | | | | | | | We were using multiple SQLiteOpenHelpers, which causes problems; this change switches us to using only one Bug: 8346109 Change-Id: If7d4dff3d34edb38d9586d3b0f4e8e1747a71a75
* Fixing issue where updating the visibility of one application can trigger ↵Winson Chung2013-08-171-11/+16
| | | | | | | | all icons to disappear. (Bug 8757421) - Also queueing bindComponentsRemoved() and bindPackagesUpdated() to wait for resume (Bug 8594153) Change-Id: I44028fe79f6fa6bcd6b829e36f3f5b9ed756dc4d
* Fixing slow binding when returning to LauncherMichael Jurka2013-08-171-3/+17
| | | | | | | Bug: 8978842 Bug: 8660324 Change-Id: Idfa37c05ed299faa465ea66de4b43d30da77ecbc
* Cache widget previews in a DBMichael Jurka2013-08-171-0/+2
| | | | | | - Smoother All Apps scroll performance Change-Id: Id2d31a45e71c63d05a46f580667ad94403730616
* Fix bug where apps weren't appearing on workspace after being installedMichael Jurka2013-08-171-2/+34
| | | | | | Bug: 8707110 Change-Id: Ib50e0c600a4a77450127f3947aa894346dc99a5a
* Initial base for live foldersDanesh M2013-08-071-10/+34
| | | | Change-Id: I76b8065b88e4a51d33e802fc8b80911f703f025a
* Trebuchet: Make remove workspace items of hidden apps optionalJorge Ruesga2013-06-251-41/+45
| | | | | Change-Id: Id5c1f7a105d4140747a9f841b210cd7a7d1825df Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* 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>
* Trebuchet: Labels on dock itemsJorge Ruesga2013-05-071-0/+10
| | | | | | | | | | | | | | 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: Hotseat fixesJorge Ruesga2013-04-171-24/+57
| | | | | | | | | | | | | | | | | | | 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>
* ShortcutInfo: Save title if itemType shortcutnebkat2013-01-011-4/+4
| | | | Change-Id: I7ce0bf8a2aea04131afb423407c09cdcf184febe
* Cleanupnebkat2013-01-011-3/+1
| | | | Change-Id: I92cc54f360032e34e138e2c460d49f24dc028923
* LauncherModel: Fixesnebkat2012-12-301-25/+49
| | | | Change-Id: Ibc2cd7e30309380ac95467467df8d831ca12a183
* Launcher: Remove long-press menunebkat2012-12-291-73/+7
| | | | Change-Id: Ie513c0c815fcfa0daa2d5503d3c060ae8e2109c0
* LauncherProvider: Cleanupnebkat2012-12-281-3/+0
| | | | Change-Id: Iabdfb3f12d1f52419e7252b1beabd85b4cff47f0
* LauncherActions: Don't use magic intentsnebkat2012-12-261-8/+82
| | | | Change-Id: I5ee3fbc9b1cdc63407def751bb7639cb54bdb7c3
* Cleanupnebkat2012-12-261-190/+85
| | | | Change-Id: Ied69f285305dbc3e1bf62676f23c47d6c6969e0a
* Hotseat: Multiple Pagesnebkat2012-12-241-18/+5
| | | | | | | | | | | | | | | Conflicts: res/layout-land/hotseat.xml res/layout-port/hotseat.xml res/values/strings.xml res/xml/default_workspace.xml res/xml/preferences.xml src/com/beansoft/launcher/preference/PreferencesProvider.java src/com/cyanogenmod/trebuchet/Hotseat.java src/com/cyanogenmod/trebuchet/PagedView.java src/com/cyanogenmod/trebuchet/Workspace.java Change-Id: I958b105451160841d5d7d345164dcb2dec4f9404
* Launcher actionsnebkat2012-12-241-12/+14
| | | | Change-Id: Ica0699f99d68b9f89d6f103eaadc56e632d87101
* Workspace: Shortcut renamingnebkat2012-12-231-7/+7
| | | | Change-Id: I67e7441b3d6ba4eba70936c2fbdc9d854b706948
* 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-10/+3
| | | | | | | (such as roaming AllApps icon) on phones Revert "Trebuchet : Add a pref to set hotseat icon's number" This reverts commit e74a54343ce7896b5005154e8bcbc7d5f06c7808
* LauncherModel: Fix possible NPEnebkat2012-12-021-2/+2
| | | | Change-Id: I97a48c62a4b111b2b6a20093e8b7346fec9ae3ea
* Trebuchet : Add a pref to set hotseat icon's numberAntonin Fouques2012-12-011-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix post-merge breakage from the new 4.2 stuffRicardo Cerqueira2012-11-191-1/+1
|
* Preferences: Number of Homescreens + Default Screennebkat2012-11-191-5/+5
| | | | Change-Id: Id361d71c9fd0f0748fa6a48c6702178d366221b8
* Rename Launcher to TrebuchetChirayu Desai2012-11-191-0/+2565
Launcher2 is now Trebuchet application_name removed from localized strings and made un-translatable com.android.launcher is now com.cyanogenmod.trebuchet