Lines Matching refs:mEditText

64     private EditText mEditText;
73 mEditText = mActivity.findViewById(R.id.edittext);
76 onView(sameInstance(mEditText)).perform(click());
85 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
94 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
103 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
112 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
119 assertThat(mEditText.getText().toString(), isEmptyString());
120 assertThat(mEditText.getHint(), nullValue());
122 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
125 assertThat(mEditText.getText().toString(), isEmptyString());
127 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
130 assertThat(mEditText.getText().toString(), isEmptyString());
132 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
138 assertThat(mEditText.getText().toString(), isEmptyString());
139 assertThat(mEditText.getHint(), nullValue());
141 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
144 assertThat(mEditText.getText().toString(), isEmptyString());
146 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
149 assertThat(mEditText.getText().toString(), isEmptyString());
151 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
157 assertThat(mEditText.getText().toString(), isEmptyString());
158 assertThat(mEditText.getHint(), nullValue());
160 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
163 assertThat(mEditText.getText().toString(), isEmptyString());
165 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
168 assertThat(mEditText.getText().toString(), isEmptyString());
170 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
176 assertThat(mEditText.getText().toString(), isEmptyString());
177 assertThat(mEditText.getHint(), nullValue());
179 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
182 assertThat(mEditText.getText().toString(), isEmptyString());
184 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
187 assertThat(mEditText.getText().toString(), isEmptyString());
189 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
195 if (textDirection != null) mEditText.setTextDirection(textDirection);
196 if (text != null) mEditText.setText(text);
197 if (hint != null) mEditText.setHint(hint);
198 if (selection != null) mEditText.setSelection(selection);
205 mEditText.postOnAnimationDelayed(latch::countDown, CURSOR_BLINK_MS);