History log of /packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
315084f234b2b8bc7bc9732f71c91e4674b711cd 21-Jul-2014 Kenny Guy <kennyguy@google.com> Change getBadgedLabelForUser to use CharSequence

Bug: 16401636
Change-Id: I213547a21aeb864bd8368e5e9b44a57457f6dab7
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
4d3aca0989c48084c0c387d6010bd5b601c25668 18-Jun-2014 Kenny Guy <kennyguy@google.com> Add content description for apps from profiles.

Add content description to apps so that apps
from the managed profile are described differently
to the same app in the personal profile.

Bug: 15106236
Change-Id: I3fb151aadd947f48f85392cd9be8222c37b2dfcf
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
374753cabf05cde1ad669d07bde47e34fdcbe499 19-Mar-2014 Amith Yamasani <yamasani@google.com> Launcher2 multi-profile support

Use LauncherApps API and badging APIs instead of PackageManager.

Adds support to show apps from current user and any managed profiles.

Background: Managed profiles are user sandboxes that are visible from
the primary user and can be launched as if they are a part of this user.
A launcher should now be capable of listing apps from this user as well
as related profiles of this user.

Launching of activities is now via the LauncherApps interface, to allow
for cross-profile app launching. Only activities with category LAUNCHER
can be added as a shortcut on the workspace for a managed profile.

Widgets are only supported for the current profile. Widgets from the
managed profile are not available.

TODO: Handle users appearing and disappearing.

Change-Id: I732a476d68236f7de7eaa5a2105c868621c8a57e
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
96610d53f1cb1fa4c2406f7b3fca0fcaf16f6b36 04-Sep-2012 Michael Jurka <mikejurka@google.com> Adding more debug code for dup. ItemInfo bug

Change-Id: I7963a59b54f05e29e485c3dcc5c0e159e36de59d
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
487f7dd3059621527eb439d7d51d34e00293f9b1 29-Jun-2012 Adam Cohen <adamcohen@google.com> Trying to track down corrupt database / items disappearing

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
33a0ad56c0970b5c60b6e4e207f24dcefd1fd3e8 08-May-2012 Winson Chung <winsonc@google.com> Fixing NPE. (Bug 6460298)

Change-Id: I535cdcabb9121594b4a877839e8a0ef1c6b25af1
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
be365165ed00205265c1876c4829fa9ac630da2a 07-May-2012 Winson Chung <winsonc@google.com> Try and resolve the package name from the intent directly falling back to the resolved component name if it fails. (Bug 6452306)

Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
d41fbf5680750e34335bba6b38298186c144a4b7 17-Feb-2012 Adam Cohen <adamcohen@google.com> When adding or moving a resizable widget, the widget may resize

-> 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
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
c9d95c5897fc5ebbf53903d4ab18ad13d196f643 29-Aug-2011 Michael Jurka <mikejurka@google.com> Cleaning up LauncherModel

- 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
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
b60fd0eafbb4e6e61b429c403f024dc903bc483a 29-Aug-2011 Michael Jurka <mikejurka@google.com> Tagging where ItemInfos are created for debug purposes

Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
4eac29a80b9a73465c8de54f1caec2a8098a73c6 12-Jul-2011 Adam Cohen <adamcohen@google.com> Fixing bug 5011917 - clearing refernce to old folders from FolderInfo

-> Also, ensured that unbind() gets called on all ItemInfos on rotate

Change-Id: I869b68fcae5c66702ec204596f5ecabdc7a32df7
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
c07918d0053fc7d2a19d7b013565a5d2e7d4af51 02-Jul-2011 Winson Chung <winsonc@google.com> Cleaning up some spring-loaded related dragging code. Allow cancel spring loaded mode.

Change-Id: Ie1f0468c563bed7abc1aa6416e222cdb0853c03a
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
df2cc41acbfacd576f99483a4af1cda32ebd3d09 28-Apr-2011 Adam Cohen <adamcohen@google.com> Stripping LiveFolders from Launcher

Change-Id: Ic105fbeb1289e43469d5975b7d977b2fc7900c0b
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
bbaa75c8c432c46c00ee2eb836e438b3774d6709 09-Mar-2011 Patrick Dubroy <dubroy@google.com> Fix 3514114: Dropping on mini-screens doesn't place items correctly

Change-Id: I7176562f1a62ca9973a256e53151aac1ff708144
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
aafa03cbb925c74be1c13f8bb99d928be429e62f 12-Jun-2010 Winson Chung <winsonc@google.com> Allow for NxM layout and in-place rotation of items on homescreen.

Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4).

Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
8802e960495e61803c18ea3dda2e30ef0a611d8f 26-May-2010 Daniel Sandler <dsandler@android.com> Defend against overlapping items in the workspace.

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
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
0589f0f66ce498512c6ee47482c649d88294c9d0 08-Feb-2010 Joe Onorato <joeo@android.com> Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and 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.
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d 17-Aug-2009 Joe Onorato <joeo@android.com> Redo the launcher loading code and put the real app icons into rollo.
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/ItemInfo.java