summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/DragController.java
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of 13ef17a3 to mnc-dr-devHyunyoung Song2015-07-221-35/+82
| | | | | b/22609402 Change-Id: I140cf972d57e14737a6f91c0b4a8ec6c7ff1af2b
* Updating ItemInfo objects in the worker threadSunny Goyal2014-10-141-6/+11
| | | | | | | | | | | > 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
* Fix NPE when dragging shortcut without component while app is uninstalledAdam Cohen2014-06-131-2/+2
| | | | | | issue 14601562 Change-Id: Icf0472d38c1b02de8421f146e26f2e2d79de43dd
* Clean up importsMichael Jurka2013-12-131-1/+0
|
* Use the icon bounds for all calculations.Winson Chung2013-11-141-1/+2
| | | | | | | | - Fixes a drag and drop issue when the dynamic grid scales icons down, due to the drawable bounds not being equal to their bitmap sizes. Change-Id: If7c68b51131de7bac3195a2619e22340f7789432
* Fix NPE we're seeing in feedback (issue 11626428)Adam Cohen2013-11-111-1/+1
| | | | Change-Id: I848ca84b325339004ba8ea50a01f5240eea356f5
* Ensuring disabled packages remove all components on the workspace. (Bug ↵Winson Chung2013-10-161-10/+6
| | | | 11172454)
* Fixing issue where you couldn't drag an item multiple pages (issue 10754544)Adam Cohen2013-09-291-1/+1
| | | | | | | | | | | | -> This was caused by a strange race condition. The page snap time was equal to the delay to recheck whether to snap (in DragController). This meant that scrollRight()/Left() would get called, and the scroller would be finished however, the final computeScrollHelper() hadn't been called, so the mCurrentPage hadn't yet been incremented. -> Fixed the underlying race condition. -> Added suitable gap (150 ms) between the two delays. Change-Id: If700eb9e14d77a174e4395ca6933119bdb0da768
* Fixing weird paging behaviour in spring loaded mode (issue 10758454)Adam Cohen2013-09-291-0/+2
| | | | Change-Id: I9d527d134a042a69a9a523bcf24d1a61f0ab0e55
* Integrating some aosp fixes, ensuring that we update the install queue ↵Winson Chung2013-09-261-6/+2
| | | | | | | | | | | before returning to Launcher. - Fixing stuck page in All Apps (Bug 9347818) - Fixing shortcuts to uninstalled apps from being installed (Bug 10726510) - Consolidating vibration feedback - Ensuring that we trim names during comparison in AllApps list Change-Id: Ieaae4d85851ce771283b4684a8a60306da28cb3b
* Removing old debugging logs. (Bug 107442854)Winson Chung2013-09-191-4/+0
| | | | Change-Id: I56d6838af3cca710eab300d3e71ca1be90866cdd
* Move wallpapers to external activityMichael Jurka2013-09-041-2/+2
| | | | | | | Also renaming Launcher's ApplicationInfo to AppInfo since ApplicationInfo is already a framework class Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
* Logging to disk for more reliable loggingAdam Cohen2013-08-281-0/+4
| | | | | | | -> Re-adding basic distinction btw apps and shortcuts -> Adding functionality to e-mail dump file, but not using Change-Id: I2b635004ab082af79445158ab61f20aac62d2e2f
* Implement ability to uninstall shortcuts from workspaceMichael Jurka2013-07-191-3/+5
| | | Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
* Porting PagedView from KG to gain simplified scaling model, reorderingAdam Cohen2013-07-081-17/+4
| | | | | | | | | | | | -> We are no longer scaling individual Celllayouts, instead we are scaling the entire Workspace (and the CellLayouts come along for the ride) -> Due to the above change, many assumptions were broken. In particular, our drag and drop / animation archiecture is fairly fragile due to the frequent and complex mapping of points between different bits of the hierarchy. This CL contains a number of fixes which address such breakages. Change-Id: I2e630eab17528729b764b61f587858f6499fd318
* Use autoscroller to handle drag scrollingMindy DelliCarpini2013-07-031-4/+3
| | | | Change-Id: Ie094cbfa91f898133f84ad9ffc349d8cfa07e668
* HACK: Fixing major persistence regression associated with extra screen to ↵Adam Cohen2013-06-141-2/+4
| | | | | | | | the left -> Also adding ability to delete shortcuts. Change-Id: I263baf813eae9089f11288494d575a99f0e859c3
* HACK: Getting rid of all apps button / all apps from AppsCustomizePagedViewAdam Cohen2013-06-061-0/+4
| | | | Change-Id: I74e4a53e9486237ad246ebdfa9e97c6ed9475b58
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+821
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b