summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3
Commit message (Collapse)AuthorAgeFilesLines
* Fixing wrong package check when adding shortcutsSunny Goyal2015-09-271-1/+1
| | | | | Bug: 18571789,18535867 Change-Id: I2544fa634879846d812b00f8649520400f66d29e
* Ensure that FirstFrameAnimatorHelper doesn't set play time when animation is ↵Adam Cohen2015-09-271-3/+5
| | | | | | | | complete Bug: 18567716 Change-Id: I656e869b8553d650916c2abe6dc83282c8b6fd65
* Ignoring specific db exception to workaround Bug. 18554839.Winson Chung2015-09-271-8/+20
| | | | Change-Id: I80f2dd62297eea671f2d129ae22263e72e506ae4
* Don't try to create an app state instance during restore.Chris Wren2015-09-272-15/+15
| | | | | | | Added a static utility function to get the DeviceProfile instead. Bug: 18504164 Change-Id: Ia510a84f1c195e58acf3bf4d1f6a42c739fdd413
* Disabling auto addition of managed profile shortcutsSunny Goyal2015-09-271-3/+6
| | | | | Bug: 16188104 Change-Id: Ib6464c22140df6d60112eb35f5983718b3db6288
* Fix a couple regressions from resetting AppsCustomizeTabHostAdam Cohen2015-09-274-5/+13
| | | | | | | Bug 18409435 Bug 18358080 Change-Id: I07a071342b5c5e062ab2bb562b672d93ba0d5c2e
* Prevent multiple workspace state animators from being startedAdam Cohen2015-09-271-0/+14
| | | | | | | | | | | | -> Probably an issue with the way we're wrapping ViewPropertyAnimator which can lead to us acting like it's valid to have multiple instances of a VPA. In reality I think this is very problematic. -> For now, we can just make sure the previous animation is canceled if it hasn't yet completed. Bug 18428886 Change-Id: I097eec08ec68ed098e68866fb5eda72734c51b00
* Clearing DB before restore starts.Sunny Goyal2015-09-271-6/+16
| | | | | Bug: 18362052 Change-Id: Ic4faf04db2f76c0c434907f1c41c8b708283eeb7
* Add callback which got missed in refactorAdam Cohen2015-09-271-2/+11
| | | | | | Bug 18418855 Change-Id: Ia3a1cec76721bbbc118dd7389b5e960802a64b88
* Adding a few null checks.Sunny Goyal2015-09-273-4/+10
| | | | | | | | | | 1) During migration, if launcher2 has deleted user data, migration oes not happen 2) If Launcher3 does not has bind widget permission, QSB would be null. Bug: 18388507 Change-Id: Ief81f6f77ce154e7b3ecd4b77caf24239401e738
* Fixing NullPointer Exception when user is deleted.Sunny Goyal2015-09-271-0/+3
| | | | | Bug: 18388507 Change-Id: I4176ea37a019c2a862e6b2875cc6b03ec9118571
* Adding shortcuts corresponding to ManagedUsers automatically.Sunny Goyal2015-09-274-217/+331
| | | | | Bug: 16188104 Change-Id: Ic07578dd187263f59f3c431cbb78dea90d0c24f4
* Removing some duplicate methodsSunny Goyal2015-09-273-19/+8
| | | | Change-Id: I8a1295ab74890984e8d8508aaa18fd79ac2a032d
* 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