summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/LauncherModel.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue where Google Voice shortcuts would disappearMichael Jurka2012-05-141-1/+3
| | | | | | Bug: 6449123 Change-Id: I1d8c314ec954caf332d10be927d16ee45f325df8
* Fixing comment.Winson Chung2012-05-071-1/+2
| | | | Change-Id: Iee4009746aa4e517aa9537fa3cf63949a8fffd25
* Merge "Further preventing drags while loading is in progress. (Bug 6276881)" ↵Winson Chung2012-05-071-0/+18
|\ | | | | | | into jb-dev
| * Further preventing drags while loading is in progress. (Bug 6276881)Winson Chung2012-05-061-0/+18
| | | | | | | | Change-Id: I3fc9ad4cd3d71a8eba4e3bcc0a1b6346c59fbee5
* | Try and resolve the package name from the intent directly falling back to ↵Winson Chung2012-05-071-1/+1
|/ | | | | | the resolved component name if it fails. (Bug 6452306) Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
* Fixing NPE in LauncherModel (Bug 6449627)Winson Chung2012-05-061-1/+1
| | | | Change-Id: I6e0040465e6bf9f65ad7c05af1f7ef7cf948a355
* Fixing issue where items that were not yet added were not removed from the ↵Winson Chung2012-05-041-0/+18
| | | | | | db. (Bug 6428418) Change-Id: I8f76af1ccaa2bc5053f3e1f6606202310855aaae
* Fix widget resizes that shouldn't (issue 6380435)Adam Cohen2012-04-301-0/+3
| | | | Change-Id: Ia1da2df16ca184e6f451775597fa33ee38df6122
* Merge "Fixing issue where shortcuts and widgets were not being removed when ↵Winson Chung2012-04-301-1/+2
|\ | | | | | | the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev
| * Fixing issue where shortcuts and widgets were not being removed when the ↵Winson Chung2012-04-271-1/+2
| | | | | | | | | | | | | | | | | | package was uninstalled (Bug 2657997, Bug 6335843) - Also fixes issue if we are dragging a shortcut/widget and it is removed. - Also exposes App Info for shortcuts and widgets Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
* | Set FLAG_ACTIVITY_RESET_TASK_IF_NEEDED for all app shortcutsMichael Jurka2012-04-271-0/+9
|/ | | Change-Id: I3a5cc205c24b1ec33f428e8d341a995e864f6a1d
* Postpone loading default favoritesMichael Jurka2012-04-251-0/+3
| | | | | - postpone until Launcher activity is created - gives setup wizard time to set flags before we load the default workspace
* Fix warnings and remove dead codeMichael Jurka2012-04-131-4/+6
| | | Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
* Widget resizing can now displace itemsAdam Cohen2012-04-121-11/+23
| | | | Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
* Merge "Changing order of binding to prevent errant flashing while loading ↵Winson Chung2012-04-041-5/+34
|\ | | | | | | workspace."
| * Changing order of binding to prevent errant flashing while loading workspace.Winson Chung2012-04-031-5/+34
| | | | | | | | Change-Id: I75eb39600d1cd28980fd0365affb2c6e5f7162c1
* | Adding workaround for issue where icon labels on workspace were loaded ↵Winson Chung2012-03-301-1/+21
|/ | | | | | differently than those in AllApps. (Bug 5250760) Change-Id: I9b6fc848befa1bcda84e97ccc9787faf5bda7a5f
* Adding animation post-installing a shortcut.Winson Chung2012-03-231-9/+14
| | | | Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
* New small/large screen division for Launcher.Andrew Flynn2012-02-291-1/+2
| | | | | | | | Previously the dp division between the two was set at 600dp (7" tablets). This has now been bumped up to 720dp (10" tablets). Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
* Fix memory leak in LauncherMichael Jurka2011-11-301-1/+4
| | | | | | | Leak happened when a stack view was on the workspace and then workspace forced a rebind of its items (for example, when an app was installed) Bug # 5629171
* Clean up unused code and import declarationsMichael Jurka2011-11-281-2/+1
| | | | Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
* Prevent the creation of Shorcuts with null intents (issue 5629292)Adam Cohen2011-11-221-0/+9
| | | | Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
* Ensuring disabled apps don't appear in workspace (issue: 5557311)Adam Cohen2011-11-071-0/+13
| | | | Change-Id: I4a016b200945779f6e73b9c9d1c2a13c2b0fdef9
* Updated bug fix for Launcher reloading on mcc update.Reena Lee2011-10-241-5/+6
| | | | | | | | | | | | Store the previousConfig's mcc value only instead of configuration object. The mPreviousConfig object was a reference to the same object ResourceManager was using, which can change by the time LauncherModel gets the intent for ACTION_CONFIGURATION_CHANGED. This was causing Launcher to not reload all apps as the currentConfig and previousConfig always matched. Bug 5040470 Change-Id: Ie7102cc233177e05cb0e0e2ae4240309c16ebf66
* Listen for ACTION_CONFIGURATION_CHANGED for an mcc change to reload AllAppsReena Lee2011-10-171-25/+61
| | | | | | | | | | Bug 5040470 Reload all apps in Launcher on ACTION_CONFIGURATION_CHANGED if the config change was due to an mcc change. App icon labels such as Gmail/GoogleMail may have mcc-based resources so must be reloaded if the mcc has changed. Change-Id: I02e48f9cebb73950cc563a902df850ae0db0a98f
* Adding some dump() logging regarding deleted widgetsAdam Cohen2011-10-051-2/+4
| | | | Change-Id: Ia11cc27267d06d57e0e16bfabe3b5076481058e5
* Reverting change to load workspace items in reverse order. (5290651)Winson Chung2011-09-121-2/+1
| | | | Change-Id: I6bc5e4ccac12a5a1098721eccb0d6ccede699b42
* Merge "Bug Fixing"Winson Chung2011-09-081-0/+6
|\
| * Bug FixingWinson Chung2011-09-081-0/+6
| | | | | | | | | | | | | | | | | | - Setting loader thread priority to default after loading to help rotation time (5264039, more work to be done here potentially) - Fixing regression in missing background gradient for hotseat - Removing the old cupcake gallery item bg, new bg assets coming soon (5160311) - Defering showing the AppsCustomize tab bar until we request layout to help a little with the flashing Change-Id: I8c4981435f684363be951696986b7ab1b71956eb
* | Merge "Cleaning up LauncherModel"Michael Jurka2011-09-071-124/+109
|\ \
| * | Cleaning up LauncherModelMichael Jurka2011-09-071-124/+109
| |/ | | | | | | | | | | | | | | - performing all DB operations immediately if called from worker thread (a previous change that did this in updateItemInDatabase fixed an outstanding bug) - centralizing logic to do database updates - removing old logging code Change-Id: Idc7bfef3921828ff7c5492b8e996c0a07e1ec508
* / Loading the workspace favourites in reverse order to work around duplicate ↵Winson Chung2011-09-071-1/+4
|/ | | | | | issue. (5208427) Change-Id: I87dee7a9aab345740f51d8168c6b073a93e20652
* Merge "Prevent accessing LauncherModel data structures on main thread. ↵Winson Chung2011-09-031-7/+34
|\ | | | | | | (5220358)"
| * Prevent accessing LauncherModel data structures on main thread. (5220358)Winson Chung2011-09-021-7/+34
| | | | | | | | Change-Id: Ib9de96abb0ab13ef63b9c594f6982368fd1b614f
* | Fixing incorrect test of occupied state for items in the hotseat. (5208427)Winson Chung2011-09-021-2/+13
|/ | | | Change-Id: Iee78e6be21389314210ef3c60c557a78b43f8021
* Execute update operations immediately if on right threadMichael Jurka2011-08-311-2/+7
| | | | | | - Potential fix to bug 5205131 Change-Id: Iae302f81e4c8f5c07dc4363b3bb9ef298a33faf4
* Tagging where ItemInfos are created for debug purposesMichael Jurka2011-08-291-13/+19
| | | Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
* Fix crash when package list is updatedMichael Jurka2011-08-291-3/+5
| | | | | | bug# 5224498 Change-Id: I8953589c21e97fee3f5c3b95fb4a46beb39562b3
* Tweaking the logging in the fail case, adding additional cases for where the ↵Winson Chung2011-08-251-15/+14
| | | | | | db icon cache should be updated. (5205131) Change-Id: If5bf8d959ba9af40dbe8c13e6ed352a345e1679a
* Merge "Adding null check to prevent crash when factory resetting device. ↵Adam Cohen2011-08-251-1/+3
|\ | | | | | | (5214968)"
| * Adding null check to prevent crash when factory resetting device. (5214968)Winson Chung2011-08-251-1/+3
| | | | | | | | Change-Id: I514a17bdf097c6df17cacbe6d3aa59d427bc713b
* | Updating db icon cache when item id cache gets updated. (5205131)Winson Chung2011-08-241-10/+25
|/ | | | | | - Also adding additional debugging information Change-Id: If3372753fb20fecfa97e7d6ba7f72484ab437795
* Hiding search bar buttons when qsb is disabled. (5187969, 5201453)Winson Chung2011-08-231-1/+2
| | | | Change-Id: I23cbfac5c1a8f96eb8158fd30a1fb335b044d49c
* Merge "Fixing label cache issue due to different ResolveInfos being returned ↵Winson Chung2011-08-191-9/+19
|\ | | | | | | in different parts of loading, saves 1-10% on AllApps load. (5042022)"
| * Fixing label cache issue due to different ResolveInfos being returned in ↵Winson Chung2011-08-181-9/+19
| | | | | | | | | | | | different parts of loading, saves 1-10% on AllApps load. (5042022) Change-Id: I17166bd6a50858ff76c475688fff9a9eaeba6010
* | Deferring testing of loaded icons against db icons, saves between 15-30% on ↵Winson Chung2011-08-181-21/+42
|/ | | | | | workspace load. (5042022) Change-Id: I016248f6779851390df1bf0a23199d0aecc032d1
* Adding a progress bar while All Apps is loadingMichael Jurka2011-08-091-0/+4
| | | | | - also, removing some unused imports Change-Id: Icf46beb9fa9d89bc06cba33c148ceb7d668cd402
* Making hotseat a fiver.Winson Chung2011-08-081-6/+18
| | | | Change-Id: I18737692a115f8fd77c6feb3062f4bfeca3506ae
* Solving bug where labels were unevenMichael Jurka2011-08-051-5/+6
| | | | | | - Ensuring all icons, even those that are pulled from our database cache, are always the correct size - Solves bug where loading icon for shortcuts with missing activities on a GB->ICS upgrade caused uneven labels (Bug 5111191) Change-Id: I4b8a97c3b0fa02fd189f82d0c01444f47fee2205
* Fix crash when adding bookmark to homescreen from browserMichael Jurka2011-08-031-2/+1
| | | | | | Bug 5109799 Change-Id: Ic7de1dcd06d20715170a856ed345f91bd36d982d