Home
last modified time | relevance | path

Searched refs:getOpticalInsets (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableWrapperTest.java395 assertEquals(Insets.NONE, wrapper.getOpticalInsets()); in testGetOpticalInsetsNoInternalDrawable()
404 assertEquals(Insets.of(30, 60, 90, 120), wrapper.getOpticalInsets()); in testGetOpticalInsetsFromInternalDrawable()
470 public Insets getOpticalInsets() { in getOpticalInsets() method in DrawableWrapperTest.MockDrawable
DDrawableContainerTest.java843 assertEquals(Insets.NONE, container.getOpticalInsets()); in testGetOpticalBoundsWithNoInternalDrawable()
853 assertEquals(Insets.of(20, 40, 60, 100), mDrawableContainer.getOpticalInsets()); in testGetOpticalBoundsFromInternalDrawable()
919 public Insets getOpticalInsets() { in getOpticalInsets() method in DrawableContainerTest.MockDrawable
DAnimatedVectorDrawableTest.java120 assertEquals(Insets.of(10, 20, 30, 40), drawable.getOpticalInsets()); in testGetOpticalInsets()
DVectorDrawableTest.java434 assertEquals(Insets.of(1, 2, 3, 4), drawable.getOpticalInsets()); in testOpticalInsets()
DInsetDrawableTest.java464 assertEquals(Insets.of(1, 2, 3, 4), drawable.getOpticalInsets()); in testOpticalInsets()
DBitmapDrawableTest.java151 Insets opticalInsets = bitmapDrawable.getOpticalInsets(); in testBitmapDrawableOpticalInset()
DGradientDrawableTest.java692 assertEquals(Insets.of(1, 2, 3, 4), drawable.getOpticalInsets()); in testOpticalInsets()
DDrawableTest.java799 assertEquals(Insets.NONE, mockDrawable.getOpticalInsets()); in testDefaultOpticalInsetsIsNone()