Searched refs:itemType (Results 1 – 17 of 17) sorted by relevance
95 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)
45 int itemType; field in ItemInfo115 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()
280 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() local1327 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()
67 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in PendingAddWidgetInfo()95 itemType = copy.itemType; in PendingAddWidgetInfo()
61 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()
2067 (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_APPWIDGET3107 if (pendingInfo.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET &&3117 switch (info.itemType) {3132 throw new IllegalStateException("Unknown item type: " + info.itemType);[all …]
293 final int itemType = item.itemType; in willAcceptItem() local294 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in willAcceptItem()295 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in willAcceptItem()
508 final int itemType = item.itemType; in acceptDrop() local509 return ((itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION || in acceptDrop()510 itemType == LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT) && in acceptDrop()
59 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT; in ApplicationInfo()112 itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_APPLICATION; in setActivity()
54 itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET; in LauncherAppWidgetInfo()
41 itemType = LauncherSettings.Favorites.ITEM_TYPE_FOLDER; in FolderInfo()
98 switch (addInfo.itemType) { in isAllAppsWidget()
1217 createItemInfo.itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT; in syncWidgetPageItems()
3429 switch (item.itemType) { in bindItems()
78 int itemType, int itemSupportedOperations, boolean selected) { in onItemSelectedStateChanged() argument104 if (itemType == FileColumns.MEDIA_TYPE_IMAGE) { in onItemSelectedStateChanged()106 } else if (itemType == FileColumns.MEDIA_TYPE_VIDEO) { in onItemSelectedStateChanged()
176 private String getContactField(Uri uri, String field, String itemType) { in getContactField() argument180 ContactsContract.Data.MIMETYPE + "=?", new String[] { itemType }, null); in getContactField()
839 public static int convertItemTypeToIncludedMediaType(int itemType) {840 switch (itemType) {