Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupNameDialogFragment.java40 protected abstract void initializeGroupLabelEditText(EditText editText); in initializeGroupLabelEditText() argument
48 final EditText editText = (EditText) view.findViewById(R.id.group_label); in onCreateDialog() local
49 initializeGroupLabelEditText(editText); in onCreateDialog()
53 editText.requestFocus(); in onCreateDialog()
58 onCompleted(editText.getText().toString().trim()); in onCreateDialog()
69 updateOkButtonState(dialog, editText); in onCreateDialog()
72 editText.addTextChangedListener(new TextWatcher() { in onCreateDialog()
83 updateOkButtonState(dialog, editText); in onCreateDialog()
91 /* package */ void updateOkButtonState(AlertDialog dialog, EditText editText) { in updateOkButtonState() argument
93 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim())); in updateOkButtonState()
DGroupCreationDialogFragment.java71 protected void initializeGroupLabelEditText(EditText editText) { in initializeGroupLabelEditText() argument
/packages/apps/Phone/src/com/android/phone/
DEditPhoneNumberPreference.java195 EditText editText = getEditText(); in onBindDialogView() local
200 if (editText != null) { in onBindDialogView()
209 editText.setText(mPhoneNumber); in onBindDialogView()
210 editText.setMovementMethod(ArrowKeyMovementMethod.getInstance()); in onBindDialogView()
211 editText.setKeyListener(DialerKeyListener.getInstance()); in onBindDialogView()
212 editText.setOnFocusChangeListener(mDialogFocusChangeListener); in onBindDialogView()
234 protected void onAddEditTextToDialogView(View dialogView, EditText editText) { in onAddEditTextToDialogView() argument
242 container.addView(editText, ViewGroup.LayoutParams.MATCH_PARENT, in onAddEditTextToDialogView()
300 EditText editText = getEditText(); in onPickActivityResult() local
301 if (editText != null) { in onPickActivityResult()
[all …]
/packages/apps/Browser/src/com/android/browser/preferences/
DGeneralPreferencesFragment.java119 final EditText editText = new EditText(getActivity()); in promptForHomepage() local
120 editText.setInputType(InputType.TYPE_CLASS_TEXT in promptForHomepage()
122 editText.setText(settings.getHomePage()); in promptForHomepage()
123 editText.setSelectAllOnFocus(true); in promptForHomepage()
124 editText.setSingleLine(true); in promptForHomepage()
125 editText.setImeActionLabel(null, EditorInfo.IME_ACTION_DONE); in promptForHomepage()
127 .setView(editText) in promptForHomepage()
131 String homepage = editText.getText().toString().trim(); in promptForHomepage()
146 editText.setOnEditorActionListener(new OnEditorActionListener() { in promptForHomepage()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java158 for (EditText editText : mFieldEditTexts) { in requestFocusForFirstEditField()
159 if (firstField == null && editText.getVisibility() == View.VISIBLE) { in requestFocusForFirstEditField()
160 firstField = editText; in requestFocusForFirstEditField()
162 if (editText.hasFocus()) { in requestFocusForFirstEditField()
271 EditText editText = (EditText) mFields.getChildAt(i); in isEmpty() local
272 if (!TextUtils.isEmpty(editText.getText())) { in isEmpty()
296 EditText editText = mFieldEditTexts[i]; in acquireEditorBounds() local
297 if (editText.getVisibility() == View.VISIBLE) { in acquireEditorBounds()
298 bounds.set(editText.getLeft(), editText.getTop(), editText.getRight(), in acquireEditorBounds()
299 editText.getBottom()); in acquireEditorBounds()
DLabeledEditorView.java388 final EditText editText = (EditText) view.findViewById(R.id.custom_dialog_content); in createCustomDialog() local
389 editText.setInputType(INPUT_TYPE_CUSTOM); in createCustomDialog()
390 editText.setSaveEnabled(true); in createCustomDialog()
393 editText.requestFocus(); in createCustomDialog()
398 final String customText = editText.getText().toString().trim(); in createCustomDialog()
426 updateCustomDialogOkButtonState(dialog, editText); in createCustomDialog()
429 editText.addTextChangedListener(new TextWatcher() { in createCustomDialog()
440 updateCustomDialogOkButtonState(dialog, editText); in createCustomDialog()
449 /* package */ void updateCustomDialogOkButtonState(AlertDialog dialog, EditText editText) { in updateCustomDialogOkButtonState() argument
451 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim())); in updateCustomDialogOkButtonState()
/packages/apps/Settings/src/com/android/settings/
DEditPinPreference.java54 final EditText editText = getEditText(); in onBindDialogView() local
56 if (editText != null) { in onBindDialogView()
57 editText.setInputType(InputType.TYPE_CLASS_NUMBER | in onBindDialogView()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorDisplay.java144 EditText editText = (EditText) getNextView(); in setText() local
145 editText.setText(text); in setText()
147 editText.setSelection(text.length()); in setText()
DLogic.java97 EditText editText = mDisplay.getEditText(); in eatHorizontalMove() local
98 int cursorPos = editText.getSelectionStart(); in eatHorizontalMove()
99 return toLeft ? cursorPos == 0 : cursorPos >= editText.length(); in eatHorizontalMove()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java987 public void addEditText(EditText editText) { in addEditText() argument
988 mEditText = editText; in addEditText()