HomeSort by relevance Sort by last modified time
    Searched defs:editText (Results 26 - 50 of 52) sorted by null

12 3

  /frameworks/base/core/java/android/preference/
EditTextPreference.java 30 import android.widget.EditText;
36 * It is a subclass of {@link DialogPreference} and shows the {@link EditText}
37 * in a dialog. This {@link EditText} can be modified either programmatically
38 * via {@link #getEditText()}, or through XML by setting any EditText
43 * See {@link android.R.styleable#EditText EditText Attributes}.
49 private EditText mEditText;
56 mEditText = new EditText(context, attrs);
109 EditText editText = mEditText
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ListOfEditTexts.java 116 ((EditText) convertView).setText(body);
120 EditText editText = new EditText(getContext());
121 editText.setText(body);
122 return editText;
  /frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
ImfBaseTestCase.java 78 public void verifyEditTextAdjustment(final View editText, int rootViewHeight) {
84 mImm.hideSoftInputFromWindow(editText.getWindowToken(), 0);
86 // Bring the target EditText into focus.
89 editText.requestFocus();
93 // Get the original location of the EditText.
94 editText.getLocationOnScreen(origLocation);
96 // Tap the EditText to bring up the IME.
99 // Wait until the EditText pops above the IME or until we hit the timeout.
100 editText.getLocationOnScreen(newLocation);
103 editText.getLocationOnScreen(newLocation)
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorDisplay.java 27 import android.widget.EditText;
31 * Provides vertical scrolling for the input/result EditText.
77 /* the EditText should still accept letters (eg. 'sin')
86 EditText text = (EditText) getChildAt(i);
114 EditText editor = (EditText) getCurrentView();
119 EditText getEditText() {
120 return (EditText) getCurrentView();
124 EditText text = (EditText) getCurrentView()
    [all...]
Logic.java 23 import android.widget.EditText;
97 EditText editText = mDisplay.getEditText();
98 int cursorPos = editText.getSelectionStart();
99 return toLeft ? cursorPos == 0 : cursorPos >= editText.length();
  /packages/apps/Contacts/src/com/android/contacts/editor/
LabeledEditorView.java 41 import android.widget.EditText;
387 final EditText editText = (EditText) view.findViewById(R.id.custom_dialog_content);
388 editText.setInputType(INPUT_TYPE_CUSTOM);
389 editText.setSaveEnabled(true);
392 editText.requestFocus();
397 final String customText = editText.getText().toString().trim();
425 updateCustomDialogOkButtonState(dialog, editText);
428 editText.addTextChangedListener(new TextWatcher()
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
ViewLoaderTest.java 215 EditText editText = (EditText) viewGroup.findViewById(R.id.edit_text);
216 assertFalse(editText.isFocused());
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 31 import android.widget.EditText;
210 final EditText editText = (EditText) getActivity().findViewById(R.id.edittext);
221 editText.requestFocus();
242 expected.setClassName(EditText.class.getName());
260 editText.getEditableText().replace(3, 4, newText);
AccessibilityTextTraversalTest.java 25 import android.widget.EditText;
    [all...]
  /frameworks/base/core/java/android/transition/
ChangeText.java 26 import android.widget.EditText;
132 if (textview instanceof EditText) {
169 if (view instanceof EditText) {
186 if (view instanceof EditText) {
187 setSelection(((EditText) view), startSelectionStart, startSelectionEnd);
200 if (view instanceof EditText) {
201 setSelection(((EditText) view), endSelectionStart, endSelectionEnd);
228 if (view instanceof EditText) {
229 setSelection(((EditText) view), endSelectionStart,
274 if (view instanceof EditText) {
    [all...]
  /packages/services/Telephony/src/com/android/phone/
EditPhoneNumberPreference.java 34 import android.widget.EditText;
194 //get the edittext component within the number field
195 EditText editText = getEditText();
200 if (editText != null) {
209 editText.setText(mPhoneNumber);
210 editText.setMovementMethod(ArrowKeyMovementMethod.getInstance());
211 editText.setKeyListener(DialerKeyListener.getInstance());
212 editText.setOnFocusChangeListener(mDialogFocusChangeListener);
230 * This method attaches the EditText to the container specific to thi
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/
Dialogs.py 22 editText = 16
  /cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
CtsUiAutomatorTest.java 120 UiObject editText = new UiObject(new UiSelector().className(android.widget.EditText.class
122 editText.setText(testText);
233 UiObject editText = new UiObject(new UiSelector().className(android.widget.EditText.class
235 editText.setText("Android Geppetto Test Application");
275 UiObject edit = new UiObject(new UiSelector().className(android.widget.EditText.class
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 77 import android.widget.EditText;
    [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 

Completed in 305 milliseconds

12 3