Home
last modified time | relevance | path

Searched refs:setPadding (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/view/src/android/view/cts/
DViewOutlineProviderTest.java118 view.setPadding(0, 0, 0, 0); in testPaddedBounds()
124 view.setPadding(5, 5, 5, 5); in testPaddedBounds()
DView_LayoutPositionTest.java120 view.setPadding(-10, 0, 5, 1000); in testPadding()
DViewGroup_ScrollCaptureTest.java338 parent.setPadding(25, 50, 25, 50); in testOnScrollCaptureSearch_withPadding()
349 view3.setPadding(25, 25, 25, 25); in testOnScrollCaptureSearch_withPadding()
/cts/tests/tests/widget/src/android/widget/cts/
DCheckedTextViewTest.java174 mListView.setPadding(1, 2, 3, 4); in testSetPadding()
184 mListView.setPadding(10, 20, 30, 40); in testSetPadding()
223 mCheckedTextView.setPadding(0, 0, basePaddingRight, 0);
248 mCheckedTextView.setPadding(0, 0, basePaddingRight, 0);
274 mCheckedTextView.setPadding(0, 0, basePaddingRight, 0);
DScrollViewTest.java347 child.setPadding(0, 0, 0, 0); in testMeasureChild()
369 child.setPadding(0, 0, 0, 0); in testMeasureChildWithMargins()
404 mScrollViewCustomEmpty.setPadding(3, 5, 7, 11); in testMeasureSpecsWithPadding()
433 mScrollViewCustomEmpty.setPadding(3, 5, 7, 11); in testMeasureSpecsWithMarginsAndPadding()
482 mScrollViewRegular.setPadding(3, 10, 5, 7); in testFillViewportWithScrollViewPadding()
529 mScrollViewRegular.setPadding(3, 10, 5, 7); in testFillViewportWithScrollViewPaddingAlreadyFills()
DHorizontalScrollViewTest.java336 child.setPadding(0, 0, 0, 0); in testMeasureChild()
358 child.setPadding(0, 0, 0, 0); in testMeasureChildWithMargins()
393 mScrollViewCustomEmpty.setPadding(3, 5, 7, 11); in testMeasureSpecsWithPadding()
422 mScrollViewCustomEmpty.setPadding(3, 5, 7, 11); in testMeasureSpecsWithMarginsAndPadding()
472 mScrollViewRegular.setPadding(3, 10, 5, 7); in testFillViewportWithScrollViewPadding()
518 mScrollViewRegular.setPadding(3, 10, 5, 7); in testFillViewportWithScrollViewPaddingAlreadyFills()
DTextViewFadingEdgeTest.java163 textView.setPadding(ANY_PADDING, ANY_PADDING, ANY_PADDING, ANY_PADDING); in createTextView()
DTextViewTest.java1120 mTextView.setPadding(0, 0, 0, 0); in testSetMaxLines_toZero_shouldNotDisplayAnyLines()
1305 mTextView.setPadding(1, 2, 3, 4); in testSetElegantLineHeight()
1785 mTextView.setPadding(0, 0, 0, 0); in testSetTextUpdatesHeightAfterRemovingImageSpan()
2982 mTextView.setPadding(1, 2, 3, 4); in testGetLineBounds()
3003 mTextView.setPadding(1, 2, 3, 4); in testGetBaseLine()
3075 mTextView.setPadding(1, 2, 3, 4); in testSetIncludeFontPadding()
4841 mTextView.setPadding(0, 1, 2, 4); in testSetPadding()
4847 mTextView.setPadding(10, 20, 30, 40); in testSetPadding()
4877 mTextView.setPadding(padding, padding, padding, padding); in testSetFirstBaselineToTopHeight()
4892 mTextView.setPadding(padding, padding, padding, padding); in testSetFirstBaselineToTopHeight()
[all …]
DAbsListViewTest.java161 content.setPadding(0, 0, 0, systemGestureInsets.bottom); in setup()
397 () -> mListView.setPadding(r.left, r.top, r.right, r.bottom)); in testAccessListPadding()
DListViewTest.java851 mListView.setPadding(10, 0, 5, 0); in testSetPadding()
857 mListView.setPadding(10, 0, 5, 0); in testSetPadding()
DGridViewTest.java808 imageView.setPadding(0, 0, 0, 0); in getView()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DShapeDrawableTest.java168 shapeDrawable.setPadding(10, 10, 100, 100); in testAccessPadding()
175 shapeDrawable.setPadding(0, 0, 0, 0); in testAccessPadding()
182 shapeDrawable.setPadding(new Rect(5, 5, 80, 80)); in testAccessPadding()
189 shapeDrawable.setPadding(null); in testAccessPadding()
DLayerDrawableTest.java456 ((ShapeDrawable) layerDrawable.getDrawable(0)).setPadding(padding0); in testAccessPadding()
464 ((ShapeDrawable) layerDrawable.getDrawable(1)).setPadding(padding1); in testAccessPadding()
950 layerDrawable.setPadding(10, 11, 20, 21); in testGetLeftPadding()
959 layerDrawable.setPadding(10, 11, 20, 21); in testGetTopPadding()
968 layerDrawable.setPadding(10, 11, 20, 21); in testGetRightPadding()
977 layerDrawable.setPadding(10, 11, 20, 21); in testGetBottomPadding()
986 layerDrawable.setPadding(10, 11, 20, 21); in testGetStartPadding()
997 layerDrawable.setPadding(10, 11, 20, 21); in testGetEndPadding()
1008 layerDrawable.setPadding(10, 11, 20, 21); in testSetPadding()
1584 setPadding(padding); in increasePadding()
[all …]
DPaintDrawableTest.java135 paintDrawable.setPadding(padding); in testInflateTag()
DGradientDrawableTest.java468 drawable.setPadding(1, 2, 3, 4); in testGradientPadding()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationInWindowTests.java182 frame.setPadding(1, 2, 3, 4); in onCreate()
DWindowInsetsAnimationSynchronicityTests.java338 view.setPadding(sidePadding, 0, sidePadding, 0); in onCreateInputView()
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java265 result.setPadding(36, 0, 0, 0); in createView()
DListScenario.java329 mListView.setPadding(0, 0, 0, 0); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java375 textView.setPadding(10, 0, 0, 0);
/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java350 mImageView.setPadding(padding, padding, padding, padding); in enterImageViewScene()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java354 child.setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in layoutBoxChildren()
DTestListAdapter.java601 textView.setPadding(PADDING, 0, PADDING, 0); in getView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java248 view.setPadding(10, 0, 10, 0); in getView()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java702 setPadding(getPaddingLeft(), getPaddingTop(), getPaddingRight(), newPaddingBottom); in updateBottomPaddingIfNecessary()

12