Lines Matching refs:View
22 import android.view.View;
68 assertEquals(View.TEXT_DIRECTION_INHERIT, tv.getTextDirection());
75 tv.setTextDirection(View.TEXT_DIRECTION_FIRST_STRONG);
76 assertEquals(View.TEXT_DIRECTION_FIRST_STRONG, tv.getTextDirection());
78 tv.setTextDirection(View.TEXT_DIRECTION_ANY_RTL);
79 assertEquals(View.TEXT_DIRECTION_ANY_RTL, tv.getTextDirection());
81 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT);
82 assertEquals(View.TEXT_DIRECTION_INHERIT, tv.getTextDirection());
84 tv.setTextDirection(View.TEXT_DIRECTION_LTR);
85 assertEquals(View.TEXT_DIRECTION_LTR, tv.getTextDirection());
87 tv.setTextDirection(View.TEXT_DIRECTION_RTL);
88 assertEquals(View.TEXT_DIRECTION_RTL, tv.getTextDirection());
96 tv.setTextDirection(View.TEXT_DIRECTION_FIRST_STRONG);
97 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
99 tv.setTextDirection(View.TEXT_DIRECTION_ANY_RTL);
100 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
102 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT);
103 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
105 tv.setTextDirection(View.TEXT_DIRECTION_LTR);
106 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
108 tv.setTextDirection(View.TEXT_DIRECTION_RTL);
109 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
115 ll.setTextDirection(View.TEXT_DIRECTION_RTL);
121 tv.setTextDirection(View.TEXT_DIRECTION_FIRST_STRONG);
122 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
124 tv.setTextDirection(View.TEXT_DIRECTION_ANY_RTL);
125 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
127 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT);
128 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
130 tv.setTextDirection(View.TEXT_DIRECTION_LTR);
131 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
133 tv.setTextDirection(View.TEXT_DIRECTION_RTL);
134 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
142 tv.setTextDirection(View.TEXT_DIRECTION_FIRST_STRONG);
143 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
145 tv.setTextDirection(View.TEXT_DIRECTION_ANY_RTL);
146 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
148 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT);
149 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
151 tv.setTextDirection(View.TEXT_DIRECTION_LTR);
152 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
154 tv.setTextDirection(View.TEXT_DIRECTION_RTL);
155 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
166 tv.setTextDirection(View.TEXT_DIRECTION_FIRST_STRONG);
167 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
169 tv.setTextDirection(View.TEXT_DIRECTION_ANY_RTL);
170 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
172 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT);
173 assertEquals(View.TEXT_DIRECTION_FIRST_STRONG, tv.getResolvedTextDirection());
175 tv.setTextDirection(View.TEXT_DIRECTION_LTR);
176 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
178 tv.setTextDirection(View.TEXT_DIRECTION_RTL);
179 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
182 ll.setTextDirection(View.TEXT_DIRECTION_RTL);
184 tv.setTextDirection(View.TEXT_DIRECTION_FIRST_STRONG);
185 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
187 tv.setTextDirection(View.TEXT_DIRECTION_ANY_RTL);
188 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
190 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT);
191 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
193 tv.setTextDirection(View.TEXT_DIRECTION_LTR);
194 assertEquals(View.TEXT_DIRECTION_LTR, tv.getResolvedTextDirection());
196 tv.setTextDirection(View.TEXT_DIRECTION_RTL);
197 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
209 ll.setTextDirection(View.TEXT_DIRECTION_RTL);
210 tv.setTextDirection(View.TEXT_DIRECTION_INHERIT);
211 assertEquals(View.TEXT_DIRECTION_RTL, tv.getResolvedTextDirection());
214 assertEquals(View.TEXT_DIRECTION_FIRST_STRONG, tv.getResolvedTextDirection());