Home
last modified time | relevance | path

Searched refs:editText (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DImfBaseTestCase.java78 public void verifyEditTextAdjustment(final View editText, int rootViewHeight) { in verifyEditTextAdjustment() argument
84 mImm.hideSoftInputFromWindow(editText.getWindowToken(), 0); in verifyEditTextAdjustment()
89 editText.requestFocus(); in verifyEditTextAdjustment()
94 editText.getLocationOnScreen(origLocation); in verifyEditTextAdjustment()
100 editText.getLocationOnScreen(newLocation); in verifyEditTextAdjustment()
103 editText.getLocationOnScreen(newLocation); in verifyEditTextAdjustment()
110 mImm.hideSoftInputFromWindow(editText.getWindowToken(), 0); in verifyEditTextAdjustment()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DManyEditTextActivityScrollResize.java47 final EditText editText = new EditText(this); in onCreate() local
48 editText.setText(String.valueOf(i)); in onCreate()
49 editText.setId(i); in onCreate()
50 layout.addView(editText); in onCreate()
DManyEditTextActivityNoScrollPanScan.java53 final EditText editText = new EditText(this); in onCreate() local
54 editText.setText(String.valueOf(i)); in onCreate()
55 editText.setId(i); in onCreate()
56 ((LinearLayout) mRootView).addView(editText); in onCreate()
DOneEditTextActivitySelected.java51 EditText editText = new EditText(this); in onCreate() local
52 editText.requestFocus(); in onCreate()
53 mDefaultFocusedView = editText; in onCreate()
54 layout.addView(editText); in onCreate()
DManyEditTextActivityScrollPanScan.java54 final EditText editText = new EditText(this); in onCreate() local
55 editText.setText(String.valueOf(i)); in onCreate()
56 editText.setId(i); in onCreate()
57 layout.addView(editText); in onCreate()
DDialogActivity.java102 EditText editText; in createDialog() local
103 editText = new EditText(this); in createDialog()
104 layout.addView(editText); in createDialog()
DOneEditTextActivityNotSelected.java52 EditText editText = new EditText(this); in onCreate() local
59 layout.addView(editText); in onCreate()
DInputTypeActivity.java147 EditText editText = (EditText) view.findViewById(R.id.data); in buildEntryView() local
148 editText.setInputType(inputType); in buildEntryView()
DEditTextActivityDialog.java90 EditText editText; in createDialog() local
/frameworks/base/core/java/android/preference/
DEditTextPreference.java113 EditText editText = mEditText; in onBindDialogView() local
114 editText.setText(getText()); in onBindDialogView()
116 ViewParent oldParent = editText.getParent(); in onBindDialogView()
119 ((ViewGroup) oldParent).removeView(editText); in onBindDialogView()
121 onAddEditTextToDialogView(view, editText); in onBindDialogView()
130 protected void onAddEditTextToDialogView(View dialogView, EditText editText) { in onAddEditTextToDialogView() argument
134 container.addView(editText, ViewGroup.LayoutParams.MATCH_PARENT, in onAddEditTextToDialogView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfEditTexts.java120 EditText editText = new EditText(getContext()); in getView() local
121 editText.setText(body); in getView()
122 return editText; in getView()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLEditTextThenButton.java40 mEditText = (EditText) findViewById(R.id.editText); in onCreate()
/frameworks/base/core/java/android/transition/
DChangeText.java306 private void setSelection(EditText editText, int start, int end) { in setSelection() argument
308 editText.setSelection(start, end); in setSelection()
/frameworks/base/docs/html/training/keyboard-input/
Dstyle.jd156 EditText editText = (EditText) findViewById(R.id.search);
157 editText.setOnEditorActionListener(new OnEditorActionListener() {
/frameworks/base/docs/html/training/basics/firstapp/
Dstarting-activity.jd172 EditText editText = (EditText) findViewById(R.id.edit_message);
187 EditText editText = (EditText) findViewById(R.id.edit_message);
188 String message = editText.getText().toString();
230 EditText editText = (EditText) findViewById(R.id.edit_message);
231 String message = editText.getText().toString();
/frameworks/base/docs/html/guide/topics/ui/controls/
Dtext.jd199 EditText editText = (EditText) findViewById(R.id.search);
200 editText.setOnEditorActionListener(new OnEditorActionListener() {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2210 EditText editText = (EditText) view; in onFocusChange() local
2211 if (!TextUtils.isEmpty(editText.getText())) { in onFocusChange()
2212 editText.setSelection(editText.getText().length()); in onFocusChange()