Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTextInterpolatorTest.kt101 assertThat(expected.sameAs(actual)).isTrue() in testStartState()
119 assertThat(expected.sameAs(actual)).isTrue() in testEndState()
138 assertThat(actual.sameAs(makeLayout(TEXT, START_PAINT) in testMiddleState()
140 assertThat(actual.sameAs(makeLayout(TEXT, END_PAINT) in testMiddleState()
163 assertThat(expected.sameAs(actual)).isTrue() in testRebase()
183 assertThat(expected.sameAs(actual)).isTrue() in testBidi_LTR()
203 assertThat(expected.sameAs(actual)).isTrue() in testBidi_RTL()
225 assertThat(expected.sameAs(actual)).isTrue() in testGlyphCallback_Empty()
250 assertThat(expected.sameAs(actual)).isFalse() in testGlyphCallback_Xcoordinate()
275 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()
57 return mIcon == otherIcon || (mIcon != null && otherIcon != null && mIcon.sameAs( 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.java72 default boolean sameAs(Notification.MessagingStyle.Message message) { in sameAs() method
103 default boolean sameAs(MessagingMessage message) { in sameAs() method
104 return sameAs(message.getMessage()); in sameAs()
DMessagingLayout.java564 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
571 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>()
/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/base/core/java/android/view/inputmethod/
DViewFocusParameterInfo.java51 boolean sameAs(@Nullable EditorInfo currentEditorInfo, in sameAs() method in ViewFocusParameterInfo
/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.java187 Log.d(LOG_TAG, "StartBitmap.sameAs(endBitmap) = " + startBitmap.sameAs(endBitmap) + in createAnimator()
190 if (startDrawable != null && endDrawable != null && !startBitmap.sameAs(endBitmap)) { in createAnimator()
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/
DStatusBarIconTest.java54 assertThat(copy.icon.sameAs(original.icon)).isTrue(); in testParcelable()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java122 when(mSmallIcon.sameAs(mSmallIcon)).thenReturn(true); in setUp()
929 when(icon.sameAs(icon)).thenReturn(true); in testAddSummary_sameIcon_sameColor_alwaysAutogroup()
963 when(icon.sameAs(icon)).thenReturn(true); in testAddSummary_sameIcon_sameColor()
997 when(initialIcon.sameAs(initialIcon)).thenReturn(true); in testAddSummary_diffIcon_diffColor_disableFlag()
1002 when(monochromeIcon.sameAs(monochromeIcon)).thenReturn(true); in testAddSummary_diffIcon_diffColor_disableFlag()
1042 when(initialIcon.sameAs(initialIcon)).thenReturn(true); in testAddSummary_diffIcon_diffColor()
1047 when(monochromeIcon.sameAs(monochromeIcon)).thenReturn(true); in testAddSummary_diffIcon_diffColor()
1087 when(icon.sameAs(icon)).thenReturn(true); in testAddSummary_diffVisibility_alwaysAutogroup()
1124 when(icon.sameAs(icon)).thenReturn(true); in testAddSummary_diffVisibility()
1165 when(initialIcon.sameAs(initialIcon)).thenReturn(true); in testAutoGrouped_diffIcon_diffColor_removeChild_updateTo_sameIcon_sameColor()
[all …]
/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/icon/ui/viewmodel/
DNotificationIconsViewData.kt134 return sourceIcon.sameAs(other.sourceIcon) in equals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustment.kt79 else -> !first.sameAs(second) in areDifferent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java123 return !first.sameAs(second); in areDifferent()
/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java317 if (!newIcon.sameAs(state.icon)) { in getAutobundledSummaryAttributes()
419 return flags == that.flags && iconColor == that.iconColor && icon.sameAs(that.icon) in equals()
/frameworks/base/core/java/android/app/
DPerson.java147 (other.mIcon != null && mIcon.sameAs(other.mIcon))) in equals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/model/
DBiometricPromptRequestTest.kt63 assertThat(request.logoBitmap!!.sameAs(logoBitmapFromRes)).isTrue() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java153 assertTrue("original and decoded image should be identical", original.sameAs(decoded)); in testImageExport()

12