Lines Matching refs:mEditText
46 private EditText mEditText;
55 mEditText = new EditText(getActivity());
56 mEditText.setTextSize(30);
57 mEditText.setSingleLine(true);
58 mEditText.setLines(1);
59 mEditText.setPadding(15, 15, 15, 15);
63 mEditText.setLayoutParams(editTextLayoutParams);
70 layout.addView(mEditText);
79 onView(sameInstance(mEditText)).perform(click());
88 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
97 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
106 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
115 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
122 assertThat(mEditText.getText().toString(), isEmptyString());
123 assertThat(mEditText.getHint(), nullValue());
125 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
128 assertThat(mEditText.getText().toString(), isEmptyString());
130 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
133 assertThat(mEditText.getText().toString(), isEmptyString());
135 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
141 assertThat(mEditText.getText().toString(), isEmptyString());
142 assertThat(mEditText.getHint(), nullValue());
144 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
147 assertThat(mEditText.getText().toString(), isEmptyString());
149 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
152 assertThat(mEditText.getText().toString(), isEmptyString());
154 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
160 assertThat(mEditText.getText().toString(), isEmptyString());
161 assertThat(mEditText.getHint(), nullValue());
163 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
166 assertThat(mEditText.getText().toString(), isEmptyString());
168 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
171 assertThat(mEditText.getText().toString(), isEmptyString());
173 onView(sameInstance(mEditText)).check(hasInsertionPointerOnLeft());
179 assertThat(mEditText.getText().toString(), isEmptyString());
180 assertThat(mEditText.getHint(), nullValue());
182 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
185 assertThat(mEditText.getText().toString(), isEmptyString());
187 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
190 assertThat(mEditText.getText().toString(), isEmptyString());
192 onView(sameInstance(mEditText)).check(hasInsertionPointerOnRight());
200 if (textDirection != null) mEditText.setTextDirection(textDirection);
201 if (text != null) mEditText.setText(text);
202 if (hint != null) mEditText.setHint(hint);
203 if (selection != null) mEditText.setSelection(selection);
211 mEditText.postOnAnimationDelayed(new Runnable() {