summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/ItemInfo.java
Commit message (Collapse)AuthorAgeFilesLines
* Trying to track down corrupt database / items disappearingAdam Cohen2012-07-091-11/+15
| | | | | | | | | | | -> Adding logs for all database transactions -> Adding sanity checks for items in folders, throwing exceptions if they are violated -> Reducing database upates when re-arranging items, only update if values have changed -> Removed some dead code from ItemInfo (isGesture?) Change-Id: Ia5cd57d92082f633dbf4aa5d64612cbae2d82bb4
* Fixing NPE. (Bug 6460298)Winson Chung2012-05-081-1/+1
| | | | Change-Id: I535cdcabb9121594b4a877839e8a0ef1c6b25af1
* Try and resolve the package name from the intent directly falling back to ↵Winson Chung2012-05-071-3/+19
| | | | | | the resolved component name if it fails. (Bug 6452306) Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
* When adding or moving a resizable widget, the widget may resizeAdam Cohen2012-02-271-0/+9
| | | | | | | | | | -> If a widget is resizable, and there is not enough room to add it in its current (or default) size, but can be scaled down to fit a certain area, it will be resized to fit the available space -> The resizing is animated using a crossfade and scale between the original dragView and the widget rendered in the final size Change-Id: I75db9dcabecce11598b3ae55f20b96b2ec6b7e87
* Cleaning up LauncherModelMichael Jurka2011-09-071-9/+2
| | | | | | | | - 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
* Tagging where ItemInfos are created for debug purposesMichael Jurka2011-08-291-2/+9
| | | Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
* Fixing bug 5011917 - clearing refernce to old folders from FolderInfoAdam Cohen2011-07-111-1/+7
| | | | | | -> Also, ensured that unbind() gets called on all ItemInfos on rotate Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
* Cleaning up some spring-loaded related dragging code. Allow cancel spring ↵Winson Chung2011-07-061-1/+3
| | | | | | loaded mode. Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
* Stripping LiveFolders from LauncherAdam Cohen2011-04-281-1/+1
| | | | Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
* Fix 3514114: Dropping on mini-screens doesn't place items correctlyPatrick Dubroy2011-03-081-0/+5
| | | | Change-Id: I7176562f1a62ca9973a256e53151aac1ff708144
* Allow for NxM layout and in-place rotation of items on homescreen.Winson Chung2010-06-301-0/+5
| | | | | | Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4). Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
* Defend against overlapping items in the workspace.Daniel Sandler2010-05-261-0/+5
| | | | | | | | | | | | | Should the Launcher's database become corrupted by mysterious forces (e.g.: third-party launchers; botched upgrades; smoke monsters) in such a way as to cause two items to share the same cell, we now ignore loading the latter. Prevents a runtime crash (http://b/2655516). Bug: 2655516 Change-Id: Ia514746f04f0e51b2cd07e9290589a6eab75bdd2
* Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ↵Joe Onorato2010-02-121-13/+18
| | | | | | | | | | | ShortcutInfo which is used for the workspace. Consolidate the three icon resampling functions into one. Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample them each time we load them.
* Redo the launcher loading code and put the real app icons into rollo.Joe Onorato2009-08-241-0/+2
|
* Launcher2 compiles.Joe Onorato2009-07-301-1/+1
|
* Move com/android/launcher -> com/android/launcher2Joe Onorato2009-07-301-0/+133