Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 23 of 23) 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.java470 Rect padding = new Rect(); in testGradientPadding() local
471 drawable.getPadding(padding); in testGradientPadding()
473 assertEquals(1, padding.left); in testGradientPadding()
474 assertEquals(2, padding.top); in testGradientPadding()
475 assertEquals(3, padding.right); in testGradientPadding()
476 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
104 final int bottom = top + DRAWABLE_SIZE + padding; in testCenterAligned()
113 for (int i = 0; i < top + padding / 2; i++) { in testCenterAligned()
118 assertThat(bitmap.getColor(0, top + i + padding / 2).toArgb()).isNotEqualTo(Color.RED); in testCenterAligned()
121 for (int i = 0; i < padding / 2; i++) { in testCenterAligned()
122 assertThat(bitmap.getColor(0, top + i + DRAWABLE_SIZE + padding / 2).toArgb()) in testCenterAligned()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DBufferDebug.java96 int padding = 0; in writeRow() local
98 padding = WIDTH - (end % WIDTH); in writeRow()
109 for (int i = 0; i < padding; i++) { in writeRow()
112 if (padding >= HALF_WIDTH) { in writeRow()
/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.java875 int padding = 1; in testGetChildMeasureSpec() local
878 ViewGroup.getChildMeasureSpec(spec, padding, childDimension)); in testGetChildMeasureSpec()
880 padding = 6; in testGetChildMeasureSpec()
883 ViewGroup.getChildMeasureSpec(spec, padding, childDimension)); in testGetChildMeasureSpec()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackOffloadTest.java257 int padding = track.getOffloadPadding(); in testOffloadPadding() local
258 assertEquals(0, padding); in testOffloadPadding()
265 padding = track.getOffloadPadding(); in testOffloadPadding()
266 assertEquals(TEST_PADDING, padding); in testOffloadPadding()
/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.kt74 toolbar1.getAttributeResolutionStack(android.R.attr.padding) in testGetAttributeResolutionStack()
90 toolbar2.getAttributeResolutionStack(android.R.attr.padding) in testGetAttributeResolutionStack()
142 attributeMapProgressBar[android.R.attr.padding]!!.toInt()) in testGetAttributeSourceResourceMap()
DTextViewTest.java4087 int padding = 3; in testCompound() local
4095 mTextView.setCompoundDrawablePadding(padding); in testCompound()
4096 assertEquals(padding, mTextView.getCompoundDrawablePadding()); in testCompound()
4133 assertEquals(mTextView.getPaddingLeft() + padding + left.getIntrinsicWidth(), in testCompound()
4135 assertEquals(mTextView.getPaddingTop() + padding + top.getIntrinsicHeight(), in testCompound()
4137 assertEquals(mTextView.getPaddingRight() + padding + right.getIntrinsicWidth(), in testCompound()
4159 assertEquals(mTextView.getPaddingLeft() + padding + left.getBounds().width(), in testCompound()
4161 assertEquals(mTextView.getPaddingTop() + padding + top.getBounds().height(), in testCompound()
4163 assertEquals(mTextView.getPaddingRight() + padding + right.getBounds().width(), in testCompound()
4876 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/hostsidetests/securitybulletin/securityPatch/CVE-2020-0069/
Dpoc.c71 uint8_t padding[0x2f0 - 0x58]; member
/cts/tests/tests/keystore/src/android/keystore/cts/
DImportWrappedKeyTest.java391 DERTaggedObject padding = new DERTaggedObject(true, 6, paddingSet); in makeAuthList() local
401 allItems.add(padding); in makeAuthList()
DTestUtils.java981 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith() local
984 .setSignaturePaddings(padding) in getMinimalWorkingImportParametersForSigningingWith()
1002 String padding = getSignatureAlgorithmPadding(signatureAlgorithm); in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith() local
1005 .setSignaturePaddings(padding) in getMinimalWorkingImportParametersWithLimitedUsageForSigningingWith()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dstruct_field.rscript40 long l; // to induce padding
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java725 final int padding = mTextView.getTotalPaddingTop() + mTextView.getTotalPaddingBottom(); in verifyVisibleLineInTextView() local
727 assertTrue(layout.getLineForVertical(scrollY + mTextView.getHeight() - padding) >= line); in verifyVisibleLineInTextView()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...