Home
last modified time | relevance | path

Searched refs:sameAs (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTextInterpolatorTest.kt94 assertThat(expected.sameAs(actual)).isTrue() in testStartState()
112 assertThat(expected.sameAs(actual)).isTrue() in testEndState()
131 assertThat(actual.sameAs(makeLayout(TEXT, START_PAINT) in testMiddleState()
133 assertThat(actual.sameAs(makeLayout(TEXT, END_PAINT) in testMiddleState()
156 assertThat(expected.sameAs(actual)).isTrue() in testRebase()
176 assertThat(expected.sameAs(actual)).isTrue() in testBidi_LTR()
196 assertThat(expected.sameAs(actual)).isTrue() in testBidi_RTL()
218 assertThat(expected.sameAs(actual)).isTrue() in testGlyphCallback_Empty()
243 assertThat(expected.sameAs(actual)).isFalse() in testGlyphCallback_Xcoordinate()
268 assertThat(expected.sameAs(actual)).isFalse() in testGlyphCallback_Ycoordinate()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMessagingImageTransformState.java43 protected boolean sameAs(TransformState otherState) { in sameAs() method in MessagingImageTransformState
44 if (super.sameAs(otherState)) { in sameAs()
49 return mImageMessage.sameAs(otherMessage.mImageMessage); in sameAs()
75 if (otherState instanceof MessagingImageTransformState && sameAs(otherState)) { in transformViewFrom()
DProgressTransformState.java30 protected boolean sameAs(TransformState otherState) { in sameAs() method in ProgressTransformState
34 return super.sameAs(otherState); in sameAs()
DImageTransformState.java51 protected boolean sameAs(TransformState otherState) { in sameAs() method in ImageTransformState
52 if (super.sameAs(otherState)) { in sameAs()
56 return mIcon != null && mIcon.sameAs(((ImageTransformState) otherState).getIcon()); in sameAs()
DTextViewTransformState.java42 protected boolean sameAs(TransformState otherState) { in sameAs() method in TextViewTransformState
43 if (super.sameAs(otherState)) { in sameAs()
DActionListTransformState.java30 protected boolean sameAs(TransformState otherState) { in sameAs() method in ActionListTransformState
DTransformState.java98 if (sameAs(otherState)) { in transformViewFrom()
272 return sameAs(otherState); in transformScale()
289 if (sameAs(otherState)) { in transformViewTo()
448 protected boolean sameAs(TransformState otherState) { in sameAs() method in TransformState
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessage.java69 default boolean sameAs(Notification.MessagingStyle.Message message) { in sameAs() method
96 default boolean sameAs(MessagingMessage message) { in sameAs() method
97 return sameAs(message.getMessage()); in sameAs()
DMessagingLayout.java513 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
520 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
DConversationLayout.java976 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
983 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java305 assertTrue(bm2.sameAs(bm1)); in testCopyWithDirectByteBuffer()
344 assertTrue(bm2.sameAs(bm1)); in testCopyWithDirectShortBuffer()
383 assertTrue(bm2.sameAs(bm1)); in testCopyWithDirectIntBuffer()
420 assertTrue(bm2.sameAs(bm1)); in testCopyWithHeapByteBuffer()
457 assertTrue(bm2.sameAs(bm1)); in testCopyWithHeapShortBuffer()
494 assertTrue(bm2.sameAs(bm1)); in testCopyWithHeapIntBuffer()
DPaintNativeInstanceTest.kt114 assertFalse(changed.sameAs(original)) in <lambda>()
142 assertTrue(expectedBitmap.sameAs(result.get())) in <lambda>()
DPathOffsetTest.java78 assertTrue(actualBitmap.sameAs(expectedBitmap)); in assertPaths()
/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/
DScreenshotRequestTest.java92 assertTrue("Bitmaps should be equal", out.getBitmap().sameAs(bitmap)); in testProvidedScreenshot()
129 assertTrue("Bitmaps should be equal", out.getBitmap().sameAs(bitmap)); in testFullScreenshot_withBitmap()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DImageCompare.java54 if (bitmap1.sameAs(bitmap2)) { in psnr()
/frameworks/base/core/java/android/transition/
DCrossfade.java183 Log.d(LOG_TAG, "StartBitmap.sameAs(endBitmap) = " + startBitmap.sameAs(endBitmap) + in createAnimator()
186 if (startDrawable != null && endDrawable != null && !startBitmap.sameAs(endBitmap)) { in createAnimator()
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/
DStatusBarIconTest.java53 assertThat(copy.icon.sameAs(original.icon)).isTrue(); in testParcelable()
/frameworks/base/core/tests/coretests/src/android/view/
DViewCaptureTest.java99 assertTrue(golden.sameAs(result)); in testCreateSnapshot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustment.kt71 else -> !first.sameAs(second) in areDifferent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java123 return !first.sameAs(second); in areDifferent()
DNotificationGroupingUtil.java361 return parentIcon.sameAs(childIcon); in hasSameIcon()
/frameworks/base/core/java/android/app/
DPerson.java146 (other.mIcon != null && mIcon.sameAs(other.mIcon))) in equals()
DNotificationHistory.java125 && getIcon().sameAs(that.getIcon())); in equals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java139 assertTrue("original and decoded image should be identical", original.sameAs(decoded)); in testImageExport()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java108 assertThat(expectedIcon.sameAs(n.getIcon())).isTrue(); in testHistoricalNotificationBuilder()

12