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.java70 byte[] photo = loadPhotoFromResource(R.drawable.earth_small, PhotoSize.ORIGINAL); in testStoreThumbnailPhoto()
130 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); in runStorageTestForResource()
138 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO); in runStorageTestForResource()
160 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); in runStorageTestForResourceWithCrop()
177 byte[] photo = loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.ORIGINAL); in testRemoveEntry()
206 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL), in testCleanup()
DPhotoLoadingTestCase.java78 loadPhotoFromResource(testPhotoId, PhotoSize.ORIGINAL); in loadTestPhoto()
89 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) { in loadPhotoFromResource() method in PhotoLoadingTestCase
DContactsProvider2Test.java4107 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.THUMBNAIL), in testLoadProfilePhoto()
4115 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.DISPLAY_PHOTO), in testLoadProfileDisplayPhoto()
5706 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemId()
5738 photo2Values.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testQueryStreamItemPhotoByStreamItemPhotoId()
5878 byte[] expectedPhotoBytes = loadPhotoFromResource( in testInsertStreamItemsAndPhotosInBatch()
5929 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoById()
5944 loadPhotoFromResource(R.drawable.nebula, PhotoSize.DISPLAY_PHOTO), in testUpdateStreamItemPhotoById()
5958 photoValues.put(StreamItemPhotos.PHOTO, loadPhotoFromResource( in testUpdateStreamItemPhotoWithContentValues()
5971 loadPhotoFromResource(R.drawable.nebula, PhotoSize.DISPLAY_PHOTO), in testUpdateStreamItemPhotoWithContentValues()
6160 loadPhotoFromResource(R.drawable.earth_normal, PhotoSize.ORIGINAL)); in buildGenericStreamItemPhotoValues()
[all …]
DLegacyContactsProviderTest.java733 byte[] photo = loadPhotoFromResource( in testPhotoUpdate()
735 byte[] thumbnailedPhoto = loadPhotoFromResource( in testPhotoUpdate()
DBaseContactsProvider2Test.java413 values.put(Photo.PHOTO, loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL)); in insertPhoto()