Home
last modified time | relevance | path

Searched refs:itemType (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Launcher2/
Dprint_db.py95 itemType = cell["itemType"]
96 if itemType == 0:
100 elif itemType == 1:
104 elif itemType == 2:
106 elif itemType == 3:
108 elif itemType == 4:
110 elif itemType == 1000:
112 elif itemType == 1001:
114 elif itemType == 1002:
117 out.write("<b>unknown type: %d</b>" % itemType)
/packages/apps/Launcher2/src/com/android/launcher2/
DItemInfo.java45 int itemType; field in ItemInfo
115 itemType = info.itemType; in ItemInfo()
142 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType); in onAddToDatabase()
190 return "Item(id=" + this.id + " type=" + this.itemType + " container=" + this.container in toString()
DPendingAddItemInfo.java67 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in PendingAddWidgetInfo()
95 itemType = copy.itemType; in PendingAddWidgetInfo()
DShortcutInfo.java61 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in ShortcutInfo()
119 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION; in setActivity()
154 + " type=" + this.itemType + " container=" + this.container + " screen=" + screen in toString()
DApplicationInfo.java59 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in ApplicationInfo()
118 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION; in setActivity()
DLauncherAppWidgetInfo.java54 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo()
DFolderInfo.java41 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER; in FolderInfo()
DFolderIcon.java293 final int itemType = item.itemType; in willAcceptItem() local
294 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willAcceptItem()
295 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in willAcceptItem()
DLauncherModel.java276 modelShortcut.itemType == shortcut.itemType && in checkItemInfoLocked()
355 switch (modelItem.itemType) { in updateItemInDatabaseHelper()
498 item.itemType = c.getInt(itemTypeIndex); in getItemsInLocalCoordinates()
596 switch (item.itemType) { in addItemToDatabase()
672 switch (item.itemType) { in deleteItemFromDatabase()
1290 int itemType = c.getInt(itemTypeIndex); in loadWorkspace() local
1292 switch (itemType) { in loadWorkspace()
1302 if (itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) { in loadWorkspace()
2176 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; in getShortcutInfo()
2207 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in getShortcutInfo()
DWorkspace.java2060 (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION ||
2061 info.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT);
2328 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET) {
3034 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) {
3072 switch (pendingInfo.itemType) {
3086 pendingInfo.itemType);
3090 View finalView = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET
3100 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET &&
3110 switch (info.itemType) {
3125 throw new IllegalStateException("Unknown item type: " + info.itemType);
[all …]
DFolder.java520 final int itemType = item.itemType; in acceptDrop() local
521 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in acceptDrop()
522 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in acceptDrop()
DDeleteDropTarget.java98 switch (addInfo.itemType) { in isAllAppsWidget()
DAppsCustomizePagedView.java1439 createItemInfo.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in syncWidgetPageItems()
DLauncher.java3333 switch (item.itemType) { in bindItems()
/packages/apps/Browser/src/com/android/browser/
DAutofillHandler.java176 private String getContactField(Uri uri, String field, String itemType) { in getContactField() argument
180 ContactsContract.Data.MIMETYPE + "=?", new String[] { itemType }, null); in getContactField()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java839 public static int convertItemTypeToIncludedMediaType(int itemType) {
840 switch (itemType) {