Home
last modified time | relevance | path

Searched refs:EditText (Results 1 – 25 of 111) sorted by relevance

12345

/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DClientTest.java31 import android.widget.EditText;
60 EditText app_id = findViewById(R.id.app_id); in onCreate()
61 EditText cont = findViewById(R.id.cont); in onCreate()
62 EditText pkg = findViewById(R.id.pkg); in onCreate()
63 EditText cls = findViewById(R.id.cls); in onCreate()
96 EditText app_id = findViewById(R.id.app_id); in onCreate()
97 EditText cont = findViewById(R.id.cont); in onCreate()
98 EditText pkg = findViewById(R.id.pkg); in onCreate()
99 EditText cls = findViewById(R.id.cls); in onCreate()
118 EditText pdu = findViewById(R.id.pdu); in onCreate()
[all …]
/frameworks/base/core/java/android/transition/
DChangeText.java28 import android.widget.EditText;
134 if (textview instanceof EditText) { in captureValues()
173 if (view instanceof EditText) { in createAnimator()
190 if (view instanceof EditText) { in createAnimator()
191 setSelection(((EditText) view), startSelectionStart, startSelectionEnd); in createAnimator()
204 if (view instanceof EditText) { in createAnimator()
205 setSelection(((EditText) view), endSelectionStart, endSelectionEnd); in createAnimator()
231 if (view instanceof EditText) { in createAnimator()
232 setSelection(((EditText) view), endSelectionStart, in createAnimator()
276 if (view instanceof EditText) { in createAnimator()
[all …]
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DSimplePathsActivity.java22 import android.widget.EditText;
32 EditText text = new EditText(this); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLEditTextThenButton.java22 import android.widget.EditText;
28 private EditText mEditText;
48 public EditText getEditText() { in getEditText()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DEditTextTypeActivity.java20 import android.widget.EditText;
55 EditText editText = new EditText(this); in onCreate()
DWindowInsetsControllerActivity.java25 import android.widget.EditText;
38 EditText text = new EditText(this); in onCreate()
/frameworks/base/core/java/android/widget/
DEditText.java85 public class EditText extends TextView { class
99 public EditText(Context context) { in EditText() method in EditText
103 public EditText(Context context, AttributeSet attrs) { in EditText() method in EditText
107 public EditText(Context context, AttributeSet attrs, int defStyleAttr) { in EditText() method in EditText
111 public EditText(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in EditText() method in EditText
116 com.android.internal.R.styleable.EditText, defStyleAttr, defStyleRes); in EditText()
236 return EditText.class.getName(); in getAccessibilityClassName()
/frameworks/base/core/java/android/preference/
DEditTextPreference.java33 import android.widget.EditText;
60 private EditText mEditText;
68 mEditText = new EditText(context, attrs); in EditTextPreference()
126 EditText editText = mEditText; in onBindDialogView()
150 protected void onAddEditTextToDialogView(View dialogView, EditText editText) { in onAddEditTextToDialogView()
191 public EditText getEditText() { in getEditText()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DImeEditorPopupDialogActivity.java25 import android.widget.EditText;
41 final EditText editText = new EditText(this); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingTestUtil.java32 import android.widget.EditText;
61 static EditText createEditText(Rect handwritingArea, boolean autoHandwritingEnabled, in createEditText()
67 static EditText createEditText(Rect handwritingArea, boolean autoHandwritingEnabled, in createEditText()
73 EditText view = spy(new EditText(context)); in createEditText()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java45 import android.widget.EditText;
358 private EditText newSmallView() { in newSmallView()
359 EditText view = new EditText(mContext); in newSmallView()
371 assertThat(view.getClassName()).isEqualTo(EditText.class.getName()); in assertSmallView()
388 private EditText newBigView() { in newBigView()
389 EditText view = new EditText(mContext); in newBigView()
396 private EditText newCredentialView() { in newCredentialView()
397 EditText view = new EditText(mContext); in newCredentialView()
404 assertThat(view.getClassName()).isEqualTo(EditText.class.getName()); in assertBigView()
421 assertThat(view.getClassName()).isEqualTo(EditText.class.getName()); in assertCredentialView()
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/
DTestActivity.java31 import android.widget.EditText;
66 private EditText mEditText;
68 public EditText getEditText() { in getEditText()
77 mEditText = new EditText(this); in onCreate()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfTestActivity.java26 import android.widget.EditText;
53 final EditText editText = new EditText(this); in onCreate()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DAutoShowTest.java45 import android.widget.EditText;
117 EditText editText = activity.getEditText(); in autoShow_hasFocusedView_notRequestFocus()
146 EditText editText = activity.getEditText(); in autoShow_notFocusedView_notRequestFocus()
293 .wait(Until.findObject(By.clazz(EditText.class)), 5000); in clickFocusableView_requestFocus()
314 .wait(Until.findObject(By.clazz(EditText.class)), 5000); in clickFocusableView_notRequestFocus()
331 EditText editText = activity.getEditText(); in verifyAutoShowBehavior_forwardWithKeyboardOff()
374 EditText editText = activity.getEditText(); in verifyAutoShowBehavior_forwardWithKeyboardOn()
437 EditText editText = activity.getEditText(); in verifyAutoShowBehavior_backwardWithKeyboardOff()
454 EditText editText = activity.getEditText(); in verifyAutoShowBehavior_backwardWithKeyboardOn()
466 EditText editText = activity.getEditText(); in verifyClickBehavior()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DCustomEditTextPreferenceCompat.java27 import android.widget.EditText;
55 public EditText getEditText() { in getEditText()
59 return (EditText) dialog.findViewById(android.R.id.edit); in getEditText()
85 final EditText editText = view.findViewById(android.R.id.edit); in onBindDialogView()
DCustomEditTextPreference.java28 import android.widget.EditText;
61 public EditText getEditText() { in getEditText()
65 return (EditText) dialog.findViewById(android.R.id.edit); in getEditText()
91 final EditText editText = view.findViewById(android.R.id.edit); in onBindDialogView()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DCustomEditTextPreferenceTest.java26 import android.widget.EditText;
54 final EditText editText = spy(new EditText(RuntimeEnvironment.application)); in bindDialogView_shouldRequestFocus()
DCustomEditTextPreferenceComaptTest.java26 import android.widget.EditText;
54 final EditText editText = spy(new EditText(RuntimeEnvironment.application)); in bindDialogView_shouldRequestFocus()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewProcessTextTest.java79 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityResultCancel()
85 Selection.setSelection(((EditText) mTextView).getText(), 0, mTextView.getText().length()); in testProcessTextActivityResultCancel()
95 mActivityRule.runOnUiThread(() -> mTextView = new EditText(mActivity)); in testProcessTextActivityNoData()
101 Selection.setSelection(((EditText) mTextView).getText(), 0, mTextView.getText().length()); in testProcessTextActivityNoData()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextLongTextPerfTest.java68 private EditText setupEditText() { in setupEditText()
69 final EditText editText = new EditText(mActivityRule.getActivity()); in setupEditText()
105 final EditText editText = setupEditText(); in testEditText()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java28 import android.widget.EditText;
119 EditText edit = ((EditText) view.findViewById(com.android.internal.R.id.value)); in showDialog()
144 private final EditText mEdit;
146 public PositiveListener(EditText edit) { in PositiveListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DChallengeDialogs.kt33 import android.widget.EditText in <lambda>()
93 dialog.requireViewById<EditText>(R.id.controls_pin_input) in <lambda>()
94 val pin = dialog.requireViewById<EditText>(R.id.controls_pin_input) in <lambda>()
112 val editText = requireViewById<EditText>(R.id.controls_pin_input) in <lambda>()
158 private fun setInputType(editText: EditText, useTextInput: Boolean) { in <lambda>()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DCustomErrorEditText.java22 import android.widget.EditText;
27 public final class CustomErrorEditText extends EditText {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestBasic.java29 import android.widget.EditText;
65 EditText urlEdit = (EditText) currentView.findViewById(R.id.edittext_url); in useSpans()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java32 import android.widget.EditText;
205 if (!(view instanceof EditText)) {
208 EditText editText = (EditText) view;

12345