Home
last modified time | relevance | path

Searched refs:loadPhotoFromResource (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoStoreTest.java69 byte[] photo = loadPhotoFromResource(R.drawable.earth_small, PhotoSize.ORIGINAL); in testStoreThumbnailPhoto()
129 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); in runStorageTestForResource()
137 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO); in runStorageTestForResource()
159 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); in runStorageTestForResourceWithCrop()
176 byte[] photo = loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.ORIGINAL); in testRemoveEntry()
205 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL), in testCleanup()
DPhotoLoadingTestCase.java77 loadPhotoFromResource(testPhotoId, PhotoSize.ORIGINAL); in loadTestPhoto()
88 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) { in loadPhotoFromResource() method in PhotoLoadingTestCase
DContactsProvider2Test.java4215 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.THUMBNAIL), in testLoadProfilePhoto()
4223 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.DISPLAY_PHOTO), in testLoadProfileDisplayPhoto()
5695 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemId()
5727 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemPhotoId()
5867 byte[] expectedPhotoBytes = loadPhotoFromResource( in testInsertStreamItemsAndPhotosInBatch()
5918 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoById()
5933 loadPhotoFromResource(R.drawable.nebula, PhotoSize.DISPLAY_PHOTO), in testUpdateStreamItemPhotoById()
5947 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoWithContentValues()
5960 loadPhotoFromResource(R.drawable.nebula, PhotoSize.DISPLAY_PHOTO), in testUpdateStreamItemPhotoWithContentValues()
6149 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.ORIGINAL)); in buildGenericStreamItemPhotoValues()
[all …]
DLegacyContactsProviderTest.java734 byte[] photo = loadPhotoFromResource( in testPhotoUpdate()
736 byte[] thumbnailedPhoto = loadPhotoFromResource( in testPhotoUpdate()
DBaseContactsProvider2Test.java395 values.put(Photo.PHOTO, loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL)); in insertPhoto()