Home
last modified time | relevance | path

Searched refs:getPadding (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DShapeDrawableTest.java162 assertFalse(shapeDrawable.getPadding(padding)); in testAccessPadding()
169 assertTrue(shapeDrawable.getPadding(padding)); in testAccessPadding()
176 assertFalse(shapeDrawable.getPadding(padding)); in testAccessPadding()
183 assertTrue(shapeDrawable.getPadding(padding)); in testAccessPadding()
190 assertFalse(shapeDrawable.getPadding(padding)); in testAccessPadding()
200 shapeDrawable.getPadding(null); in testGetPaddingNull()
270 assertTrue(shapeDrawable.getPadding(padding)); in testInflate()
DGradientDrawableTest.java425 assertFalse(gradientDrawable.getPadding(rect)); in testInflate()
444 assertTrue(gradientDrawable.getPadding(rect)); in testInflate()
451 gradientDrawable.getPadding(null); in testInflate()
471 drawable.getPadding(padding); in testGradientPadding()
886 preloadedDrawable.getPadding(origPadding); in verifyPreloadDensityInner()
897 assertTrue(halfDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
906 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
915 assertTrue(origDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
933 assertTrue(halfDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
938 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
DNinePatchDrawableTest.java177 assertTrue(npd.getPadding(r)); in testGetPadding()
185 assertTrue(npd.getPadding(r)); in testGetPadding()
468 preloadedDrawable.getPadding(origPadding); in verifySetTargetDensityInner()
483 assertTrue(scaledDrawable.getPadding(tempPadding)); in verifySetTargetDensityInner()
498 assertTrue(scaledDrawable.getPadding(tempPadding)); in verifySetTargetDensityInner()
553 preloadedDrawable.getPadding(origPadding); in verifyPreloadDensityInner()
570 assertTrue(scaledDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
587 assertTrue(scaledDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
DInsetDrawableTest.java158 assertTrue(insetDrawable.getPadding(r)); in testGetPadding_dimension()
174 assertFalse(insetDrawable.getPadding(r)); in testGetPadding_dimension()
192 assertTrue(insetDrawable.getPadding(r)); in testGetPadding_fraction()
208 assertFalse(insetDrawable.getPadding(r)); in testGetPadding_fraction()
219 insetDrawable.getPadding(null); in testGetPaddingNull()
DLayerDrawableTest.java449 layerDrawable.getPadding(rc); in testAccessPadding()
457 layerDrawable.getPadding(rc); in testAccessPadding()
465 layerDrawable.getPadding(rc); in testAccessPadding()
483 assertTrue(layerDrawable.getPadding(padding)); in testAccessPaddingMode()
490 assertTrue(layerDrawable.getPadding(padding)); in testAccessPaddingMode()
753 }).when(mockDrawable1).getPadding(any()); in testSetBounds()
758 }).when(mockDrawable2).getPadding(any()); in testSetBounds()
759 layerDrawable.getPadding(new Rect()); in testSetBounds()
811 }).when(largeMockDrawable).getPadding(any()); in testGetIntrinsicWidth()
816 }).when(smallMockDrawable).getPadding(any()); in testGetIntrinsicWidth()
[all …]
DPaintDrawableTest.java136 assertTrue(paintDrawable.getPadding(padding)); in testInflateTag()
141 assertFalse(paintDrawable.getPadding(padding)); in testInflateTag()
DDrawableContainerTest.java174 mDrawableContainer.getPadding(result); in testGetPaddingNoConstantState()
187 }).when(dr0).getPadding(any()); in testGetPadding()
194 }).when(dr1).getPadding(any()); in testGetPadding()
202 assertTrue(mDrawableContainer.getPadding(result)); in testGetPadding()
208 assertTrue(mDrawableContainer.getPadding(result)); in testGetPadding()
216 assertFalse(mDrawableContainer.getPadding(result)); in testGetPadding()
220 mDrawableContainer.getPadding(null); in testGetPadding()
DDrawableWrapperTest.java205 wrapper.getPadding(new Rect()); in testGetPadding()
206 verify(mockDrawable, times(1)).getPadding(any()); in testGetPadding()
224 wrapper.getPadding(null); in testGetPaddingNull()
DThemedDrawableTest.java120 assertTrue(d.getPadding(padding)); in testGradientDrawable()
DScaleDrawableTest.java194 scaleDrawable.getPadding(new Rect()); in testGetPadding()
195 verify(mockDrawable, times(1)).getPadding(any()); in testGetPadding()
203 scaleDrawable.getPadding(null); in testGetPaddingNull()
DClipDrawableTest.java191 assertFalse(clipDrawable.getPadding(padding)); in testGetPadding()
198 clipDrawable.getPadding(null); in testGetPadding()
DRotateDrawableTest.java235 assertFalse(mRotateDrawable.getPadding(rect)); in testGetPadding()
DDrawableTest.java571 assertFalse(mockDrawable.getPadding(r)); in testGetPadding()
578 mockDrawable.getPadding(null); in testGetPadding()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java94 assertFalse(preloadedDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
112 assertFalse(scaledDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
125 assertFalse(scaledDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
/cts/tests/tests/text/src/android/text/style/cts/
DIconMarginSpanTest.java58 assertEquals(32, span.getPadding()); in testConstructAndGet()
DDrawableMarginSpanTest.java67 assertEquals(32, span.getPadding()); in testConstructAndGet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java365 drawable.getPadding(mForegroundPadding); in setForeground()
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java515 mPopupWindow.getBackground().getPadding(rect); in verifyDismissalViaTouch()
1084 background.getPadding(rect); in getContentWidth()
/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java1473 private String getPadding() { in getPadding() method in BlockCipherTestBase
1501 .setEncryptionPaddings(getPadding()) in importKey()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3904 background.getPadding(backgroundPadding); in testPadding()
3923 background.getPadding(backgroundPadding); in testPadding()
3942 background.getPadding(backgroundPadding); in testPadding()
3961 background.getPadding(backgroundPadding); in testPadding()
3980 background.getPadding(backgroundPadding); in testPadding()
3999 background.getPadding(backgroundPadding); in testPadding()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt17500 method public boolean getPadding(@NonNull android.graphics.Rect);
48715 method @Px public int getPadding();
48760 method @Px public int getPadding();