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.java3881 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.THUMBNAIL), in testLoadProfilePhoto()
3889 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.DISPLAY_PHOTO), in testLoadProfileDisplayPhoto()
5350 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemId()
5382 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemPhotoId()
5522 byte[] expectedPhotoBytes = loadPhotoFromResource( in testInsertStreamItemsAndPhotosInBatch()
5573 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoById()
5588 loadPhotoFromResource(R.drawable.nebula, PhotoSize.DISPLAY_PHOTO), in testUpdateStreamItemPhotoById()
5602 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoWithContentValues()
5615 loadPhotoFromResource(R.drawable.nebula, PhotoSize.DISPLAY_PHOTO), in testUpdateStreamItemPhotoWithContentValues()
5804 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()