Home
last modified time | relevance | path

Searched refs:itemType (Results 1 – 17 of 17) 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()
DLauncherModel.java280 modelShortcut.itemType == shortcut.itemType && in checkItemInfoLocked()
359 switch (modelItem.itemType) { in updateItemInDatabaseHelper()
531 item.itemType = c.getInt(itemTypeIndex); in getItemsInLocalCoordinates()
629 switch (item.itemType) { in addItemToDatabase()
705 switch (item.itemType) { in deleteItemFromDatabase()
1325 int itemType = c.getInt(itemTypeIndex); in loadWorkspace() local
1327 switch (itemType) { in loadWorkspace()
1337 if (itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) { in loadWorkspace()
2233 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; in getShortcutInfo()
2264 info.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in getShortcutInfo()
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()
113 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION; in setActivity()
148 + " type=" + this.itemType + " container=" + this.container + " screen=" + screen in toString()
DWorkspace.java2067 (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION ||
2068 info.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT);
2335 if (info.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET) {
3041 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) {
3079 switch (pendingInfo.itemType) {
3093 pendingInfo.itemType);
3097 View finalView = pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET
3107 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET &&
3117 switch (info.itemType) {
3132 throw new IllegalStateException("Unknown item type: " + info.itemType);
[all …]
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()
DFolder.java508 final int itemType = item.itemType; in acceptDrop() local
509 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in acceptDrop()
510 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in acceptDrop()
DApplicationInfo.java59 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in ApplicationInfo()
112 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()
DDeleteDropTarget.java98 switch (addInfo.itemType) { in isAllAppsWidget()
DAppsCustomizePagedView.java1217 createItemInfo.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in syncWidgetPageItems()
DLauncher.java3429 switch (item.itemType) { in bindItems()
/packages/apps/Gallery2/src/com/android/photos/
DSelectionManager.java78 int itemType, int itemSupportedOperations, boolean selected) { in onItemSelectedStateChanged() argument
104 if (itemType == FileColumns.MEDIA_TYPE_IMAGE) { in onItemSelectedStateChanged()
106 } else if (itemType == FileColumns.MEDIA_TYPE_VIDEO) { in onItemSelectedStateChanged()
/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) {