Home
last modified time | relevance | path

Searched refs:Photos (Results 1 – 5 of 5) 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(_id) 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.java452 sPhotoProjectionMap.put(android.provider.Contacts.Photos._ID, in sPhotoProjectionMap.put()
453 android.provider.Contacts.Photos._ID); in sPhotoProjectionMap.put()
454 sPhotoProjectionMap.put(android.provider.Contacts.Photos.PERSON_ID, in sPhotoProjectionMap.put()
455 android.provider.Contacts.Photos.PERSON_ID); in sPhotoProjectionMap.put()
456 sPhotoProjectionMap.put(android.provider.Contacts.Photos.DATA, in sPhotoProjectionMap.put()
457 android.provider.Contacts.Photos.DATA); in sPhotoProjectionMap.put()
458 sPhotoProjectionMap.put(android.provider.Contacts.Photos.LOCAL_VERSION, in sPhotoProjectionMap.put()
459 android.provider.Contacts.Photos.LOCAL_VERSION); in sPhotoProjectionMap.put()
460 sPhotoProjectionMap.put(android.provider.Contacts.Photos.DOWNLOAD_REQUIRED, in sPhotoProjectionMap.put()
461 android.provider.Contacts.Photos.DOWNLOAD_REQUIRED); in sPhotoProjectionMap.put()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java36 import android.provider.Contacts.Photos;
743 values.put(Photos.DATA, photo); in testPhotoUpdate()
744 values.put(Photos.LOCAL_VERSION, "10"); in testPhotoUpdate()
747 values.put(Photos.EXISTS_ON_SERVER, 1); in testPhotoUpdate()
748 values.put(Photos.SYNC_ERROR, "404 does not exist"); in testPhotoUpdate()
750 Uri photoUri = Uri.withAppendedPath(personUri, Photos.CONTENT_DIRECTORY); in testPhotoUpdate()
752 values.put(Photos.DATA, thumbnailedPhoto); in testPhotoUpdate()
755 long photoId = Long.parseLong(getStoredValue(photoUri, Photos._ID)); in testPhotoUpdate()
757 values.put(Photos.LOCAL_VERSION, "11"); in testPhotoUpdate()
758 values.put(Photos.DATA, photo); in testPhotoUpdate()
[all …]
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list380 Photos & videos;pref_photos_videos