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.java720 TextView textViewLtr = (TextView) mResult.findViewById(R.id.remoteView_text_ltr); in testSetTextCompoundDrawablesRelative() local
723 TestUtils.verifyCompoundDrawables(textViewLtr, -1, -1, -1, -1); in testSetTextCompoundDrawablesRelative()
731 TestUtils.verifyCompoundDrawables(textViewLtr, R.drawable.start, R.drawable.failed, in testSetTextCompoundDrawablesRelative()
741 TestUtils.verifyCompoundDrawables(textViewLtr, -1, R.drawable.icon_red, in testSetTextCompoundDrawablesRelative()
1065 View textViewLtr = mResult.findViewById(R.id.remoteView_text_ltr); in testSetViewLayoutMargin_layoutDirection() local
1066 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_START, 10, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1067 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_TOP, 20, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1068 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_END, 30, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1069 mRemoteViews.setViewLayoutMargin(textViewLtr.getId(), MARGIN_BOTTOM, 40, COMPLEX_UNIT_DIP); in testSetViewLayoutMargin_layoutDirection()
1071 DisplayMetrics displayMetrics = textViewLtr.getResources().getDisplayMetrics(); in testSetViewLayoutMargin_layoutDirection()
[all …]
DTextViewTest.java6682 final TextView textViewLtr = (TextView) mActivity.findViewById( in testCompoundAndTotalPadding() local
6686 assertEquals(combinedPaddingLeftLtr, textViewLtr.getCompoundPaddingLeft()); in testCompoundAndTotalPadding()
6687 assertEquals(combinedPaddingLeftLtr, textViewLtr.getCompoundPaddingStart()); in testCompoundAndTotalPadding()
6688 assertEquals(combinedPaddingLeftLtr, textViewLtr.getTotalPaddingLeft()); in testCompoundAndTotalPadding()
6689 assertEquals(combinedPaddingLeftLtr, textViewLtr.getTotalPaddingStart()); in testCompoundAndTotalPadding()
6690 assertEquals(combinedPaddingRightLtr, textViewLtr.getCompoundPaddingRight()); in testCompoundAndTotalPadding()
6691 assertEquals(combinedPaddingRightLtr, textViewLtr.getCompoundPaddingEnd()); in testCompoundAndTotalPadding()
6692 assertEquals(combinedPaddingRightLtr, textViewLtr.getTotalPaddingRight()); in testCompoundAndTotalPadding()
6693 assertEquals(combinedPaddingRightLtr, textViewLtr.getTotalPaddingEnd()); in testCompoundAndTotalPadding()
6695 textViewLtr.getCompoundPaddingTop()); in testCompoundAndTotalPadding()
[all …]