Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DShapeDrawableTest.java136 Rect padding = new Rect(); in testAccessPadding() local
137 assertFalse(shapeDrawable.getPadding(padding)); in testAccessPadding()
138 assertEquals(0, padding.left); in testAccessPadding()
139 assertEquals(0, padding.top); in testAccessPadding()
140 assertEquals(0, padding.right); in testAccessPadding()
141 assertEquals(0, padding.bottom); in testAccessPadding()
144 assertTrue(shapeDrawable.getPadding(padding)); in testAccessPadding()
145 assertEquals(10, padding.left); in testAccessPadding()
146 assertEquals(10, padding.top); in testAccessPadding()
147 assertEquals(100, padding.right); in testAccessPadding()
[all …]
DThemedDrawableTest.java103 Rect padding = new Rect(); in testGradientDrawable() local
104 assertTrue(d.getPadding(padding)); in testGradientDrawable()
105 assertEquals(1, padding.left); in testGradientDrawable()
106 assertEquals(1, padding.top); in testGradientDrawable()
107 assertEquals(1, padding.bottom); in testGradientDrawable()
108 assertEquals(1, padding.right); in testGradientDrawable()
DPaintDrawableTest.java109 Rect padding = new Rect(0, 0, 10, 10); in testInflateTag() local
112 paintDrawable.setPadding(padding); in testInflateTag()
113 assertTrue(paintDrawable.getPadding(padding)); in testInflateTag()
118 assertFalse(paintDrawable.getPadding(padding)); in testInflateTag()
DDrawableContainerStateTest.java333 public boolean getPadding(Rect padding) { in getPadding() argument
334 if (padding == null) { in getPadding()
340 padding.left = mPadding.left; in getPadding()
341 padding.top = mPadding.top; in getPadding()
342 padding.right = mPadding.right; in getPadding()
343 padding.bottom = mPadding.bottom; in getPadding()
DClipDrawableTest.java159 Rect padding = new Rect(10, 10, 100, 100); in testGetPadding() local
160 assertFalse(clipDrawable.getPadding(padding)); in testGetPadding()
161 assertEquals(0, padding.left); in testGetPadding()
162 assertEquals(0, padding.top); in testGetPadding()
163 assertEquals(0, padding.bottom); in testGetPadding()
164 assertEquals(0, padding.right); in testGetPadding()
DLayerDrawableTest.java475 Rect padding = new Rect(); in testAccessPaddingMode() local
484 assertTrue(layerDrawable.getPadding(padding)); in testAccessPaddingMode()
485 assertEquals(new Rect(10, 10, 10, 10), padding); in testAccessPaddingMode()
491 assertTrue(layerDrawable.getPadding(padding)); in testAccessPaddingMode()
492 assertEquals(new Rect(9, 8, 7, 6), padding); in testAccessPaddingMode()
1591 Rect padding = new Rect(); in increasePadding() local
1592 getPadding(padding); in increasePadding()
1593 padding.left++; in increasePadding()
1594 padding.top++; in increasePadding()
1595 padding.right++; in increasePadding()
[all …]
DDrawableWrapperTest.java413 public boolean getPadding(Rect padding) { in getPadding() argument
415 return super.getPadding(padding); in getPadding()
DDrawableContainerTest.java922 public boolean getPadding(Rect padding) { in getPadding() argument
923 if (padding == null || mPadding == null) { in getPadding()
926 padding.set(mPadding); in getPadding()
DScaleDrawableTest.java526 public boolean getPadding(Rect padding) { in getPadding() argument
528 return super.getPadding(padding); in getPadding()
/cts/tools/tradefed-host/res/report/
Dcts_result.css21 padding:10;
27 padding:5px;
45 padding: 0.5em;
53 padding: 0.5em;
67 padding: 0.5em;
72 padding: 0.5em;
94 padding: 0.2em;
103 padding: 0.2em;
142 padding:1;
152 padding:1;
[all …]
/cts/common/host-side/tradefed/res/report/
Dcompatibility_result.css21 padding:10;
27 padding:5px;
45 padding: 0.5em;
53 padding: 0.5em;
67 padding: 0.5em;
72 padding: 0.5em;
94 padding: 0.2em;
103 padding: 0.2em;
142 padding:1;
152 padding:1;
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java817 int padding = mTextView.getTotalPaddingTop() + mTextView.getTotalPaddingBottom();
819 assertTrue(layout.getLineForVertical(scrollY + mTextView.getHeight() - padding) >= line);
/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java850 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith() local
853 .setSignaturePaddings(padding) in getMinimalWorkingImportParametersForSigningingWith()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java754 int padding = 1; in testGetChildMeasureSpec() local
757 ViewGroup.getChildMeasureSpec(spec, padding, childDimension)); in testGetChildMeasureSpec()
759 padding = 6; in testGetChildMeasureSpec()
762 ViewGroup.getChildMeasureSpec(spec, padding, childDimension)); in testGetChildMeasureSpec()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3017 int padding = 3; in testCompound() local
3025 mTextView.setCompoundDrawablePadding(padding); in testCompound()
3026 assertEquals(padding, mTextView.getCompoundDrawablePadding()); in testCompound()
3063 assertEquals(mTextView.getPaddingLeft() + padding + left.getIntrinsicWidth(), in testCompound()
3065 assertEquals(mTextView.getPaddingTop() + padding + top.getIntrinsicHeight(), in testCompound()
3067 assertEquals(mTextView.getPaddingRight() + padding + right.getIntrinsicWidth(), in testCompound()
3089 assertEquals(mTextView.getPaddingLeft() + padding + left.getBounds().width(), in testCompound()
3091 assertEquals(mTextView.getPaddingTop() + padding + top.getBounds().height(), in testCompound()
3093 assertEquals(mTextView.getPaddingRight() + padding + right.getBounds().width(), in testCompound()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex44653 private java.lang.String padding(
98336 private org.bouncycastle.crypto.paddings.BlockCipherPadding padding
98393 private org.bouncycastle.crypto.paddings.BlockCipherPadding padding
98515 private org.bouncycastle.crypto.paddings.BlockCipherPadding padding
99096 org.bouncycastle.crypto.paddings.BlockCipherPadding padding
106470 protected byte padding
Dclasses.out.dex870 public static final int padding
110118 public static final int padding
112542 public static final int padding