summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet : Add a pref to set hotseat icon's numberAntonin Fouques2012-12-0112-17/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'master' of ↵Steve Kondik2012-11-0510-514/+902
|\ | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Launcher2 into aosp Conflicts: res/layout-land/drop_target_bar.xml src/com/cyanogenmod/trebuchet/AppsCustomizeTabHost.java src/com/cyanogenmod/trebuchet/Launcher.java src/com/cyanogenmod/trebuchet/LauncherModel.java Change-Id: I5aa702e333da27645b0d765b233f4d8a89991cb9
| * Fixing issue where selected tab did not match AllApps page upon rotation.Winson Chung2012-07-251-8/+5
| | | | | | | | Change-Id: I4f32ca7cca042b94bdaea5cf259c397404546e0d
| * Fix issue where widget resize frame overlaps widget (issue 6493388)Adam Cohen2012-07-251-6/+18
| | | | | | | | Change-Id: Ib1e53a7df49b26ecb19880e58b19876b80cfb12c
| * Binding AllApps synchronously. (Bug 6855061)Winson Chung2012-07-246-51/+76
| | | | | | | | | | | | - Also ensuring that we restore to the settling page index if it is in motion Change-Id: I9c6760383113f7614f6cb962ab6562b0e7eb7138
| * Ensuring that restoreInstanceState is being called promptly for ↵Adam Cohen2012-07-244-8/+61
| | | | | | | | | | | | synchronously bound page Change-Id: I0e71c29f553ad360ec42a6a0b2529d16cbddd437
| * Fixing issue where defered unbind was running after synchronous bind. (Bug ↵Adam Cohen2012-07-232-0/+17
| | | | | | | | | | | | 6858398, Bug 6863181) Change-Id: I03dc3ae18528901cc88c79638a8495c1ab8d61af
| * Disabling synchronous binding when returning home from another app while ↵Winson Chung2012-07-192-8/+50
| | | | | | | | | | | | | | | | | | orientation has changed. (Bug 6792288) - Fixing issue where we were reverting to the first page of the workspace after launching an application from all apps, rotating, and returning home - Enabling rotation in master. Change-Id: I291b9d76b20244e9028b6f62164430bc3606644c
| * DO NOT MERGE Adding sycnhronous loading of current page to support seamless ↵Adam Cohen2012-07-183-442/+685
| | | | | | | | | | | | rotation. (Bug 6792288) Change-Id: I341160e8a604cde63443e331f762cebc1ed5ec0c
* | Fix for NPE in showAllAppsClingmaxwen2012-10-271-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added check for getTabHost() E/AndroidRuntime( 1880): FATAL EXCEPTION: main E/AndroidRuntime( 1880): java.lang.NullPointerException E/AndroidRuntime( 1880): at com.cyanogenmod.trebuchet.AppsCustomizePagedView.showAllAppsCling(AppsCustomizePagedView.java:575) E/AndroidRuntime( 1880): at com.cyanogenmod.trebuchet.AppsCustomizeTabHost.onLauncherTransitionEnd(AppsCustomizeTabHost.java:455) E/AndroidRuntime( 1880): at com.cyanogenmod.trebuchet.Launcher.dispatchOnLauncherTransitionEnd(Launcher.java:2401) E/AndroidRuntime( 1880): at com.cyanogenmod.trebuchet.Launcher.access$2100(Launcher.java:120) E/AndroidRuntime( 1880): at com.cyanogenmod.trebuchet.Launcher$14.onAnimationEnd(Launcher.java:2519) E/AndroidRuntime( 1880): at android.animation.AnimatorSet$AnimatorSetListener.onAnimationEnd(AnimatorSet.java:765) E/AndroidRuntime( 1880): at com.cyanogenmod.trebuchet.LauncherViewPropertyAnimator.onAnimationEnd(LauncherViewPropertyAnimator.java:111) Change-Id: I4aa0b4bacc03fb7aa87029d3e9406570bc82830f
* | 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
* | Launcher: increasing the lower bound and upperbound of loaded pages to avoid ↵Rajulu Ponnada2012-09-251-2/+2
| | | | | | | | | | | | | | stutter in applist scroll Change-Id: I8fed59569129cc1c062ffdb287183531c1f84dbf (cherry picked from commit 4cc5af01944981714dea73de6556f2db0456b621)
* | Fix shortcut intent when all homescreens are fullRobert Burns2012-09-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes issue 6218 as outlined at the URL below: http://code.google.com/p/cyanogenmod/issues/detail?id=6218 To reproduce the issue completely fill all available homescreens and try to add a shortcut as follows: - open "People" application - select a contact - using context menu, choose "Place on Home screen" - go to home screen to see crash Change-Id: Iab43db930a3fb305cae4baaa24100d5d16d7b96b
* | Remove wallpaper offsetD4rKn3sSyS2012-09-181-2/+2
| | | | | | | | | | | | | | TBH, it seems to do nothing, only breaks themeability of tablet statusbar (black line when system bar opacity is > 100) Change-Id: If0a5556b49eb8c50851b0630b5d0de56d8c8b687
* | Fix shortcut intent when using less than 3 homescreensRobert Burns2012-09-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes issue 6192 as outlined at the URL below: http://code.google.com/p/cyanogenmod/issues/detail?id=6192 To reproduce the issue set the number of home screens to 2 or less and try to add a shortcut as follows: - open "People" application - select a contact - using context menu, choose "Place on Home screen" - go to home screen to see crash Change-Id: Ib1c7f6b1cf5055714b4d9e57c637c8a7fa05e9d8
* | Fix for install shortcut intentRobert Burns2012-09-052-2/+2
| | | | | | | | | | | | - Enables the ability to install a shortcut to the home screen Change-Id: I6e3e6c36d40907082ea1f3bf11f30110786f8ce9
* | Trebuchet: Fix NPE when rotatingEmerson Pinter2012-08-311-2/+2
| | | | | | | | | | | | | | Without this, after change workspace, move an icon and then rotate, Trebuchet crashes with NPE. Change-Id: I9f7e089462590b1c29547cbe2e0775200c85d70f
* | Trebuchet: Add overlayable config for tablet workspace grid sizeDavid Marble2012-08-191-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. The default behavior is unchanged. Change-Id: I0577f54aad4e247277483378b413052ea488fd48
* | Trebuchet : Hide voiceSearch iconDanesh M2012-08-181-1/+1
| | | | | | | | | | | | Hide the actual voice search icon when hiding the bar. Change-Id: I51b700ba88ddd19006f7eb0d0d572f255450413a
* | Use correct search and voice search icons in the search barblunden2012-08-171-2/+2
| | | | | | | | Change-Id: Ie146b7945a9c0226f95563be3f593d467a2a00c3
* | Launcher: Use correct toolbar icon metadata namenebkat2012-08-151-1/+1
| | | | | | | | Change-Id: Ic1ef15c0216122fce80db21b2ca8488293fcae2e
* | Trebuchet: Revert per-device grid size customizationRicardo Cerqueira2012-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be now configured using the JB-provided cell_count_x and cell_count_y configuration parameters Revert "trebuchet: Don't hardcode the cellcounts in XML" This reverts commit 59b5eac613b8083fb25f71f39e8834d0078eff95. Revert "trebuchet: Fix setting of default workspace size" This reverts commit db7eef73d259158bc95ba1b2b79a73b298c6a709. Revert "trebuchet: Add config for workspace grid size" This reverts commit 4c09961357a4472088ac1660ad2a3a518fbda7d8. Change-Id: Iccc4465db8a6ecd51b1d0f02d54c3a29e9b766ca
* | trebuchet: Fix setting of default workspace sizeSteve Kondik2012-08-141-5/+2
| | | | | | | | Change-Id: I9b1dcdce8c22c479c6eceb492b9d307c54433711
* | Hotseat: Default Cell Countsnebkat2012-08-141-2/+5
| | | | | | | | Change-Id: I9aad8d04145bd20ae7b2b6198c556254f949aba4
* | Workspace: Custom Vertical/Horizontal Paddingnebkat2012-08-132-2/+24
| | | | | | | | Change-Id: Ie9b74b081f254493905ab792bfe85f95a6641a79
* | NumberPickerPreference: Cleanup external min/max codenebkat2012-08-131-26/+4
| | | | | | | | Change-Id: I5f67a1e382cd96852836f5a2d5f79affd5f16abe
* | Workspace: Cleanup hide icon labelsnebkat2012-08-133-21/+36
| | | | | | | | Change-Id: I3268f9a0a2187b0f7ff32a97d1566e04a454657b
* | DeleteDropTarget: Haptic Feedback on Long-Pressnebkat2012-08-131-0/+2
| | | | | | | | Change-Id: I37ec1e3ab8df5c144b777776323faad8c0db1273
* | DeleteDropTarget: "Cancel" when dragging from AllAppsnebkat2012-08-131-2/+13
| | | | | | | | Change-Id: I4fb03b0cbffe9662bcf6c582fe5bfb5bbbcac20e
* | CellLayout: Better Scalingnebkat2012-08-133-2/+25
| | | | | | | | Change-Id: I49eb2bbb9d49e5bfba1337d99a246fbceb61f86e
* | Preferences: Show/hide homescreen icon labelsKyle Ladd2012-08-134-3/+22
| | | | | | | | Change-Id: I4057152c571d73e4da2f1a43454feb152c0249af
* | DeleteDropTarget: Long-Hold To Uninstallnebkat2012-08-132-69/+140
| | | | | | | | Change-Id: I2f60040c4cc645a54e9a8e696f330a8e70ff833c
* | AppsCustomize: Apps Sort Mode Clingnebkat2012-08-133-1/+44
| | | | | | | | Change-Id: I07a08afb1f249f226693e935ad7ebc017f9c79b0
* | AppsCustomize: Apps Sorting Modenebkat2012-08-133-2/+86
| | | | | | | | Change-Id: I9b376c39da3039b7c9a37f0748a1d6b5dc67a471
* | Folders: Merge FoldersDanesh M2012-08-131-1/+11
| | | | | | | | | | | | | | This allows a folder A's contents to be merged into folder B when folder A is drag/dropped onto folder B. Change-Id: Ie9461fa5ccaa02e06b871edd3eb3cf7798070028
* | Preferences: Show Dock Dividernebkat2012-08-133-12/+32
| | | | | | | | Change-Id: I5e4349e5b7539a66d5d96c5f9fd9780b7572d624
* | Preferences: Cleanupnebkat2012-08-134-23/+29
| | | | | | | | Change-Id: I1c68f8b58025714138c0c6bf0e1faf1f01d17be9
* | Preferences: Fade Page Indicator (Workspace)nebkat2012-08-133-4/+30
| | | | | | | | Change-Id: I7c30adaac1ddaea69e409410b53185926a9266f6
* | Preferences Show/Fade Page Indicator (AllApps)nebkat2012-08-133-2/+34
| | | | | | | | Change-Id: I9f417ecfdfcfdbcf3f4dc5f633878228194faaba
* | Preferences: Separate Apps and Widgetsnebkat2012-08-133-119/+277
| | | | | | | | | | | | Reverts "Add ability to swipe from apps to widgets in AllAppsCustomize" Change-Id: I0727fbe747f2f93c4680bf91fbcbed75af662b29
* | Preferences: Scroll Wallpapernebkat2012-08-132-6/+32
| | | | | | | | Change-Id: If20b0f45cc773f7e03565b638ae745ced3070d5c
* | Preferences: Show Page Indicator (Workspace)nebkat2012-08-133-0/+26
| | | | | | | | Change-Id: I564eca3da962f5af088e26b85d13dc3585780068
* | Preferences: Version preference information stylenebkat2012-08-131-0/+4
| | | | | | | | Change-Id: I723b6daf3e6a8f1d2cc2c1c5f4f50b85ef7ecd08
* | Preferences: Number of Homescreens + Default Screennebkat2012-08-135-28/+51
| | | | | | | | Change-Id: Id361d71c9fd0f0748fa6a48c6702178d366221b8
* | Preferences: Grid Sizenebkat2012-08-072-22/+56
| | | | | | | | Change-Id: I51bec0a0c29421fc389f7b656496ba1467758892
* | DoubleNumberPickerPreferencenebkat2012-08-071-0/+186
| | | | | | | | Change-Id: I9e71b1f889e98e134b99c965452192e503ff2f08
* | Preferences: Auto-rotate screenDanesh M2012-08-072-2/+13
| | | | | | | | Change-Id: I126b57932bad994c3fcfa3c764d94bdb60037a93
* | AppWidgetResizeFrame: Allow resizing to any sizenebkat2012-08-071-0/+2
| | | | | | | | | | | | | | | | Widgets normally aren't allowed to get resized to less than their original size. This enables it when the "Resize Any Widget" pref is enabld. Change-Id: I5cb94b598fe31f2bfa7c445aa0207c781a4cad6d
* | Update Copyrightnebkat2012-08-074-2/+19
| | | | | | | | Change-Id: I5ffdfd4a09bd58f8ae498c932ce07d691cfb8ab8
* | Preferences: NumberPickerPreferenceDanesh M2012-08-071-0/+126
| | | | | | | | Change-Id: I1888fe530a71af1e5d3b015d4a416c98e20ee3e0