/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
Test1DetailFragment.java | 34 private EditText mEditText; 55 mEditText = (EditText) rootView.findViewById(R.id.test1TextField); 56 mEditText.setText(""); 60 final String savedInput = mEditText.getText().toString(); 63 mEditText.setText(""); 67 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0);
|
Test3DetailFragment.java | 41 private EditText mEditText; 92 mEditText = (EditText) rootView.findViewById(R.id.test3TextField); 99 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0); 105 CharSequence inputText = mEditText.getText(); 114 mEditText.setText("");
|
/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;
|
/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());
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerServiceTest.java | 28 mEditText.setText("tgis "); 29 mEditText.setSelection(mEditText.getText().length()); 30 mEditText.onAttachedToWindow(); 35 final SpanGetter span = new SpanGetter(mEditText.getText(), SuggestionSpan.class); 47 mEditText.onAttachedToWindow(); 48 mEditText.setText("???? "); 49 mEditText.setSelection(mEditText.getText().length()); 50 mEditText.onAttachedToWindow() [all...] |
/frameworks/base/core/java/android/webkit/ |
FindActionModeCallback.java | 42 private EditText mEditText; 55 mEditText = (EditText) mCustomView.findViewById( 57 mEditText.setCustomSelectionActionModeCallback(new NoAction()); 58 mEditText.setOnClickListener(this); 76 mEditText.setText(text); 77 Spannable span = (Spannable) mEditText.getText(); 133 * Highlight all the instances of the string from mEditText in mWebView. 140 CharSequence find = mEditText.getText(); 155 mInput.startGettingWindowFocus(mEditText.getRootView()); 156 mInput.focusIn(mEditText); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_UsingViewsTest.java | 74 private EditText mEditText; 91 mEditText = (EditText) mActivity.findViewById(R.id.entry); 127 mEditText.setDrawingCacheEnabled(true); 128 assertTrue(mEditText.isDrawingCacheEnabled()); 131 assertEquals(View.DRAWING_CACHE_QUALITY_AUTO, mEditText.getDrawingCacheQuality()); 132 mEditText.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_LOW); 133 assertEquals(View.DRAWING_CACHE_QUALITY_LOW, mEditText.getDrawingCacheQuality()); 134 mEditText.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH); 135 assertEquals(View.DRAWING_CACHE_QUALITY_HIGH, mEditText.getDrawingCacheQuality()); 137 mEditText.setDrawingCacheBackgroundColor(Color.GREEN) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleClientConnectActivity.java | 37 private EditText mEditText; 48 mEditText = (EditText) findViewById(R.id.ble_address); 53 String address = mEditText.getText().toString();
|
BleReadWriteActivity.java | 45 private EditText mEditText; 72 mEditText = (EditText) findViewById(R.id.write_text); 77 String writeValue = mEditText.getText().toString(); 82 mEditText.setText("");
|
BleReliableWriteActivity.java | 35 EditText mEditText; 46 mEditText = (EditText) findViewById(R.id.write_text); 61 String writeValue = mEditText.getText().toString(); 67 mEditText.setText("");
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
PresetManagementDialog.java | 32 private EditText mEditText; 41 mEditText = (EditText) view.findViewById(R.id.editView); 59 String text = String.valueOf(mEditText.getText());
|
/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/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; 92 mEditText = (EditText)findViewById(R.id.message); 93 mEditText.setOnEditorActionListener(this);
|
/frameworks/base/tests/SerialChat/src/com/android/serialchat/ |
SerialChat.java | 42 private EditText mEditText; 58 mEditText = (EditText)findViewById(R.id.message); 59 mEditText.setOnEditorActionListener(this);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
BasicSlideEditorView.java | 48 private EditText mEditText; 65 mEditText = (EditText) findViewById(R.id.text_message); 66 mEditText.addTextChangedListener(new TextWatcher() { 120 if ((text != null) && !text.equals(mEditText.getText().toString())) { 121 mEditText.setText(text); 122 mEditText.setSelection(text.length()); 164 mEditText.setText("");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
FeedbackFragment.java | 42 private EditText mEditText; 53 mEditText = (EditText) view.findViewById(R.id.research_feedback_contents); 54 mEditText.requestFocus(); 93 final Editable editable = mEditText.getText(); 119 final String savedFeedbackString = mEditText.getText().toString(); 127 mEditText.setText(bundle.getString(KEY_FEEDBACK_STRING));
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ReplacementTransformationMethodTest.java | 37 private EditText mEditText; 46 mEditText = new EditText(getActivity()); 55 mEditText.setTransformationMethod(method); 56 mEditText.setText("010101"); 80 mEditText.setTransformationMethod(method); 81 mEditText.setText("010101"); 88 mEditText.setTransformationMethod(method); 89 mEditText.setText("010101"); 99 mEditText.setTransformationMethod(method); 100 mEditText.setText("010101") [all...] |
PasswordTransformationMethodTest.java | 56 private EditText mEditText; 97 mEditText = (EditText) getActivity().findViewById(EDIT_TXT_ID); 98 assertTrue(mEditText.isFocused()); 117 mTransformedText = mMethod.getTransformation(mEditText.getText(), mEditText); 139 mEditText.append(" "); 167 CharSequence transformed = method.getTransformation(null, mEditText); 189 assertTrue(mEditText.isFocused()); 191 assertFalse(mEditText.isFocused()); 196 assertFalse(mEditText.isFocused()) [all...] |
/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/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
ExportDialog.java | 73 private EditText mEditText; 75 mEditText = text; 88 textChanged(mEditText);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputTestsBase.java | 54 protected MyEditText mEditText; 150 mEditText = new MyEditText(getContext()); 153 mEditText.setInputType(inputType); 154 mEditText.setEnabled(true); 161 final InputConnection ic = mEditText.onCreateInputConnection(ei); 246 mEditText.mCurrentLocale = LocaleUtils.constructLocaleFromString(locale); 247 SubtypeSwitcher.getInstance().forceLocale(mEditText.mCurrentLocale);
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
PlayerSetupActivity.java | 57 EditText mEditText;
|
/packages/apps/Browser/src/com/android/browser/ |
AddBookmarkPage.java | [all...] |