summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
* Using the default search widget in Launcher3Sunny Goyal2015-09-2710-950/+99
| | | | | | | | | | > Removing all logic related to search and voice overlays from Launcher3 > Using the widget provided by global search provider on the homescreen > Removing VoiceButtonProxy, as it is not being used anymore Change-Id: Ie8b09b44f7213c8fa11bce685914442e4884295d
* Removing InstallWidgetReceiver related obsolete code.Sunny Goyal2015-09-271-190/+0
| | | | Change-Id: I61700b363f8af6434e750bcb5323e0ad4e5bf011
* Clearing some android list errors/warnings.Sunny Goyal2015-09-272-15/+1
| | | | Change-Id: I2f1f991e61f9e41644ee9943f5a1a15971cca6c1
* Overlay shouldn't show up above Intro screenAdam Cohen2015-09-271-6/+17
| | | | | bug: 18173340 Change-Id: Icf738a55398023ab6bad5cced05b25e053dec0a2
* Adding a couple memory optimizations to LauncherAdam Cohen2015-09-274-10/+22
| | | | | | | | | -> Always dispose of widget page views when leaving the activity. These pages hold onto many bitmaps. -> Clear database cache when leaving the activity. Bug: 17967108 Change-Id: I10ebaaed14e7cd86f09a9afcabd73043705f21b8
* Moving methods which update internal sets on a separate threadSunny Goyal2015-09-271-7/+24
| | | | | Bug: 18152117 Change-Id: I5fccd203b5fe65e79dcc5aead6cb1cb6c3b622fe
* Failing restore, if we have an item outside screen boundsSunny Goyal2015-09-271-15/+62
| | | | | Bug: 17552590 Change-Id: I2d25847fd05d9579bc29ccbfa62e34809d4855d1
* Make sure DragLayer layout params are of the correct typeAdam Cohen2015-09-272-5/+33
| | | | | | bug 18141419 Change-Id: I50695a62cf9e1f25c054ac2c7197cd056d54cfae
* Updating backup restore logicSunny Goyal2015-09-276-106/+128
| | | | | | | | | | | | | | | > Adding DeviceProfile information in the backup > Removing SharedPreference backup > Adding helper methods to abort backup in the middle > Comparing keys against the backup journal during restore to avoid restoring corrupt/lost entries > Old backups are still compatible, but lost keys verification will be ignored in that case. Bug: 17937935 Bug: 17951775 Bug: 17260941 Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19
* Loading internal default layout if partner layout fails to loadSunny Goyal2015-09-271-12/+17
| | | | | Bug: 18033885 Change-Id: I8399d0107cc3570c0e03d833601abf2cd194b3d3
* Fix edge case where LauncherOverlay scroll woudln't be resetAdam Cohen2015-09-271-2/+11
| | | | | | | | -> If the Workspace has a single page and the user goes from overscrolling in one direction, and then the other, the LauncherOverlay scroll wouldn't be set to 0 until the scrolling settled Change-Id: I29ee9abdfa023ae3599d1590cdaebf457e2220fa
* Add InsettableFrameLayout layout params to easily ignore insetsAdam Cohen2015-09-271-7/+51
| | | | Change-Id: I117fc34627e24ea5f909c3c87e9c2dbca46babb6
* Tweaking close AllApps / Widgets on KK and belowAdam Cohen2015-09-271-5/+5
| | | | | | Bug: 17956862 Change-Id: I83b8973b7e98c1c3660221ac65dcb9ca8b4c84fd
* Was seeing some duplicated icons in the migration flowAdam Cohen2015-09-271-1/+5
| | | | | | | -> The only delta between the two icons was slightly different flags -> No need to consider flags for the purposes of duplication Change-Id: I161f6ad6023d829e5ebbb15f1a9fbc9306795d80
* Allow LauncherOverlay to access and manage insetsAdam Cohen2015-09-278-75/+147
| | | | Change-Id: Ib9faf37eb22ad2a0b18c076978ec9f2fd8864c0c
* Disabling restore for below L devicesSunny Goyal2015-09-271-0/+6
| | | | Change-Id: I262f52e88421637e0d50c048f6d53c6b5754da4e
* Refactoring LauncherBackupHelper.javaSunny Goyal2015-09-271-390/+222
| | | | | | | > Moving a bunch of variables to Global level to make it easier to maintain state. Change-Id: I9ded313bd4f673f45c61556b8c66607dc78a5ae9
* First pass of the Launcher Overlay interface / implAdam Cohen2015-09-277-42/+597
| | | | | | | -> Added simple reference launcher extension -> Make launcher able to handle a null qsb Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3
* Removing AccessibleTabView and some other dead code.Sunny Goyal2015-09-272-259/+0
| | | | Change-Id: Ia122a6277f924e6077dbf15a4dc40b5042aa987d
* Refactoring layout parsing codeSunny Goyal2015-09-273-750/+456
| | | | Change-Id: Iee5b2280cb1e841bcfe91fdcf523de6fa7f7f3b8
* Adding ability to list folder items in separate fileAdam Cohen2015-09-273-30/+19
| | | | | | | | -> remove all apps default layouts Bug 17569015 Change-Id: I39b899b61d5b1cff2d7801d281dacfc804c403c5
* Fixing some IconCache methods not thread safeSunny Goyal2015-09-272-106/+68
| | | | | Bug: 17981568 Change-Id: I0d49604c2e38bc9017cba527d87e24e8b086f1da
* Deleting workspace items from db which have an invalid placementSunny Goyal2015-09-271-22/+6
| | | | Change-Id: I1d616e8cd533acd6ecd334d85e6468163f31f6a4
* Not opening all apps again when AppInfo or Uninstall is selectedSunny Goyal2015-09-272-8/+3
| | | | | Bug: 17460202 Change-Id: Id67a9637324abceb5b446fff5999db2a0910401b
* Showing widgets in a disabled state, when running in safe modeSunny Goyal2015-09-273-29/+56
| | | | | | Bug: 15172107 Change-Id: I7209836ca4ffacde7b7b232e230e9b9f1a0e54bb
* Add more Launcher files to delete on Clear Launcher DataHelena Josol2015-09-274-16/+28
| | | | | Bug: 12753154 Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1
* Updating ItemInfo objects in the worker threadSunny Goyal2015-09-275-281/+195
| | | | | | | | | | | > Launcher was making non-trivial updates to ItemInfo objects on UI thread. These updates were getting skipped when the Activity gets destroyed (possibly due to onConfigurationChange) > Unregistering SessionCallback on application onTerminate, rather than activity onDestroy Bug: 17941096 Change-Id: Iad4a50871fe09470f26139b44a2e9886833032f1
* Removing some dead codeAdam Cohen2015-09-271-25/+0
| | | | Change-Id: Idbd49302fc7123f72c7dad4c50612aaa662cca0d
* Keeping icons in disabled state when SD-card is unmountedSunny Goyal2015-09-278-71/+169
| | | | | | | | | | > changing shortcutInfo.isDisabled to be a flag based variable > on received OnPackageUnavailable, icons are disabled from desktop instead of being removed. Icons in all apps are removed Bug: 15852084 Bug: 16238283 Change-Id: I126d23c709682a917d4bbb84de71032593dce8f9
* Revert "Show apps as unavailable when on unmounted storage"Danesh M2015-09-273-168/+21
| | | | This reverts commit 53b6e9dd1a97ea59a84e4c8b7172e1773d990ee5.
* Using DeviceDefault theme for Launcher and WallpaperPickerSunny Goyal2015-09-272-7/+2
| | | | Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
* Updating icons for sortcuts when the target app updates.Sunny Goyal2015-09-276-32/+111
| | | | | Bug: 17398260 Change-Id: I055abb971d1f72245e8616ac2ce07bcdf37cdd52
* Cleaning up icon resizing codeSunny Goyal2015-09-274-56/+15
| | | | | | | | > For resizing icons, scaling them down instead of cropping them > Removing duplicate methods and variables Bug: 17663119 Change-Id: I0f270860c0edaaa939495e63e05da841a603f6e9
* Create a central list of files the Launcher writes to the app directoryHelena Josol2015-09-275-12/+35
| | | | | | | Replace hardcoded Launcher filenames with the defined constants. Bug: 12753154 Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a
* Use LauncherCallbacks model instead of method overridesAdam Cohen2015-09-273-66/+296
| | | | | | | | | -> When extending the Launcher Activity, instead of overriding public and protected methods, create a proper interface -> This helps define the interface when extending Launcher more formally and more clearly Change-Id: Ib38e8a376b2242d4078bf6856bb145f5b5f0da80
* Adding NPE check in InstallShortcutReceiverSunny Goyal2015-09-273-34/+17
| | | | | | | > Removing some unused methods Bug: 17971165 Change-Id: I1bc5c764fd65b44c950a58371b60d2b53c221995
* Moving the focus indicator instantly to the target position, insteadSunny Goyal2015-09-271-19/+49
| | | | | | | of begining the next animation from the middle. Bug: 17958897 Change-Id: Ie5a39b80ff9788edf368e0f4e23c07c2ed5b3d2c
* Ensure spans do not fall below minimum spans.Martin Brabham2015-09-161-0/+3
| | | | | Change-Id: I2a8546d17f8446000a75bb568c842dbae74f7e4e Ticket-Id: HAM-389
* Trebuchet: Make sure callbacks are available on user change.Adnan Begovic2015-09-111-1/+1
| | | | | | | | | When switching from Owner -> Guest profile, the callbacks for LauncherModel may not be supplied by the incoming restricted user. Change-Id: I15c49f3f30fea9397bee5ae8bde4b0c7f585ae07 TICKET: CYNGNOS-997
* Trebuchet: fix potential NPE when info is nullemancebo2015-09-061-9/+13
| | | | | | | | Previously we were guarding against a null info object, but with the the STK rename patches we will throw an NPE if info is null issue-id: JALEBI-636 Change-Id: I74e95f81b64361c1bb56307c0cc621f24e701648
* Support STK app rename on MSIMRicardo Cerqueira2015-09-022-5/+14
| | | | | | Companion change to If64b278360a0b8433e23e6678f04cdf30fe2cef1 Change-Id: I36c74301c7813e6c118faed9fa5b31a36233db1e
* Trebuchet: STK app rename customization for latam region.Pragnya Paramita2015-09-022-2/+55
| | | | | | | | | | App name is read from SIM in STK app and sent via a broadcast. Name is operator specific. Launcher receives the broadcast, read the name and renames the STK app in all apps screen and workspace. Change-Id: If64b278360a0b8433e23e6678f04cdf30fe2cef1 CRs-Fixed: 797995
* Reset default view camera distanceRichard MacGregor2015-08-311-10/+22
| | | | | | | | | | 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 Ticket: OPO-27
* 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
* Do not collapse Settings panel when reseting overview modeRaj Yengisetty2015-07-301-1/+1
| | | | | | QRDL-963 Change-Id: I2e79545c17ad6813f5ca62d50a0c7bb1d42f08ec
* Show apps as unavailable when on unmounted storaged34d2015-07-223-21/+168
| | | | | | | | | 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. Change-Id: I971483806b27e3a75ef0d5bb89d8dfb86f97511e
* Trebuchet: fix voice button proxyStephen Bird2015-07-161-1/+6
| | | | Change-Id: I1f7243063fa0596f5f9cb3b40c4cee63545d04e3
* Loader: use INVALID_RESTORE_PAGE to avoid unnecessarily synchronizingRaj Yengisetty2015-07-141-1/+1
| | | | Change-Id: I55abe9e6dd58ce422270c640fdd900185422f704
* Wallpaper: Allow multiple partners to be loadedd34d2015-07-142-6/+45
| | | | | | | | | Current implementation only allowed for one partner, and any additional partner wallpapers would not be loaded. Partrner.get() still returns the first partner and a new method, getAllPartners is introduced which returns a list of all partners. Change-Id: I06b6cd4817d3f812e2110967f075d68ee31cb318
* Launcher: Close OverviewMode when transitioning back to Workspace.State.NORMALBrandon McAnsh2015-07-141-0/+5
| | | | | | | * OverviewMode can get in a weird funky state like folders did prior to I6e0b6f4d99bbb Change-Id: I4cd317216db8df7f49acc9d2e4d267f7dc395b8a Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>