summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reset default view camera distancecaf/cm-12.1Richard MacGregor2015-08-312-10/+41
| | | | | | | | | | | Several transition effects modify the views camera distance. Reset to the default camera distance so all transitions are consistent after switching between transitions (ie - Cylinder-in -> Flip -> Cylinder-in) Change-Id: Iee69feb5c954d1522d391e14c30ffa833666f90a Tickets: QRDL-340 and OPO-27 (cherry picked from commit 41106d9583cceddcb20286676640a3b21a25536b)
* Fix wallpaperpreview for default wallpaperRichard MacGregor2015-08-271-4/+9
| | | | | | | | Preview isn't scaled and cropped correctly when previewing wallpaper. Change-Id: Idfb42c321f8872e6ca49a2b59e16ea01067856be Ticket: QRDL-1019 (cherry picked from commit 5bae6967aedafe578f87f3233016601d08e76814)
* Show apps as unavailable when on unmounted storaged34d2015-08-134-21/+171
| | | | | | | | | | | | | This patch allows shortcuts to apps that are currently unavailable due to being on unmounted external storage to remain on the workspace and in folders. The icons will be disabled and grayed out until the external storage is mounted. Conflicts: res/values/cm_strings.xml Ticket: QRDL-991 Change-Id: I971483806b27e3a75ef0d5bb89d8dfb86f97511e
* Trebuchet: always set initial wallpaper offsetsRoman Birg2015-08-131-1/+3
| | | | | | | | | | | | After a fresh boot, computeScrollOffset() always returns false. So the result was the offsets were never properly being set on a fresh boot and they were only being applied on first drag of the home screen, which finally triggered computeScrollOffset() to return true. Ref: QRDL-1001 Change-Id: Iccaedd742bed861fca1f50dd54e2e4537fd4c9b0 (cherry picked from commit 30f86c21b7513f2bed1009375ff5242c60661bf9)
* Trebuchet: Make focus animate and move fasterLinus Lee2015-08-111-24/+31
| | | | | | | | | | | | If you use a keyboard and hold the tab key, the focus animation looks weird. The fix is when we focus to a new item, jump to the item being focused out and animate from there as opposed to animating from where the focus is currently is ref: QRDL-978 Change-Id: I007c7566b6524dbbf748475e98ad53f9c3cbbcf5 (cherry picked from commit 4319d899e32d7fb4c385c4ac5f9b7d61a0a873e0)
* Do not collapse Settings panel when reseting overview modeRaj Yengisetty2015-07-311-1/+1
| | | | | | | QRDL-963 Change-Id: I2e79545c17ad6813f5ca62d50a0c7bb1d42f08ec (cherry picked from commit 7d446770c16023f65ee975033feffbc8c7f195fc)
* Trebuchet: display search widget search box if availableRoman Birg2015-07-282-17/+129
| | | | | | | | | | Ported to CAF Conflicts: src/com/android/launcher3/Launcher.java Change-Id: I3a6d930f25ca4ac1eb8a069c68a2fe9bf2aeb646 Signed-off-by: Roman Birg <roman@cyngn.com>
* Don't load title from intent if title loaded from DBd34d2015-07-231-3/+5
| | | | | | | | | | | Title for shortcuts, when creating workspaces, are loaded from the intent rather than the title stored in the DB. The title from the DB is loaded in the ShortcutInfo so we will use that unless it is null, in which case we'll fallback to loading the title from the intent. Change-Id: I436c11062dbc8ff3d7e1cd9f9564321ad0476933 (cherry picked from commit e963932853caa238ba7bc6928e5243075e41fc75)
* Trebuchet: fix voice button proxyStephen Bird2015-07-161-1/+6
| | | | | Change-Id: I1f7243063fa0596f5f9cb3b40c4cee63545d04e3 (cherry picked from commit a433e1da44fdc487cef01c5136e9ce8029eaff2f)
* Revert "Trebuchet: add default wallpaper"Stephen Bird2015-07-164-1/+0
| | | | | | | | | Default Wallpapers should be handled by the overlay at /device/qcom/common/device/overlay/packages/apps/Trebuchet/res/drawable-xhdpi/ This reverts commit d18f58a6b243c52f8c25b8641c70570f21672d6d. Change-Id: If55848ac20351f24d3f228071f9af22fa0e9f675
* Protected Folders: Prevent the folder name from covering the toggleStephen Bird2015-07-131-0/+1
| | | | | Change-Id: I2d1d4550674efcab221e071c3290da2aeadad501 (cherry picked from commit 9711ba2542f4a15ed5dce442886a6a86d3ac0fa6)
* ProtectedApps: map items without componentNames by positionRaj Yengisetty2015-07-132-5/+28
| | | | | | | | | | | | Repro: - Add a contact widget to a folder - Open the hidden apps fragment - Attempt to remove an entry from the fragment - Observe: Force close Change-Id: I3ca2c62283af5232534b766d7579413c060a5403 (cherry picked from commit f963b11485ceef70bbce7a9a4b98415ac2672b5b) (cherry picked from commit 660761014f5ab0d6ebada8a1579db4da910643fe)
* Badge: Check count on bindStephen Bird2015-07-083-9/+6
| | | | | | | | | | Fixes bug where badges would not show up after changing languages and other similar situations. Also, stop registering so many receivers when one will do. Change-Id: Id85dbadbc0f99c77493b5817097567ceb365912e (cherry picked from commit db86a7f9f1ac816af085f544d7cb3ca968ccdb84)
* Complete widget drop without extra screen animationd34d2015-06-171-8/+3
| | | | | | | | | When calling Workspace.removeExtraEmptyScreenDelayed() and Launcher.isWorkspaceLoading is true, the onComplete runnable will not be called which will prevent the widget from being added to the workspace. Change-Id: I753488e7f389a86edf056f934021634391a8fb84
* Scrolling: Fix fade in workspaces from ignoring usStephen Bird2015-06-161-2/+0
| | | | | | | | | | | | | | | The fade in option ignores all user settings if the device is in landscape or is a tablet. Clean up the settings loading logic and ensure that the user settings are respected always. Repro Steps: - Force Rotation - kill trebuchet - scroll to new screen Change-Id: I9bc49d1abebd88ac8c95ef44ea4e874494e29e1e (cherry picked from commit 8de4b987b0a5ff9f09e59145a6ebab26a6abde73)
* Rotation: fix icons disappearingStephen Bird2015-06-111-1/+1
| | | | | | | | | | | | | Only the dynamic grid reload should be stopping the launcher with intent to rebuild the entire workspace. This returns stopLoader to it's functionality pre-dynamic grid resize patch. Change-Id: I55861da83f9b640fd767031e0f2188c5b9b91e66 (cherry picked from commit 7d006588505d1ccc1a04cf9080851f0a7abeca66) (cherry picked from commit 36fcac12c25d0cc733ed0d4a90889d140434fd07)
* Protected Apps: Fix OutOfBounds error when all apps are protectedStephen Bird2015-06-111-9/+15
| | | | Change-Id: Ifebad499b03887a4f5e40502c994e5b0e80506f0
* ProtectedApps: Fix protecting shortcuts with no ComponentNamesRaj Yengisetty2015-06-102-4/+10
| | | | | | | | | | | Repro: - Create a shortcut using the contacts widget - Add to a folder and open app protection screen - Observe: Trebuchet force closes Change-Id: I76f6a8b1d024beb36fa804bb3a866913edc335c1 (cherry picked from commit d8bdb0eef3f1799e8b829bcf114f1c3573bce8d6) (cherry picked from commit 42427c9b63936e82f9fbe934bddb376074a8e331)
* Move icons to fit within Dynamic grid upon resize.Stephen Bird2015-06-054-46/+131
| | | | | | | | | | | | | If the dynamic grid is made smaller, currently icons will simply be hidden from view. Instead, create extra screens and squeeze the icons in so that they will all be visible upon resize. In some cases, icons can end up creating screens when it's not necessary we should revisit this at a later time and look into making these icons show up in a more expected place. Change-Id: I9a46f1ac45c1a04e252ed8943afcfe952df1392d (cherry picked from commit e25ab7bd9525d7a2c67eb8a6d8e88d54940dba58)
* Fix power save mode broken ui/animationsLinus Lee2015-06-011-9/+35
| | | | | | | Conflicts: src/com/android/launcher3/Folder.java Change-Id: I7dc0123300ff2e9aa64713c1091d13ecc93001f3
* Fix the hint text of rename folder can't change with system languagexuke.yin2015-05-271-3/+1
| | | | | | | | | | | | | Reproduce 1)In workspace make a folder, click the folder check the hint text of the rename edittext. 2)Change the system language, then click the folder for rename, in the second time click the folder the hint text will change to the last language. Change-Id: I97d14a15bfa748be900bef193950b85b890efe40 (cherry picked from commit 13d6bcf08e004877bd268a88165d2bc265764366) (cherry picked from commit 347c6ec103f0f7781012a8ddac282bfbd319437d)
* Trebuchet: fix NPE during touch eventsRaj Yengisetty2015-05-271-1/+2
| | | | | | | | | | | | E/AndroidRuntime( 693): FATAL EXCEPTION: main E/AndroidRuntime( 693): java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getMeasuredWidth()' on a null object reference E/AndroidRuntime( 693): at com.android.launcher3.PagedView.onTouchEvent (PagedView.java:1986) Change-Id: Ica9395a1e2b2d28a1b074b40ff759eab68154ff0 (cherry picked from commit 16416d464bfad477d9fc3e1805154f2014954081)
* Trebuchet : Activate the default homepage selection button on first runUmair Khan2015-05-241-1/+1
| | | | | | | | | | As of now, when the Trebuchet is started for the first time, the set default homepage button is not activated on any of the screens. Activating it for the first time on default home screen makes more sense. Change-Id: Ia1b7272e177707616902d20ce90ff6ba293576b4 Signed-off-by: Umair Khan <omerjerk@gmail.com> (cherry picked from commit d15317d138a4f2c60c8cc80b60ada65c983549f9)
* Increase SDK Version to support Android for WorkStephen Bird2015-05-181-1/+1
| | | | | Change-Id: I2156c97b8479a0f7f1db9d261f9798a66f650e02 (cherry picked from commit d24a8a9b8b79aab2c60c4bf31b55b2c8bc7ea296)
* Support override to display Wallpaper preview from left edge.Matt Garnes2015-05-132-3/+15
| | | | | | | Add resource config override to display the preview of preloaded resource wallpapers from the left edge to match how they display when set as the wallpaper. Change-Id: I4aef9e1818ec6942c9b41055b5573308db58a1be
* Do not reload settings for changing state to All Apps.Matt Garnes2015-05-131-3/+5
| | | | | | | | When getStateChangeAnimation() is called, only reload settings if leaving overview mode. Change-Id: I9ee7330779b19bb73c1a30497065854ce9fc1162 (cherry picked from commit 8df1f02140d329ff5edc03cc9cf89e92cb63dcbb)
* Trebuchet: Skip sorting again when sorted by Title when launching app viewLinus Lee2015-05-131-1/+5
| | | | | | Change-Id: Ie5b5398d17e6742f28084ce7cd6d31c4ba872b24 (cherry picked from commit b53f60bced4657d35880952732b2bcb811e1b7a6) (cherry picked from commit f7eb72cdc69c114af15d68e0428f822d6953338a)
* Trebuchet : Only reset overscrolled childDanesh M2015-05-121-6/+1
| | | | | | Change-Id: Ief240c7fbbe296673ff4124cd4d463c9ba65f764 (cherry picked from commit 18980a7440ead7623e086098a2139f1218620b64) (cherry picked from commit 6404ffc5f9d3f0daae3356142440a509db91a1f5)
* Trebuchet: fix Protected apps issue with foldersRoman Birg2015-04-161-3/+6
| | | | | | | | | | | | | | | | When there's a folder of shortcuts where all of the items have been set to protected, the first item in the folder sometimes does not get removed from the workspace allowing access to the protected application. When the second-to-last item in a folder is being removed, it was being replaced with the shortcut automatically, and we were checking against the folder contents, which was off the workspace at this time, but still had the shortcut. We need to check whether the last shortcut we are re-adding back to the workspace is actually protected before adding it. Change-Id: I9c7dbbd8562ae3e71e198747e6cb1c10417d1f46 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit d06291251703ce19968625742438c03351203d37)
* Trebuchet: Fix Settings shortcut widget title displays wrong when changing ↵yong.zou2015-04-151-0/+19
| | | | | | | | | | | | | system language 1.Add a Settings shortcut widget to workspace 2.Change the system language 3.Check the Settings shortcut widget title The Settings shortcut widget title should update when changing the language Change-Id: I5012a3e99b9734230a844ce20e856ff86fba773a (cherry picked from commit c4326d489d5e8e252417a5edadc9e413c355d471)
* Trebuchet: Fix NPE when adding widgetsRaj Yengisetty2015-04-151-0/+25
| | | | | | | | | | | Make sure to setWaitingForResult on startIntentSenderForResult so that mPendingAddInfo is saved Repro: Change orientation when in the config activity for a widget Change-Id: I76ecc2b69b7f4a1cda65a481699aa79ae67f767a (cherry picked from commit ee224cb05e13d38c670733e59ae11b81515967b6) (cherry picked from commit 9f86f89d838352f825196b2ac34813a3336dd216)
* Automatic translation importMichael Bestas2015-04-092-4/+5
| | | | Change-Id: If7f60147431c183f1696e1069d845a48899f55d9
* Automatic translation importMichael Bestas2015-04-0910-1/+18
| | | | Change-Id: Ieed7333d3acac4c2e3e130e242f50bb0ada05751
* Automatic translation importMichael Bestas2015-04-0919-0/+144
| | | | Change-Id: I878deec6ddf8b1c668bf790c8934b0f7f9167dbf
* Automatic translation importMichael Bestas2015-04-0925-7/+138
| | | | Change-Id: I57cce8130d792d23764aa67d6e20985a71572f2a
* Support package name specification for customized drawer.Matt Garnes2015-04-091-17/+69
| | | | | | | | | | | | | | When arrays of apps that make up the customized first and second pages of the app drawer are loaded, all a new syntax to specify the package name and class name for the Launcher Activity to be included: "<package name>/<fully qualified Activity class name>" Maintain backwards compatibility so that if only the Activity class name is specified, that will be matched as before. Change-Id: I8fb1464b448dc9addbda74558b3e323b008c8e90 (cherry picked from commit 85d5cc4bcdc74591b085e45796634f1cb7b49450)
* Filter apps for app drawer only after custom sorting.Matt Garnes2015-04-011-1/+1
| | | | | | | | | The custom sorting logic for CTAPP mode removes duplicate apps from mApps. This must complete before the call to filter mApps into mFilteredApps. Change-Id: I915b976bf77ed8714c3bdc7dfe0155feb97bf2b7 (cherry picked from commit a0db9234402fa85dab1a5ec408f96413f3a0a157)
* Revert "Trebuchet : Update default workspace"Raj Yengisetty2015-04-013-342/+136
| | | | | | This reverts commit 426998ba0f4e0d0e07a8a8def5ec86a30066fcc4. Change-Id: I98c8c3063301f091389b37ca170c26c9484315a2
* Trebuchet: Fix bad ui state when backing twice quicklyLinus Lee2015-03-311-0/+8
| | | | | | | | | If a user enters the widget add screen and quickly backs up twice, the widget panel stays around and captures touch, but the ui thinks it is in the homescreen. Change-Id: I52a920fd633f3ab690ca1c959fbc8935c2d0bb69 (cherry picked from commit e423f8abb9462d0063e4504ff1386b127875e23b)
* Merge branch 'github/staging/cm-12.1' into caf/cm-12.1.Matt Garnes2015-03-17139-402/+6989
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: WallpaperPicker/res/values-nodpi/wallpapers.xml res/layout/settings_pane.xml res/values-zh-rCN/cm_strings.xml res/values/preferences_defaults.xml src/com/android/launcher3/DynamicGrid.java Change-Id: I22eb2e38e8802985e0e0a8cb3e68d73189c2c1a4
| * I'm Trebuchet, the cm launcherlinuxx2015-03-1211-1/+1
| | | | | | | | | | Change-Id: I9b96a42cc3234f385f09469fdbf7b7c14bf19e39 Signed-off-by: linuxx <joey@cyanogenmoditalia.it>
| * App Drawer: respect drawer show/hide icon lablesRaj Yengisetty2015-03-101-0/+8
| | | | | | | | Change-Id: Id1d2b152dde3d1e3d89fca2e9e16bc2472f661bc
| * App Drawer: take dynamic grid updatesRaj Yengisetty2015-03-094-12/+15
| | | | | | | | | | | | - Also fix row length so icons aren't cut off when large icons are enabled Change-Id: Iae95dc2380abee211eeed72eae08cafa4ec354f7
| * App drawer: respect protected appsRaj Yengisetty2015-03-091-0/+36
| | | | | | | | Change-Id: I67d0af84cc8cad3d3e788280e34a9c2a95ab76a7
| * App Drawer: Disables specific settings for the paginated appHayden Schoen2015-03-063-9/+49
| | | | | | | | | | | | drawer while the vertical app drawer is selected Change-Id: I352bfd42f60d46c53ee74c4ecf6a6bb3f0b7ba90
| * App Drawer: fix drawer visibility after cancelling widget dropRaj Yengisetty2015-03-061-5/+0
| | | | | | | | | | | | | | | | | | | | | | Repro: - Open widgets - Try to add a widget with setup setp (cLock) - When setup activity is launched, press Home to cancel - Observe: legacy app dawer is visible on top of Workspace without a background Change-Id: I5e7d7d2166cc1cac193407ac9ec16643f52591ba
| * App Drawer: internationalizationRaj Yengisetty2015-03-066-36/+1073
| | | | | | | | Change-Id: Ib3976e0852aab4a2e78a90877c056ad3ecd3c448
| * App Drawer: Add toggle functionality to change back to legacy app drawerRaj Yengisetty2015-03-067-10/+102
| | | | | | | | Change-Id: I4a78832188e27ae0b5a25b6a81ce000b6ffcd1f1
| * App drawer smooth scrollingRaj Yengisetty2015-03-067-24/+11
| | | | | | | | | | | | Also fixes searchbar visibility when dragging icons from app drawer Change-Id: I418dc3210a95cc57c81979452def8240c27d2214
| * Trebuchet: App Drawer - clean up open/close animationsRaj Yengisetty2015-03-0612-149/+232
| | | | | | | | Change-Id: Ia1bcaec9cf5bdcd9ca61137aa45f91819fb2e94d