Home
last modified time | relevance | path

Searched refs:Photos (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoDatabase.java25 import com.android.photos.data.PhotoProvider.Photos;
42 { Photos._ID, "INTEGER PRIMARY KEY AUTOINCREMENT" },
44 { Photos.ACCOUNT_ID, "INTEGER NOT NULL" },
45 { Photos.WIDTH, "INTEGER NOT NULL" },
46 { Photos.HEIGHT, "INTEGER NOT NULL" },
47 { Photos.DATE_TAKEN, "INTEGER NOT NULL" },
49 { Photos.ALBUM_ID, "INTEGER" },
50 { Photos.MIME_TYPE, "TEXT NOT NULL" },
51 { Photos.TITLE, "TEXT" },
52 { Photos.DATE_MODIFIED, "INTEGER" },
[all …]
DPhotoProvider.java87 public static interface Photos extends BaseColumns { interface in PhotoProvider
219 protected static final String SELECT_PHOTO_ID = "SELECT " + Photos._ID + " FROM "
220 + Photos.TABLE;
221 protected static final String SELECT_PHOTO_COUNT = "SELECT COUNT(*) FROM " + Photos.TABLE;
222 protected static final String DELETE_PHOTOS = "DELETE FROM " + Photos.TABLE;
237 Photos.MIME_TYPE,
257 sUriMatcher.addURI(AUTHORITY, Photos.TABLE, MATCH_PHOTO); in sUriMatcher.addURI()
259 sUriMatcher.addURI(AUTHORITY, Photos.TABLE + "/#", MATCH_PHOTO_ID); in sUriMatcher.addURI()
395 table = Photos.TABLE; in getTableFromMatch()
462 return nestWhere(Metadata.PHOTO_ID, Photos.TABLE, where); in metadataSelectionFromPhotos()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java483 sPhotoProjectionMap.put(android.provider.Contacts.Photos._ID, in sPhotoProjectionMap.put()
484 android.provider.Contacts.Photos._ID); in sPhotoProjectionMap.put()
485 sPhotoProjectionMap.put(android.provider.Contacts.Photos.PERSON_ID, in sPhotoProjectionMap.put()
486 android.provider.Contacts.Photos.PERSON_ID); in sPhotoProjectionMap.put()
487 sPhotoProjectionMap.put(android.provider.Contacts.Photos.DATA, in sPhotoProjectionMap.put()
488 android.provider.Contacts.Photos.DATA); in sPhotoProjectionMap.put()
489 sPhotoProjectionMap.put(android.provider.Contacts.Photos.LOCAL_VERSION, in sPhotoProjectionMap.put()
490 android.provider.Contacts.Photos.LOCAL_VERSION); in sPhotoProjectionMap.put()
491 sPhotoProjectionMap.put(android.provider.Contacts.Photos.DOWNLOAD_REQUIRED, in sPhotoProjectionMap.put()
492 android.provider.Contacts.Photos.DOWNLOAD_REQUIRED); in sPhotoProjectionMap.put()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java33 import android.provider.Contacts.Photos;
719 values.put(Photos.DATA, photo); in testPhotoUpdate()
720 values.put(Photos.LOCAL_VERSION, "10"); in testPhotoUpdate()
723 values.put(Photos.EXISTS_ON_SERVER, 1); in testPhotoUpdate()
724 values.put(Photos.SYNC_ERROR, "404 does not exist"); in testPhotoUpdate()
726 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); in testPhotoUpdate()
728 values.put(Photos.DATA, thumbnailedPhoto); in testPhotoUpdate()
731 long photoId = Long.parseLong(getStoredValue(photoUri, Photos._ID)); in testPhotoUpdate()
733 values.put(Photos.LOCAL_VERSION, "11"); in testPhotoUpdate()
734 values.put(Photos.DATA, photo); in testPhotoUpdate()
[all …]