Home
last modified time | relevance | path

Searched refs:mEditText (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
DStartInTouchWithViewInFocusTest.java31 private EditText mEditText; field in StartInTouchWithViewInFocusTest
43 mEditText = getActivity().getEditText(); in setUp()
49 assertTrue("should start in touch mode", mEditText.isInTouchMode()); in testPreconditions()
50 … assertTrue("edit text is focusable in touch mode, should have focus", mEditText.isFocused()); in testPreconditions()
55 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_DPAD_DOWN, mEditText); in DISABLE_testKeyDownLeavesTouchModeAndGoesToNextView()
56 assertFalse("should have left touch mode", mEditText.isInTouchMode()); in DISABLE_testKeyDownLeavesTouchModeAndGoesToNextView()
62 assertNotInTouchModeAfterKey(this, KeyEvent.KEYCODE_A, mEditText); in DISABLE_testNonDirectionalKeyExitsTouchMode()
63 assertFalse("should have left touch mode", mEditText.isInTouchMode()); in DISABLE_testNonDirectionalKeyExitsTouchMode()
64 assertTrue("edit text should still have focus", mEditText.isFocused()); in DISABLE_testNonDirectionalKeyExitsTouchMode()
DTouchModeFocusableTest.java34 private EditText mEditText; field in TouchModeFocusableTest
46 mEditText = getActivity().getEditText(); in setUp()
53 assertTrue("edit text should have focus", mEditText.isFocused()); in testPreconditions()
54 … assertTrue("edit text should be focusable in touch mode", mEditText.isFocusableInTouchMode()); in testPreconditions()
61 assertTrue("edit text should still have focus", mEditText.isFocused()); in testClickButtonEditTextKeepsFocus()
70 assertInTouchModeAfterClick(this, mEditText); in testClickEditTextGivesItFocus()
72 assertTrue("clicking edit text should have given it focus", mEditText.isFocused()); in testClickEditTextGivesItFocus()
/frameworks/base/core/java/android/webkit/
DFindActionModeCallback.java37 private EditText mEditText; field in FindActionModeCallback
49 mEditText = (EditText) mCustomView.findViewById( in FindActionModeCallback()
53 mEditText.setOnLongClickListener(this); in FindActionModeCallback()
54 mEditText.setOnClickListener(this); in FindActionModeCallback()
72 mEditText.setText(text); in setText()
73 Spannable span = (Spannable) mEditText.getText(); in setText()
128 CharSequence find = mEditText.getText(); in findAll()
147 mInput.startGettingWindowFocus(mEditText.getRootView()); in showSoftInput()
148 mInput.focusIn(mEditText); in showSoftInput()
149 mInput.showSoftInput(mEditText, 0); in showSoftInput()
[all …]
/frameworks/base/core/java/android/preference/
DEditTextPreference.java49 private EditText mEditText; field in EditTextPreference
56 mEditText = new EditText(context, attrs); in EditTextPreference()
59 mEditText.setId(com.android.internal.R.id.edit); in EditTextPreference()
67 mEditText.setEnabled(true); in EditTextPreference()
109 EditText editText = mEditText; in onBindDialogView()
140 String value = mEditText.getText().toString(); in onDialogClosed()
168 return mEditText; in getEditText()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLEditTextThenButton.java28 private EditText mEditText; field in LLEditTextThenButton
40 mEditText = (EditText) findViewById(R.id.editText); in onCreate()
49 return mEditText; in getEditText()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DDialogActivity.java38 private EditText mEditText; field in DialogActivity
72 mEditText = new EditText(this); in onCreate()
73 mLayout.addView(mEditText); in onCreate()
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java52 private EditText mEditText; field in AccessoryChat
90 mEditText = (EditText)findViewById(R.id.message); in onCreate()
91 mEditText.setOnEditorActionListener(this); in onCreate()