Searched defs:itemType (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DGroupingListAdapterTests.java290 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, argument
294 assertEquals(itemType, metadata.itemType);
295 if (metadata.itemType == ITEM_TYPE_GROUP_HEADER) {
/packages/apps/Gallery2/src/com/android/photos/
H A DSelectionManager.java78 int itemType, int itemSupportedOperations, boolean selected) {
104 if (itemType == FileColumns.MEDIA_TYPE_IMAGE) {
106 } else if (itemType == FileColumns.MEDIA_TYPE_VIDEO) {
77 onItemSelectedStateChanged(ShareActionProvider share, int itemType, int itemSupportedOperations, boolean selected) argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DItemInfo.java53 int itemType; field in class:ItemInfo
131 itemType = info.itemType;
168 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType);
219 return "Item(id=" + this.id + " type=" + this.itemType + " container=" + this.container
/packages/apps/Launcher3/src/com/android/launcher3/
H A DCommonAppTypeParser.java55 public CommonAppTypeParser(long itemId, int itemType, Context context) { argument
58 mResId = getResourceForItemType(itemType);
145 public static int encodeItemTypeToFlag(int itemType) { argument
146 return itemType << RESTORE_FLAG_BIT_SHIFT;
H A DItemInfo.java52 public int itemType; field in class:ItemInfo
142 itemType = info.itemType;
160 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType);
195 return "Item(id=" + this.id + " type=" + this.itemType + " container=" + this.container
H A DLauncherModel.java645 modelShortcut.itemType == shortcut.itemType &&
760 switch (modelItem.itemType) {
940 "_id=? and (itemType=? or itemType=?)",
1013 switch (item.itemType) {
1095 switch (item.itemType) {
1837 int itemType = c.getInt(itemTypeIndex);
1842 switch (itemType) {
1999 promiseType, itemType, cursorIconInf
3458 getRestoredItemInfo(Cursor c, int titleIndex, Intent intent, int promiseType, int itemType, CursorIconInfo iconInfo, Context context) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DGroupingListAdapter.java56 int itemType; field in class:GroupingListAdapter.PositionMetadata
327 metadata.itemType = ITEM_TYPE_STANDALONE;
338 metadata.itemType = ITEM_TYPE_GROUP_HEADER;
349 metadata.itemType = ITEM_TYPE_IN_GROUP;
367 metadata.itemType = ITEM_TYPE_STANDALONE;
378 return mPositionMetadata.itemType == ITEM_TYPE_GROUP_HEADER;
396 if (mPositionMetadata.itemType != ITEM_TYPE_GROUP_HEADER) {
411 return mPositionMetadata.itemType;
/packages/apps/Gallery/src/com/android/camera/
H A DGalleryPicker.java839 public static int convertItemTypeToIncludedMediaType(int itemType) { argument
840 switch (itemType) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationContainer.java222 int itemType; field in class:ConversationContainer.OverlayView
224 public OverlayView(View view, int itemType) { argument
226 this.itemType = itemType;
688 mScrapViews.add(overlay.itemType, overlay.view);
848 final int itemType = mOverlayAdapter.getItemViewType(adapterIndex);
849 final View convertView = mScrapViews.poll(itemType);
852 mOverlayViews.put(adapterIndex, new OverlayView(view, itemType));
1008 LogUtils.i(TAG, "OverlayView: adapterIndex=%s, itemType=%s, view=%s",
1009 index, overlayView.itemType, overlayVie
[all...]

Completed in 330 milliseconds