Home
last modified time | relevance | path

Searched refs:TEXT_DIRECTION_INHERIT (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java68 assertEquals(View.TEXT_DIRECTION_INHERIT, tv.getTextDirection()); in testTextDirectionDefault()
81 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT); in testSetGetTextDirection()
82 assertEquals(View.TEXT_DIRECTION_INHERIT, tv.getTextDirection()); in testSetGetTextDirection()
102 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT); in testGetResolvedTextDirectionLtr()
127 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT); in testGetResolvedTextDirectionLtrWithInheritance()
148 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT); in testGetResolvedTextDirectionRtl()
172 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT); in testGetResolvedTextDirectionRtlWithInheritance()
190 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT); in testGetResolvedTextDirectionRtlWithInheritance()
210 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT); in testResetTextDirection()
/frameworks/base/core/java/android/view/
DView.java2603 public static final int TEXT_DIRECTION_INHERIT = 0; field in View
2642 protected static int DEFAULT_TEXT_DIRECTION = TEXT_DIRECTION_INHERIT;
2650 @ViewDebug.IntToString(from = TEXT_DIRECTION_INHERIT, to = "INHERIT"),
2667 @ViewDebug.IntToString(from = TEXT_DIRECTION_INHERIT, to = "INHERIT"),
2673 private int mResolvedTextDirection = TEXT_DIRECTION_INHERIT;
13642 if (mResolvedTextDirection == TEXT_DIRECTION_INHERIT) {
13654 if (mTextDirection != TEXT_DIRECTION_INHERIT) {
13671 mResolvedTextDirection = TEXT_DIRECTION_INHERIT;
DViewGroup.java5130 if (child.getTextDirection() == TEXT_DIRECTION_INHERIT) { in resetResolvedTextDirection()