summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Launcher.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Don't crash on widget clickscretin452017-03-261-0/+11
| | | | | | Issue-id: NIGHTLIES-2266 Change-Id: I804614c4d4636f58374c8f5d3e6252fbcd40ae29
* Trebuchet: Ensure workspace is invisibile while in all apps viewcretin452017-03-261-0/+1
| | | | | | Issue-id: CYNGNOS-1544 Change-Id: Ia46172d8b5c113647e996d8bd1e9a05d1201754a
* Trebuchet: Make sure overview arrows point up when collapsedcretin452017-03-261-0/+8
| | | | Change-Id: If72134daeb7424b3474eb59bf4773c9a2c0d4819
* Trebuchet: Move allow rotation pref to overlay panelcretin452017-03-261-2/+2
| | | | Change-Id: I83feccbf5aac5de53ca578c4d62a25561d72b3ee
* Trebuchet: Auto collapse settings panelcretin452017-03-261-0/+5
| | | | | | Issue-id: CYNGNOS-1425 Change-Id: I26896332431eb42dc4727a4f2bb9c4c0a3cfbcc5
* Trebuchet: Fix some icon size and flush cache issuescretin452017-03-261-1/+1
| | | | Change-Id: I6aa4bc09fd888559d3a1795f4f0968f9b89534d9
* Add app drawer search bar toggle to settingsMartin Herndl2017-03-261-10/+17
| | | | | | | | | | | This adds the possibility to enable or disable the search bar on top of the app drawer. In the Launcher class it will be created with the View.GONE visibility to avoid taking up space if disabled. Per default it behaves like before and is enabled. PS3: Make sure the hasSearchBar boolean is set. Change-Id: I48711aea2b15bf535815d0e453ac33079af26eca
* Fix: Restore workspace gradients when returning from Widget dropRaj Yengisetty2017-03-261-0/+2
| | | | Change-Id: I08927ea359460f60cebe1b942273a24eea8f86d5
* Fix: Workspace background gradientRaj Yengisetty2017-03-261-0/+3
| | | | | | | | | | | | | Repro: - Open App Drawer - Launcher any app - Press back (User should be returned to the App Drawer) - Press back again (User should be returned to the Home Screen) - Note gradient near status bar (Home Screen gradient is missing!) - Press home - Note Home Screen gradient reappears Change-Id: Ib24d94c2deba06f872f42bfffff78317844dd731
* Trebuchet: Add scrubber to widget viewcretin452017-03-261-0/+13
| | | | Change-Id: I68711e95ed31a962b47e995e979e32de37570b44
* Reimplement CM Settings Overview Panel Part 5Yvonne Wong2017-03-261-4/+42
| | | | | | | | - Enable default screen button - Make UI changes to settings panel - Add a broadcast receiver for hide/unhide search bar setting Change-Id: I849dd412231795b894e7af7ee575e60feb618c70
* Reimplement CM Settings Overview Panel Part 4Yvonne Wong2017-03-261-49/+51
| | | | | | | - Enable protected apps and update workspace/app drawer/widgets view when protected apps change - Change reload launcher to happen after each setting toggle to reduce UI lag Change-Id: I0a4a4a077c3cb94eaccfb4e8c4213135cb99d57e
* Trebuchet: Add app drawer settingscretin452017-03-261-5/+17
| | | | Change-Id: I040420608de64bedc6e9832268796cdf801f5c21
* Reimplement CM Settings Overview Panel Part 3Yvonne Wong2017-03-261-14/+116
| | | | | | - Enable dynamic grid resizing Change-Id: I95a7f20da48e037a94ce5b6191c5597490d91d9d
* Re-Implementation of hidden foldersVineet Patil2017-03-261-1/+68
| | | | Change-Id: I2cdb881eb6a2608279d30a1cdfc1327a89ae7693
* Reimplement CM Settings Overview Panel in the new Launcher Part 2Yvonne Wong2017-03-261-5/+44
| | | | | | | - Enables hiding the search bar from the workspace - Adds a reload launcher flag to reload only during onResume or newIntent if needed Change-Id: I0feb279f9003b268b5a129cef40d3665787ee451
* Reimplement CM Settings Overview Panel in the new Launcher Part 1Yvonne Wong2017-03-261-7/+116
| | | | | | | | | - Adds vertical sliding panel and animations associated with opening and closing the panel - Adds the views for settings and animation for the drawer arrow - Enables hiding workspace icon labels, hiding drawer icon labels, scrolling wallpaper, and larger icons - Changes how ragged grid custom icon sizes gets defined Change-Id: I1a82215a09486b4770494e665e598efdbabd1d3e
* Reimplement the CM scrubber against the new Launchercretin452017-03-261-0/+7
| | | | | | PS4: Implement RTL support Change-Id: I4456d54b5924913d1b36e1cfa9a2269150f6fb3e
* Implementation of folder animation changes as per cm-13.0Vineet Patil2017-03-261-7/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Folder animations in parity with cm. Folder Layout Revision Updated the folder layout to reflect design revisions based on community feedback Change-Id: Ica1bb796dfccf779a954cf0903a1ae94a010ea1a Conflicts: res/drawable-hdpi/folder_bg.9.png res/drawable-hdpi/folder_fill_highlight.9.png res/drawable-mdpi/folder_bg.9.png res/drawable-mdpi/folder_fill_highlight.9.png res/drawable-xhdpi/folder_bg.9.png res/drawable-xhdpi/folder_fill_highlight.9.png res/drawable-xxhdpi/folder_bg.9.png res/drawable-xxhdpi/folder_fill_highlight.9.png res/layout-land/launcher.xml res/layout-port/launcher.xml res/layout-sw720dp/launcher.xml res/layout/user_folder.xml res/values/dimens.xml src/com/android/launcher3/Folder.java src/com/android/launcher3/FolderIcon.java src/com/android/launcher3/Launcher.java Folder animation changes as per cm-13.0 Change-Id: I019511a58bd9f6a60a3c9b68c826726881cec83f Implementing folder animations Change-Id: I83f17c996ecc894ce22fd195b9b33caf58e2e822
* Revert workaround for move to default screen on home intent.Ivan Lee2015-09-031-2/+2
| | | | | | BUG=23556755 Change-Id: Ia268a58389b90fd0503e474f02f33a312c051c0e
* Merge "Adding workaround for regression caused by ag/752175" into ↵Winson Chung2015-08-311-2/+2
|\ | | | | | | ub-launcher3-burnaby
| * Adding workaround for regression caused by ag/752175Winson2015-08-311-2/+2
| | | | | | | | Change-Id: I92617c88f17a5827454e147f93d822975587d5b4
* | Revert "Adding viewId for the QSB"Sunny Goyal2015-08-271-7/+2
| | | | | | | | | | | | | | | | Using QSB widget id from xml This reverts commit 995685913955f33b05fdc0b473df901f2b0652c0. Change-Id: I33c48cf074f2dc1cf509c2d9f1f19b40b91f6a22
* | Adding viewId for the QSBSunny Goyal2015-08-271-1/+7
| | | | | | | | Change-Id: I4ad6bc8c0d94e60a4d354dfc29f456ca561fc500
* | Pending bind callbacks should be cleared before starting the loader,Sunny Goyal2015-08-271-0/+6
| | | | | | | | | | | | | | | | | | similar to startBinding Bug: 23310446 Bug: 19422965 Bug: 23304651 Change-Id: I4821b4c0c7796c33ad9691b6735235a220fa635a
* | Fixing work folder addition logicSunny Goyal2015-08-201-17/+20
|/ | | | | | | | | | | > Showing animation when folder is added > Not showing animation while cling is visible > Checking is loader completed from UI thread > Running bind complete runnables when bind is completed Bug: 21772992 Bug: 23181585 Change-Id: I50742850da8294a877478ce02b107a026f68b563
* Merge "Deferring the move to the default screen until after we callback to ↵Winson Chung2015-08-191-17/+27
|\ | | | | | | the callbacks." into ub-launcher3-burnaby
| * Deferring the move to the default screen until after we callback to the ↵Winson2015-08-191-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | callbacks. - Since move to default screen starts the scroller immediately, any delays in handling onNewIntent and onHomeIntent in the callbacks will cause the scroller to skip frames the next time it updates. This change will defer updating the page to the default screen until after onNewIntent is called back (and all its posted runnables). Bug: 22929080 Change-Id: Ibab6106938721702d4da23faaca99039861e10dc
* | Version code cleanupSunny Goyal2015-08-171-39/+15
| | | | | | | | | | | | | | | | > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
* | Disabling auto restore of widgets.Sunny Goyal2015-08-141-32/+42
|/ | | | | | | > Always show "Setup" button for a widget which has a config activity. Bug: 23155863 Change-Id: I60683889e76be830a76ac1245e079574aaf0ad10
* Merge "Adding market search." into ub-launcher3-burnabyWinson Chung2015-08-101-1/+14
|\
| * Adding market search.Winson Chung2015-08-061-1/+14
| | | | | | | | Change-Id: Id41615653cd4fa76213add4595418ad0cc6e7852
* | Fixing invisible search barWinson2015-08-051-0/+5
|/ | | | | | | | | | | - We used to rely on the state transition to inflate the search widget after the permission to bind widgets was granted, which is fragile. Now we try and inflate the search widget after user grants the permission if necessary. Bug: 22515084 Bug: 22980143 Change-Id: Id111d263bc8a864e0fa652cfd0e07e66ec690fe7
* Merge "Refactoring search bar animations." into ub-launcher3-burnabyWinson Chung2015-08-051-30/+18
|\
| * Refactoring search bar animations.Winson Chung2015-08-051-30/+18
| | | | | | | | | | | | | | | | | | | | - This refactoring ensures that LauncherStateTransition does not do its own animation on the QSB, and that all animations to the SearchDropTargetBar go through its own animators. Bug: 22515084 Change-Id: Ia7d13c44d861eac7517076b52a9651a90911ed0a
* | Loading high resolution icons for first 3 items in a folderSunny Goyal2015-08-041-0/+1
| | | | | | | | | | | | | | | | | | > Sometimes a folder gets rearranged, without updating the model, like when an app in uninstalled. In that case, we need to update the icons for folder items, which were previously hidden Bug: 22813360 Change-Id: I99754911c969bf2153efb2948c226c1c69219b88
* | Merge "Calculating widget minSpans and spans statically/independent of ↵Sunny Goyal2015-08-041-18/+3
|\ \ | |/ |/| | | orientation > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding." into ub-launcher3-burnaby
| * Calculating widget minSpans and spans statically/independent of orientationSunny Goyal2015-08-031-18/+3
| | | | | | | | | | | | | | | | | | > Filtering the widget list and excluding widgets which dont fit the grid > setting minSpans for the widget item when binding. Bug: 22541314 Bug: 22559137 Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
* | Remove handler for searchables changed broadcast.Winson Chung2015-08-031-1/+1
|/ | | Bug: 22515084
* Animation should start and finish on widgets button when opening/closing ↵Hyunyoung Song2015-07-101-3/+8
| | | | | | | | widget tray. b/21301759 Change-Id: Ib0b9132d8709426598d95fc9f60d37752e05b711
* Making long-press of AllApps to jump directly to search.Winson Chung2015-07-101-12/+23
| | | | | Bug: 22210146 Change-Id: Iacf28416d6e31233a68e3b41576a8860b4b72b88
* Merge "Adding custom slide up activity transition for L MR1" into ↵Adam Cohen2015-07-081-0/+7
|\ | | | | | | ub-launcher3-burnaby
| * Adding custom slide up activity transition for L MR1Adam Cohen2015-07-071-0/+7
| | | | | | | | | | | | issue 21402755 Change-Id: Id2542c0a3c38bd71aa407a3b0fe00fdee24e2f69
* | Updating onRequestPermissionsResult signature to publicSunny Goyal2015-07-071-1/+1
| | | | | | | | Change-Id: Ie08caa55a195e9062006d13e86238cca827ef249
* | Using an empty error view for QSBSunny Goyal2015-07-061-0/+1
|/ | | | | Bug: 21731323 Change-Id: I837b7bf9bac443cd2062ab2d4c24e081eb01732d
* am 79f25bed: Merge "Add LauncherCallbacks for requesting permissions on MNC" ↵Dave Hawkey2015-06-291-0/+9
|\ | | | | | | | | | | | | into ub-launcher3-almonte * commit '79f25bedd2ed13613323b085b46b9b42aee21696': Add LauncherCallbacks for requesting permissions on MNC
| * Add LauncherCallbacks for requesting permissions on MNCDave Hawkey2015-06-261-0/+9
| | | | | | | | Change-Id: Ia8f704590e03e16db04c2f7acee1e79ce7334749
| * [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system ↵Adam Cohen2015-05-221-1/+6
| | | | | | | | | | | | | | | | default issue 21402755 Change-Id: I87ddef08e7b3134c791f769fc279e62d520cd18c
| * Preventing NullPointerException when cancelling a shortcut additionSunny Goyal2015-05-131-1/+3
| | | | | | | | | | | | Bug: 21024018 Change-Id: Iac09d9e4f1411aa9fe1ec89fbfe749b009c7d457 (cherry picked from commit f044bb1edd8670fbc2cf9eeb1a51c31b91f0889c)
| * Stop using custom activity transition, rely on system default in these casesAdam Cohen2015-04-021-3/+4
| | | | | | | | | | | | | | | | | | -> workaround for platform issue related to this resource, but also a decent code cleanup issue 20006693 Change-Id: Iea3a2fb14be5ed78d882ddf9d970b12d177f4249