Searched refs:sameAs (Results 1 – 15 of 15) sorted by relevance
196 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithArt()210 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithAlbumArt()224 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithDisplayIcon()238 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithArtUri()252 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithAlbumArtUri()267 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithDisplayIconUri()292 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaDescriptionWithImage()305 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaDescriptionWithUri()330 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromBundleWithArt()343 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromBundleWithAlbumArt()[all …]
402 Assert.assertTrue(expectedBitmap.sameAs(song.image.getImage())); in testGetFolderItems()404 Assert.assertTrue(mTestBitmap.sameAs(song.image.getImage())); in testGetFolderItems()
66 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testParseImage_200by200()80 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testParseImage_600by600()90 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testMakeFromImage_200by200()100 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testMakeFromImage_600by600()
162 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Success_HomeScreen()190 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Success_LockScreen()220 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Success_BothHomeAndLockScreen()221 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Success_BothHomeAndLockScreen()265 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog()304 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog()345 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()346 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()
149 assertTrue(getExpectedPhoto(SAMPLE_CONTACT_PHOTO_URI).sameAs(capturedPhoto)); in testImageScaling()171 assertTrue(getExpectedPhoto(SAMPLE_CONTACT_PHOTO_URI_SMALL).sameAs(capturedPhoto)); in testNoScaling()172 assertTrue(capturedPhoto.sameAs(iconCaptor.getValue())); in testNoScaling()
55 assertThat(ImageTestUtils.drawableToBitmap(actual1stDrawable).sameAs( in createLayerDrawable_configCorrect()57 assertThat(ImageTestUtils.drawableToBitmap(actual2ndDrawable).sameAs( in createLayerDrawable_configCorrect()
77 assertThat(ImageTestUtils.drawableToBitmap(mController.mPreview.getDrawable()).sameAs( in onChange_a11yBtnModeNavigationBar_getNavigationBarDrawable()
43 public boolean sameAs(@Nullable ProgramSelector.Identifier id) { in sameAs() method in IdentifierEntity
45 if (!primaryId.sameAs(selector.getPrimaryId())) { in Favorite()
60 return bitmap.sameAs(otherBitmap); in matchesSafely()
65 return expected.sameAs((Bitmap) actual); in bitmapEqualTo()
421 assertThat(preferenceBmp.sameAs(staticIconBmp)).isTrue(); in bindIcon_withStaticIcon_shouldLoadStaticIcon()456 assertThat(preferenceBmp.sameAs(staticIconBmp)).isFalse(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()463 assertThat(preferenceBmp.sameAs(iconBmpFromUri)).isTrue(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
249 return bmp.sameAs(mImage); in equals()
92 Assert.assertTrue(expected.sameAs(image)); in assertImageSame()
501 largeIconChanged = largeIcon == null || !savedLargeIcon.sameAs(largeIcon); in checkForChangeAndSaveData()