Home
last modified time | relevance | path

Searched refs:textViewLtr (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java1246 TextView textViewLtr = (TextView) mResult.findViewById(R.id.remoteView_text_ltr); in testSetTextCompoundDrawablesRelative() local
1249 TestUtils.verifyCompoundDrawables(textViewLtr, -1, -1, -1, -1); in testSetTextCompoundDrawablesRelative()
1257 TestUtils.verifyCompoundDrawables(textViewLtr, R.drawable.start, R.drawable.failed, in testSetTextCompoundDrawablesRelative()
1267 TestUtils.verifyCompoundDrawables(textViewLtr, -1, R.drawable.icon_red, in testSetTextCompoundDrawablesRelative()
1634 View textViewLtr = mResult.findViewById(R.id.remoteView_text_ltr); in testSetViewLayoutMargin_layoutDirection() local
1635 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_START, 10, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1636 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_TOP, 20, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1637 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_END, 30, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1638 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_BOTTOM, 40, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1640 DisplayMetrics displayMetrics = textViewLtr.getResources().getDisplayMetrics(); in testSetViewLayoutMargin_layoutDirection()
[all …]
DTextViewTest.java6906 final TextView textViewLtr = (TextView) mActivity.findViewById( in testCompoundAndTotalPadding() local
6910 assertEquals(combinedPaddingLeftLtr, textViewLtr.getCompoundPaddingLeft()); in testCompoundAndTotalPadding()
6911 assertEquals(combinedPaddingLeftLtr, textViewLtr.getCompoundPaddingStart()); in testCompoundAndTotalPadding()
6912 assertEquals(combinedPaddingLeftLtr, textViewLtr.getTotalPaddingLeft()); in testCompoundAndTotalPadding()
6913 assertEquals(combinedPaddingLeftLtr, textViewLtr.getTotalPaddingStart()); in testCompoundAndTotalPadding()
6914 assertEquals(combinedPaddingRightLtr, textViewLtr.getCompoundPaddingRight()); in testCompoundAndTotalPadding()
6915 assertEquals(combinedPaddingRightLtr, textViewLtr.getCompoundPaddingEnd()); in testCompoundAndTotalPadding()
6916 assertEquals(combinedPaddingRightLtr, textViewLtr.getTotalPaddingRight()); in testCompoundAndTotalPadding()
6917 assertEquals(combinedPaddingRightLtr, textViewLtr.getTotalPaddingEnd()); in testCompoundAndTotalPadding()
6919 textViewLtr.getCompoundPaddingTop()); in testCompoundAndTotalPadding()
[all …]