Home
last modified time | relevance | path

Searched refs:GalleryGridItemData (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryGridItemData.java31 public final class GalleryGridItemData implements Parcelable { class
43 public GalleryGridItemData() {} in GalleryGridItemData() method in GalleryGridItemData
45 public GalleryGridItemData(GalleryGridItemData copyData) { in GalleryGridItemData() method in GalleryGridItemData
51 public GalleryGridItemData(Cursor cursor) { in GalleryGridItemData() method in GalleryGridItemData
83 return obj instanceof GalleryGridItemData in equals()
84 && Objects.equals(mimeType, ((GalleryGridItemData) obj).mimeType) in equals()
85 && Objects.equals(filePath, ((GalleryGridItemData) obj).filePath) in equals()
86 && ((GalleryGridItemData) obj).dateModifiedSeconds == dateModifiedSeconds; in equals()
106 public static final Creator<GalleryGridItemData> CREATOR =
107 new Creator<GalleryGridItemData>() {
[all …]
DGalleryGridAdapter.java41 private GalleryGridItemData selectedData;
100 public void setSelected(GalleryGridItemData selectedData) { in setSelected()
107 public void insertEntries(@NonNull List<GalleryGridItemData> entries) { in insertEntries()
110 MatrixCursor extraRow = new MatrixCursor(GalleryGridItemData.IMAGE_PROJECTION); in insertEntries()
111 for (GalleryGridItemData entry : entries) { in insertEntries()
119 public GalleryGridItemData insertEntry(String filePath, String mimeType) { in insertEntry()
122 MatrixCursor extraRow = new MatrixCursor(GalleryGridItemData.IMAGE_PROJECTION); in insertEntry()
128 return new GalleryGridItemData(extraRow); in insertEntry()
DGalleryComposerFragment.java69 private GalleryGridItemData selectedData = null;
71 private List<GalleryGridItemData> insertedImages = new ArrayList<>();
123 GalleryGridItemData data1 = in onActivityCreated()
194 setSelected(new GalleryGridItemData(itemView.getData()), false); in onClick()
200 public GalleryGridItemData getGalleryData() { in getGalleryData()
220 private void setSelected(GalleryGridItemData data, boolean isCopy) { in setSelected()
DGalleryGridItemView.java35 private final GalleryGridItemData data = new GalleryGridItemData();
66 public GalleryGridItemData getData() { in getData()
DGalleryCursorLoader.java40 GalleryGridItemData.IMAGE_PROJECTION, in GalleryCursorLoader()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemViewTest.java27 import com.android.messaging.datamodel.data.GalleryGridItemData;
49 protected void verifyClickedItem(final View view, final GalleryGridItemData data) { in verifyClickedItem()
75 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testBind()
88 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testBindMultiSelectUnSelected()
101 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testBindMultiSelectSelected()
114 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testClick()
126 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testBindTwice()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java35 import com.android.messaging.datamodel.data.GalleryGridItemData;
52 void onItemClicked(View view, GalleryGridItemData data, boolean longClick); in onItemClicked()
53 boolean isItemSelected(GalleryGridItemData data); in isItemSelected()
58 GalleryGridItemData mData;
DGalleryGridView.java34 import com.android.messaging.datamodel.data.GalleryGridItemData;
87 public void onItemClicked(final View view, final GalleryGridItemData data, in onItemClicked()
111 public boolean isItemSelected(final GalleryGridItemData data) { in isItemSelected()
124 private void toggleItemSelection(final Rect startRect, final GalleryGridItemData data) { in toggleItemSelection()
DGalleryMediaChooser.java36 import com.android.messaging.datamodel.data.GalleryGridItemData;
198 new MatrixCursor(GalleryGridItemData.SPECIAL_ITEM_COLUMNS); in onMediaPickerDataUpdated()
199 specialItemsCursor.addRow(new Object[] { GalleryGridItemData.ID_DOCUMENT_PICKER_ITEM }); in onMediaPickerDataUpdated()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeDataModel.java36 import com.android.messaging.datamodel.data.GalleryGridItemData;
154 public GalleryGridItemData createGalleryGridItemData() { in createGalleryGridItemData()
157 return new GalleryGridItemData(); in createGalleryGridItemData()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DGalleryBoundCursorLoader.java25 import com.android.messaging.datamodel.data.GalleryGridItemData;
45 super(bindingId, context, STORAGE_URI, GalleryGridItemData.MEDIA_PROJECTION, SELECTION, in GalleryBoundCursorLoader()
DDataModelImpl.java38 import com.android.messaging.datamodel.data.GalleryGridItemData;
119 public GalleryGridItemData createGalleryGridItemData() { in createGalleryGridItemData()
120 return new GalleryGridItemData(); in createGalleryGridItemData()
DDataModel.java38 import com.android.messaging.datamodel.data.GalleryGridItemData;
84 public abstract GalleryGridItemData createGalleryGridItemData(); in createGalleryGridItemData()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DGalleryGridItemData.java37 public class GalleryGridItemData { class
71 public GalleryGridItemData() { in GalleryGridItemData() method in GalleryGridItemData
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java282 return new FakeCursor(GalleryGridItemData.MEDIA_PROJECTION, sGalleryCursorColumns, in getGalleryGridCursor()