Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsTest.java1247 TextView textViewRtl = (TextView) mResult.findViewById(R.id.remoteView_text_rtl); in testSetTextCompoundDrawablesRelative() local
1250 TestUtils.verifyCompoundDrawables(textViewRtl, -1, -1, -1, -1); in testSetTextCompoundDrawablesRelative()
1259 TestUtils.verifyCompoundDrawables(textViewRtl, R.drawable.failed, R.drawable.start, in testSetTextCompoundDrawablesRelative()
1269 TestUtils.verifyCompoundDrawables(textViewRtl, R.drawable.icon_red, -1, in testSetTextCompoundDrawablesRelative()
1648 View textViewRtl = mResult.findViewById(R.id.remoteView_text_rtl); in testSetViewLayoutMargin_layoutDirection() local
1649 mRemoteViews.setViewLayoutMargin(textViewRtl.getId(), MARGIN_START, 10, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1650 mRemoteViews.setViewLayoutMargin(textViewRtl.getId(), MARGIN_TOP, 20, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1651 mRemoteViews.setViewLayoutMargin(textViewRtl.getId(), MARGIN_END, 30, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1652 mRemoteViews.setViewLayoutMargin(textViewRtl.getId(), MARGIN_BOTTOM, 40, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1654 displayMetrics = textViewRtl.getResources().getDisplayMetrics(); in testSetViewLayoutMargin_layoutDirection()
[all …]
DTextViewTest.java6923 final TextView textViewRtl = (TextView) mActivity.findViewById( in testCompoundAndTotalPadding() local
6927 assertEquals(combinedPaddingLeftRtl, textViewRtl.getCompoundPaddingLeft()); in testCompoundAndTotalPadding()
6928 assertEquals(combinedPaddingLeftRtl, textViewRtl.getCompoundPaddingEnd()); in testCompoundAndTotalPadding()
6929 assertEquals(combinedPaddingLeftRtl, textViewRtl.getTotalPaddingLeft()); in testCompoundAndTotalPadding()
6930 assertEquals(combinedPaddingLeftRtl, textViewRtl.getTotalPaddingEnd()); in testCompoundAndTotalPadding()
6931 assertEquals(combinedPaddingRightRtl, textViewRtl.getCompoundPaddingRight()); in testCompoundAndTotalPadding()
6932 assertEquals(combinedPaddingRightRtl, textViewRtl.getCompoundPaddingStart()); in testCompoundAndTotalPadding()
6933 assertEquals(combinedPaddingRightRtl, textViewRtl.getTotalPaddingRight()); in testCompoundAndTotalPadding()
6934 assertEquals(combinedPaddingRightRtl, textViewRtl.getTotalPaddingStart()); in testCompoundAndTotalPadding()
6936 textViewRtl.getCompoundPaddingTop()); in testCompoundAndTotalPadding()
[all …]