Home
last modified time | relevance | path

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

/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/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()
830 preloadedDrawable.getPadding(origPadding); in verifyPreloadDensityInner()
841 assertTrue(halfDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
850 assertTrue(doubleDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
859 assertTrue(origDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
877 assertTrue(halfDrawable.getPadding(tempPadding)); in verifyPreloadDensityInner()
882 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.java570 assertFalse(mockDrawable.getPadding(r)); in testGetPadding()
577 mockDrawable.getPadding(null); in testGetPadding()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java365 drawable.getPadding(mForegroundPadding); in setForeground()
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java499 mPopupWindow.getBackground().getPadding(rect); in verifyDismissalViaTouch()
1040 background.getPadding(rect); in getContentWidth()
/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java1295 private String getPadding() { in getPadding() method in BlockCipherTestBase
1323 .setEncryptionPaddings(getPadding()) in importKey()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java3774 background.getPadding(backgroundPadding); in testPadding()
3793 background.getPadding(backgroundPadding); in testPadding()
3812 background.getPadding(backgroundPadding); in testPadding()
3831 background.getPadding(backgroundPadding); in testPadding()
3850 background.getPadding(backgroundPadding); in testPadding()
3869 background.getPadding(backgroundPadding); in testPadding()