Searched refs:paddingTop (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 275 int paddingTop = child.getPaddingTop(); in layoutBoxChildren() local 321 paddingTop = boxInset; in layoutBoxChildren() 331 paddingTop = boxInset; in layoutBoxChildren() 354 child.setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in layoutBoxChildren()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 3624 final int paddingTop = mTextView.getTotalPaddingTop(); in testGetOffsetForPositionSingleLineLtr() local 3633 float y = mTextView.getHeight() / 2f + paddingTop; in testGetOffsetForPositionSingleLineLtr() 3685 final int paddingTop = mTextView.getTotalPaddingTop(); in testGetOffsetForPositionMultiLineLtr() local 3690 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr() 3699 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr() 3751 final int paddingTop = mTextView.getTotalPaddingTop(); in testGetOffsetForPositionMultiLineRtl() local 3756 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl() 3765 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl() 6176 final int paddingTop = res.getDimensionPixelSize(R.dimen.textview_padding_top); in testCompoundAndTotalPadding() local 6192 assertEquals(paddingTop + drawablePadding + iconSize, in testCompoundAndTotalPadding() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 1984 final int paddingTop = 20; in testSetClipToPadding() local 1987 mMockViewGroup.setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in testSetClipToPadding()
|
D | ViewTest.java | 3558 final int paddingTop = view.getPaddingTop(); in testPadding() local 3561 assertEquals(0, paddingTop); in testPadding() 3569 view.setPadding(paddingLeft, paddingTop, paddingRight, paddingBottom); in testPadding()
|