summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Trebuchet : Fix dynamic padding" into cm-10.2Danesh Mondegarian2013-10-233-22/+19
|\
| * Trebuchet : Fix dynamic paddingDanesh Mondegarian2013-10-163-22/+19
| | | | | | | | | | | | Improves dynamic padding based on cellcount / screen size. Change-Id: Ib1c9419a39ea2b3a62be9564373a713a411cb1cf
* | Support for adding live folders in the default workspaceSteve Kondik2013-10-202-0/+54
| | | | | | | | Change-Id: I69fe7bde3e8247ce574ddbbeba942344c761842a
* | Trebuchet: Notify wallpaper offsets to LWPsJorge Ruesga2013-10-191-1/+1
|/ | | | | Change-Id: Icca0ba23f674c2b2116f47349e7b3abc62d32c21 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Revert "Trebuchet : Fix cellsize for dynamic changes"Steve Kondik2013-10-121-0/+5
| | | | | | This reverts commit 277a45fb839880adf89bc4f2bc098154b71c8b2a. Change-Id: I2d6d9cffee330118cd9e549dc345ad91d8f033e6
* Trebuchet : Fix cellsize for dynamic changesDanesh M2013-10-071-5/+0
| | | | | | | When the grid size is changed, this logic does not take that into account. Fix that by allowing the cellWidth/cellHeight to be set in onMeasure. Change-Id: I58938eea806a527d1cb54786fa045181455fefff
* Trebuchet : Fix edit dialog persistenceDanesh M2013-10-011-0/+1
| | | | Change-Id: If3f09bbd08ecc67706cd1eec7083055bbae89c11
* Trebuchet: fix selector wrap in DoubleNumberPickerKyle Ladd2013-10-011-2/+2
| | | | | | setWrapSelectorWheel needs min value and max value set first Change-Id: Ibf10d55d7021600f0e2cc73960cde91a8aad4330
* Trebuchet : Icon edit dialog fixesDanesh Mondegarian2013-09-294-11/+17
| | | | | | | | | | | 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 : Fix asset xml parsingDanesh M2013-09-131-1/+4
| | | | | | | | openXmlResourceParser only seems to work for compiled resources. This addresses the issue introduced in http://review.cyanogenmod.org/#/c/49629/6 where icon packs which relied on appfilter.xml to provide icons broke. Change-Id: Ia1c92258638faa8ebc7523762e37ae532aba7d72
* Trebuchet : Support for custom icons per shortcutDanesh Mondegarian2013-09-0811-93/+491
| | | | | | | Allows user to assign custom icons from icon packs to individual homescreen shortcuts. Change-Id: I6613b5f3e6517485a6f83aa5f6769e22bb7f18dc
* Merge "Trebuchet : Live folder removeAll fix" into cm-10.2Danesh M2013-08-313-5/+2
|\
| * Trebuchet : Live folder removeAll fixDanesh M2013-08-303-5/+2
| | | | | | | | | | | | | | | | Relayout folder in event that the folder is removed of all its contents. Also allow apps to clear folder contents. Change-Id: Idb79d102fa26dcb1920fca18b9dfa3267baa94b0
* | Merge "Trebuchet: AppsCustomizePagedView: Update tab from content type when ↵Danesh M2013-08-301-8/+12
|\ \ | |/ |/| | | not using joined apps view" into cm-10.2
| * Trebuchet: AppsCustomizePagedView: Update tab from content typexoomdev2013-08-231-8/+12
| | | | | | | | | | | | when not using joined apps view Change-Id: I2dcc8cf61a3b0ac301acffa5369b535a5b59e835
* | Merge "Trebuchet : Improve deletion of all folder contents" into cm-10.2Danesh Mondegarian2013-08-264-7/+15
|\ \
| * | Trebuchet : Improve deletion of all folder contentsDanesh Mondegarian2013-08-254-7/+15
| |/ | | | | | | | | | | | | | | | | | | Rather than invoking callbacks for each removed item, just add a callback for when all items are removed and invoke it once. This solves the case where if a folder is updated frequently and its visibility is toggled by the user, we don't enter an inconsistent state. Change-Id: I149cb2218501e4d0ef0d312550e58e76bf08a850
* / Trebuchet : Icon pack themeDanesh Mondegarian2013-08-256-5/+361
|/ | | | | | | This patchset allows the user to set an icon pack for the entire launcher. Change-Id: I3dc8311f7e0a7a4f174fd568aa1d74b5ceb8471a
* Trebuchet : Add live folder removal to removeItemsByPackageNameDanesh M2013-08-191-0/+6
| | | | | | | | | Previously only removeItemsByComponentName had an entry for live folders which left removeItemsByPackageName to fall through to regular folders. This patchset addresses that and marks the folder for removal if the package was uninstalled. Change-Id: I2ae8c8f5ff723cc377e8a4bb56e0e118c438e4e7
* Trebuchet : Update renamed idsDanesh Mondegarian2013-08-181-10/+14
| | | | | | Update cling text ids for all layouts Change-Id: I8efd5cb882a42bdefc764bc6ed0c75ba75eff7a2
* Fix crash caused by double loading of widget previewsMichael Jurka2013-08-171-0/+1
| | | | Bug: 8146408
* Persist list of shortcuts to install on home workspaceMichael Jurka2013-08-171-7/+106
| | | | | | Bug: 8707110 Change-Id: I6740350040dceb0edaf4295d6a5af62a088a3055
* Fixing NPE in Workspace.removeItemsByPackageName() (Bug 8942242)Winson Chung2013-08-171-3/+3
| | | | Change-Id: I1f63e548caa4b00b7166db4a53307c80650d8907
* Don't close widget preview cache dbMichael Jurka2013-08-172-10/+0
| | | | | | | Only one connection is ever held now, and that will be closed when the app is killed Change-Id: Ia22e829b901844830cb032f859157b24eb395d8e
* Fix SQLite crashes in LauncherMichael Jurka2013-08-174-33/+48
| | | | | | | | | | We were using multiple SQLiteOpenHelpers, which causes problems; this change switches us to using only one Bug: 8346109 Change-Id: If7d4dff3d34edb38d9586d3b0f4e8e1747a71a75
* Fix bug with some 1x1 widget previewsMichael Jurka2013-08-171-8/+6
| | | | | Bug: 8310045 Change-Id: I6d8492a3d57d89bb2a1c09cf9b8d91840cd57657
* Fix rare NPEMichael Jurka2013-08-171-3/+5
| | | | | Bug: 8191673 Change-Id: I72ce7e78807c011858238f96c02a9500f930fb01
* Fix SQLite syntax errorMichael Jurka2013-08-171-2/+2
| | | | Change-Id: I540146553a28d78772d11ed74f678fcb4efe0124
* Fix crash when creating preview cache tableMichael Jurka2013-08-171-1/+1
| | | | Change-Id: Ibb9f139ce2c2c9d7c06a60d2aebc00969475f4a2
* Fix crash when switching between Apps/Widgets tabsMichael Jurka2013-08-174-11/+20
| | | | | Bug: 8138894 Change-Id: I8a4e62fad36d9db1dd289b1c56b42fea083012ac
* Clean up database in WidgetPreviewLoaderMichael Jurka2013-08-172-0/+9
| | | | Change-Id: I498317538441c973334362b58714d2f4392933db
* Fix crash when rotating all appsMichael Jurka2013-08-173-48/+61
| | | | | Bug: 8134296 Change-Id: If03a66aae1beefc7e58b36c01f9f904cb586955d
* Use user restrictions instead of isLinkedUserAmith Yamasani2013-08-171-6/+7
| | | | | | | Use a different API to query if the user is likely to have fewer apps installed. Bug: 8720520 Change-Id: Ic4cbca47679627b33e08fd83653f8d20de294675
* Follow API change to isUserLimited()Amith Yamasani2013-08-171-3/+3
| | | | Change-Id: Ibbaad903c07a8e3dc96b37536d438fbee6b0356f
* Hide clings in child modeMichael Jurka2013-08-171-1/+14
| | | | | | Bug: 8349525 Change-Id: Ie92153e77f1714b88986813a689a4fa7e444d1dc
* Fixing issue where updating the visibility of one application can trigger ↵Winson Chung2013-08-177-64/+109
| | | | | | | | all icons to disappear. (Bug 8757421) - Also queueing bindComponentsRemoved() and bindPackagesUpdated() to wait for resume (Bug 8594153) Change-Id: I44028fe79f6fa6bcd6b829e36f3f5b9ed756dc4d
* Fix NPEMichael Jurka2013-08-171-1/+5
| | | | | Bug: 8596760 Change-Id: I401aa0f9a1b8b1c167b502f6aad11cb0f98b7c33
* Fixing slow binding when returning to LauncherMichael Jurka2013-08-174-48/+119
| | | | | | | Bug: 8978842 Bug: 8660324 Change-Id: Idfa37c05ed299faa465ea66de4b43d30da77ecbc
* Cache widget previews in a DBMichael Jurka2013-08-176-315/+676
| | | | | | - Smoother All Apps scroll performance Change-Id: Id2d31a45e71c63d05a46f580667ad94403730616
* Fix bug where apps weren't appearing on workspace after being installedMichael Jurka2013-08-172-19/+64
| | | | | | Bug: 8707110 Change-Id: Ib50e0c600a4a77450127f3947aa894346dc99a5a
* Launcher: It will pop shortcut added when the screen no roomkaiyiz2013-08-171-0/+17
| | | | | | | | | | | | | | | Contacts show a sucesssful toast directly after send broadcast to laucher evenwhen there is no room in launcher, Laucher has no response to Contacts, and show the error toast when there is no room. When the shortcut put successful, Launcher broadcast an intent with packagename, so Contacts show the sucessful toast only when receive this intent. CRs-Fixed: BZ707 Change-Id: I478d1dd25c494b3f0c2d1ac9711e5b56dcd8610f
* Launcher: Return item to folder when failing to drag it outKaiyi Zhang2013-08-171-0/+1
| | | | | | | | | | After animation, when add icons to screen, use the old icon list which is created during animation. When add icons after animation, refresh the icon list. Change-Id: I2553ed41b80fac4cca21591a0e52c7e1b6af8f6e CRs-Fixed: 494966
* Launcher: The contents is not match tab when change languageKaiyi Zhang2013-08-171-0/+4
| | | | | | | | | | | When the AppsCustomizePagedView invalidatePageData(), Launcher will actively switch pages sometimes but update the active tab of TabHost. update the current tab when invalidatePageData() done. Change-Id: Ic939a67178336a057890c423120d62490d131190 CRs-Fixed: BZ574
* Launcher: "No more room on this Home Screen" will prompt twice.Kaiyi Zhang2013-08-171-3/+0
| | | | | | | | | | | "No more room on this Home Screen" message will prompt twice. Once while drag from all apps menu , once while the home screen(Workspace) check if can accept drop from all apps menu. We need cancel the latter prompt message. Change-Id: Idb7da2b963266477641827b3fd93ceb29d32893c CRs-Fixed: 399743
* Launcher: fix The Folder doesn't update the real-time languageKaiyi Zhang2013-08-171-4/+4
| | | | | | | | | | | The Folder doesn't update the real-time language if the sHintText variable is not null after changing the system language. remove static for the variable sHintText Change-Id: I8b2dc095de3798e7d651ca2897ef366b98d0694e CRs-Fixed: 407777
* Trebuchet : Make regular folders persistentDanesh M2013-08-161-1/+1
| | | | | | | Fix incorrect if condition, so only live folder's contents are not persisted. Change-Id: Ide9123feb0d13cc58aaa0679710b7a285b2e30e7
* Merge "Trebuchet : Empty view for live folders" into cm-10.2Danesh Mondegarian2013-08-161-1/+30
|\
| * Trebuchet : Empty view for live foldersDanesh Mondegarian2013-08-161-1/+30
| | | | | | | | | | | | | | | | Live folders are dynamically populated, hence allow the state of having no items present in its folder. This commit adds a view to show when that happens, rather than the current situation which looks broken. Change-Id: I5777e208e5f0d5a3e42c1d65afdc2121d45d983a
* | Trebuchet : Live folder ids fixDanesh M2013-08-161-1/+5
| | | | | | | | | | | | Send the ids as a primitive long array rather than serializable Change-Id: Ia2cc5d3df58cd8cbc695572c65cc03f61f1a6099
* | Merge "Trebuchet : Cling for live folders" into cm-10.2Danesh M2013-08-163-6/+35
|\ \