Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DShapeDrawableTest.java161 Rect padding = new Rect(); in testAccessPadding() local
162 assertFalse(shapeDrawable.getPadding(padding)); in testAccessPadding()
163 assertEquals(0, padding.left); in testAccessPadding()
164 assertEquals(0, padding.top); in testAccessPadding()
165 assertEquals(0, padding.right); in testAccessPadding()
166 assertEquals(0, padding.bottom); in testAccessPadding()
169 assertTrue(shapeDrawable.getPadding(padding)); in testAccessPadding()
170 assertEquals(10, padding.left); in testAccessPadding()
171 assertEquals(10, padding.top); in testAccessPadding()
172 assertEquals(100, padding.right); in testAccessPadding()
[all …]
DThemedDrawableTest.java119 Rect padding = new Rect(); in testGradientDrawable() local
120 assertTrue(d.getPadding(padding)); in testGradientDrawable()
121 assertEquals(1, padding.left); in testGradientDrawable()
122 assertEquals(1, padding.top); in testGradientDrawable()
123 assertEquals(1, padding.bottom); in testGradientDrawable()
124 assertEquals(1, padding.right); in testGradientDrawable()
DPaintDrawableTest.java132 Rect padding = new Rect(0, 0, 10, 10); in testInflateTag() local
135 paintDrawable.setPadding(padding); in testInflateTag()
136 assertTrue(paintDrawable.getPadding(padding)); in testInflateTag()
141 assertFalse(paintDrawable.getPadding(padding)); in testInflateTag()
DClipDrawableTest.java190 Rect padding = new Rect(10, 10, 100, 100); in testGetPadding() local
191 assertFalse(clipDrawable.getPadding(padding)); in testGetPadding()
192 assertEquals(0, padding.left); in testGetPadding()
193 assertEquals(0, padding.top); in testGetPadding()
194 assertEquals(0, padding.bottom); in testGetPadding()
195 assertEquals(0, padding.right); in testGetPadding()
DLayerDrawableTest.java474 Rect padding = new Rect(); in testAccessPaddingMode() local
483 assertTrue(layerDrawable.getPadding(padding)); in testAccessPaddingMode()
484 assertEquals(new Rect(10, 10, 10, 10), padding); in testAccessPaddingMode()
490 assertTrue(layerDrawable.getPadding(padding)); in testAccessPaddingMode()
491 assertEquals(new Rect(9, 8, 7, 6), padding); in testAccessPaddingMode()
1577 Rect padding = new Rect(); in increasePadding() local
1578 getPadding(padding); in increasePadding()
1579 padding.left++; in increasePadding()
1580 padding.top++; in increasePadding()
1581 padding.right++; in increasePadding()
[all …]
DGradientDrawableTest.java467 Rect padding = new Rect(); in testGradientPadding() local
468 drawable.getPadding(padding); in testGradientPadding()
470 assertEquals(1, padding.left); in testGradientPadding()
471 assertEquals(2, padding.top); in testGradientPadding()
472 assertEquals(3, padding.right); in testGradientPadding()
473 assertEquals(4, padding.bottom); in testGradientPadding()
/cts/apps/CtsVerifier/assets/report/
Dcompatibility_result.css21 padding: 10;
29 padding: 5px;
44 padding: .5em;
50 padding: .5em;
64 padding: .5em;
69 padding: .5em;
89 padding: .2em;
94 padding: .2em;
132 padding: 1;
141 padding: 1;
/cts/tests/tests/text/src/android/text/style/cts/
DDynamicDrawableSpanTest.java102 final int padding = 10; in testCenterAligned() local
103 final int bottom = DRAWABLE_SIZE + padding; in testCenterAligned()
112 for (int i = 0; i < padding / 2; i++) { in testCenterAligned()
117 assertThat(bitmap.getColor(0, i + padding / 2).toArgb()).isNotEqualTo(Color.RED); in testCenterAligned()
120 for (int i = 0; i < padding / 2; i++) { in testCenterAligned()
121 assertThat(bitmap.getColor(0, i + DRAWABLE_SIZE + padding / 2).toArgb()) in testCenterAligned()
/cts/tests/tests/view/src/android/view/cts/
DViewAttributeTest.java94 int[] stackRootView = rootView.getAttributeResolutionStack(android.R.attr.padding); in testGetAttributeResolutionStack()
99 int[] stackView1 = view1.getAttributeResolutionStack(android.R.attr.padding); in testGetAttributeResolutionStack()
119 (attributeMapView1.get(android.R.attr.padding)).intValue()); in testGetAttributeSourceResourceMap()
DViewGroupTest.java871 int padding = 1; in testGetChildMeasureSpec() local
874 ViewGroup.getChildMeasureSpec(spec, padding, childDimension)); in testGetChildMeasureSpec()
876 padding = 6; in testGetChildMeasureSpec()
879 ViewGroup.getChildMeasureSpec(spec, padding, childDimension)); in testGetChildMeasureSpec()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java348 int padding = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 8, in enterImageViewScene() local
350 mImageView.setPadding(padding, padding, padding, padding); in enterImageViewScene()
/cts/tests/tests/widget/src/android/widget/cts/
DWidgetAttributeTest.kt73 toolbar1.getAttributeResolutionStack(android.R.attr.padding) in testGetAttributeResolutionStack()
89 toolbar2.getAttributeResolutionStack(android.R.attr.padding) in testGetAttributeResolutionStack()
143 attributeMapProgressBar[android.R.attr.padding]!!.toInt()) in testGetAttributeSourceResourceMap()
DTextViewTest.java3947 int padding = 3; in testCompound() local
3955 mTextView.setCompoundDrawablePadding(padding); in testCompound()
3956 assertEquals(padding, mTextView.getCompoundDrawablePadding()); in testCompound()
3993 assertEquals(mTextView.getPaddingLeft() + padding + left.getIntrinsicWidth(), in testCompound()
3995 assertEquals(mTextView.getPaddingTop() + padding + top.getIntrinsicHeight(), in testCompound()
3997 assertEquals(mTextView.getPaddingRight() + padding + right.getIntrinsicWidth(), in testCompound()
4019 assertEquals(mTextView.getPaddingLeft() + padding + left.getBounds().width(), in testCompound()
4021 assertEquals(mTextView.getPaddingTop() + padding + top.getBounds().height(), in testCompound()
4023 assertEquals(mTextView.getPaddingRight() + padding + right.getBounds().width(), in testCompound()
4733 final int padding = 100; in testSetFirstBaselineToTopHeight() local
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8430/
Dpoc.c45 __u32 padding; member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/
Dpoc.c56 __u32 padding; member
/cts/tests/tests/keystore/src/android/keystore/cts/
DImportWrappedKeyTest.java389 DERTaggedObject padding = new DERTaggedObject(true, 6, paddingSet); in makeAuthList() local
399 allItems.add(padding); in makeAuthList()
DTestUtils.java874 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith() local
877 .setSignaturePaddings(padding) in getMinimalWorkingImportParametersForSigningingWith()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp167 if (clientMsg.header.padding != 0) { in checkMessage()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java715 final int padding = mTextView.getTotalPaddingTop() + mTextView.getTotalPaddingBottom(); in verifyVisibleLineInTextView() local
717 assertTrue(layout.getLineForVertical(scrollY + mTextView.getHeight() - padding) >= line); in verifyVisibleLineInTextView()