HomeSort by relevance Sort by last modified time
    Searched refs:mEditText (Results 1 - 15 of 15) sorted by null

  /frameworks/base/core/tests/coretests/src/android/widget/touchmode/
StartInTouchWithViewInFocusTest.java 31 private EditText mEditText;
43 mEditText = getActivity().getEditText();
49 assertTrue("should start in touch mode", mEditText.isInTouchMode());
50 assertTrue("edit text is focusable in touch mode, should have focus", mEditText.isFocused());
55 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_DPAD_DOWN, mEditText);
56 assertFalse("should have left touch mode", mEditText.isInTouchMode());
62 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_A, mEditText);
63 assertFalse("should have left touch mode", mEditText.isInTouchMode());
64 assertTrue("edit text should still have focus", mEditText.isFocused());
TouchModeFocusableTest.java 34 private EditText mEditText;
46 mEditText = getActivity().getEditText();
53 assertTrue("edit text should have focus", mEditText.isFocused());
54 assertTrue("edit text should be focusable in touch mode", mEditText.isFocusableInTouchMode());
61 assertTrue("edit text should still have focus", mEditText.isFocused());
70 assertInTouchModeAfterClick(this, mEditText);
72 assertTrue("clicking edit text should have given it focus", mEditText.isFocused());
  /cts/tests/tests/text/src/android/text/method/cts/
ReplacementTransformationMethodTest.java 42 private EditText mEditText;
51 mEditText = new EditText(getActivity());
65 mEditText.setTransformationMethod(method);
66 mEditText.setText("010101");
104 mEditText.setTransformationMethod(method);
105 mEditText.setText("010101");
112 mEditText.setTransformationMethod(method);
113 mEditText.setText("010101");
132 mEditText.setTransformationMethod(method);
133 mEditText.setText("010101")
    [all...]
PasswordTransformationMethodTest.java 62 private EditText mEditText;
97 mEditText = (EditText) getActivity().findViewById(EDIT_TXT_ID);
98 assertTrue(mEditText.isFocused());
144 mTransformedText = mMethod.getTransformation(mEditText.getText(), mEditText);
166 mEditText.append(" ");
201 CharSequence transformed = method.getTransformation(null, mEditText);
234 assertTrue(mEditText.isFocused());
236 assertFalse(mEditText.isFocused());
241 assertFalse(mEditText.isFocused())
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LLEditTextThenButton.java 28 private EditText mEditText;
40 mEditText = (EditText) findViewById(R.id.editText);
49 return mEditText;
  /packages/apps/Settings/src/com/android/settings/
OwnerInfoSettings.java 34 private EditText mEditText;
50 mEditText = (EditText) mView.findViewById(R.id.owner_info_edit_text);
51 mEditText.setText(info);
52 mEditText.setEnabled(enabled != 0);
58 mEditText.setEnabled(isChecked); // disable text field if not enabled
71 String info = mEditText.getText().toString();
  /cts/tests/tests/view/src/android/view/cts/
View_UsingViewsTest.java 77 private EditText mEditText;
94 mEditText = (EditText) mActivity.findViewById(R.id.entry);
307 mEditText.setDrawingCacheEnabled(true);
308 assertTrue(mEditText.isDrawingCacheEnabled());
311 assertEquals(View.DRAWING_CACHE_QUALITY_AUTO, mEditText.getDrawingCacheQuality());
312 mEditText.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_LOW);
313 assertEquals(View.DRAWING_CACHE_QUALITY_LOW, mEditText.getDrawingCacheQuality());
314 mEditText.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH);
315 assertEquals(View.DRAWING_CACHE_QUALITY_HIGH, mEditText.getDrawingCacheQuality());
317 mEditText.setDrawingCacheBackgroundColor(Color.GREEN)
    [all...]
  /development/apps/CustomLocale/src/com/android/customlocale2/
NewLocaleDialog.java 41 private EditText mEditText;
49 mEditText = (EditText) findViewById(R.id.value);
59 String locale = mEditText.getText().toString();
  /frameworks/base/core/java/android/webkit/
FindActionModeCallback.java 39 private EditText mEditText;
51 mEditText = (EditText) mCustomView.findViewById(
55 mEditText.setOnLongClickListener(this);
56 mEditText.setOnClickListener(this);
74 mEditText.setText(text);
75 Spannable span = (Spannable) mEditText.getText();
123 * Highlight all the instances of the string from mEditText in mWebView.
130 CharSequence find = mEditText.getText();
149 mInput.startGettingWindowFocus(mEditText.getRootView());
150 mInput.focusIn(mEditText);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ClipboardSample.java 42 EditText mEditText;
88 mEditText = (EditText)findViewById(R.id.clip_text);
129 mEditText.setText("");
132 mEditText.setText(clip.getItemAt(0).getText());
135 mEditText.setText(clip.getItemAt(0).getIntent().toUri(0));
138 mEditText.setText(clip.getItemAt(0).getUri().toString());
141 mEditText.setText("Clip containing no data");
  /frameworks/base/core/java/android/preference/
EditTextPreference.java 49 private EditText mEditText;
56 mEditText = new EditText(context, attrs);
59 mEditText.setId(com.android.internal.R.id.edit);
67 mEditText.setEnabled(true);
109 EditText editText = mEditText;
140 String value = mEditText.getText().toString();
168 return mEditText;
  /packages/apps/Mms/src/com/android/mms/ui/
BasicSlideEditorView.java 50 private EditText mEditText;
67 mEditText = (EditText) findViewById(R.id.text_message);
68 mEditText.addTextChangedListener(new TextWatcher() {
122 if ((text != null) && !text.equals(mEditText.getText().toString())) {
123 mEditText.setText(text);
124 mEditText.setSelection(text.length());
162 mEditText.setText("");
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DialogActivity.java 38 private EditText mEditText;
72 mEditText = new EditText(this);
73 mLayout.addView(mEditText);
  /frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
AccessoryChat.java 52 private EditText mEditText;
90 mEditText = (EditText)findViewById(R.id.message);
91 mEditText.setOnEditorActionListener(this);
  /packages/apps/Browser/src/com/android/browser/
AddBookmarkPage.java     [all...]

Completed in 4204 milliseconds