/cts/tests/tests/widget/src/android/widget/cts/ |
EditTextTest.java | 29 import android.widget.EditText; 49 new EditText(mContext); 51 new EditText(mContext, null); 53 new EditText(mContext, null, 0); 55 new EditText(mContext, mAttributeSet); 57 new EditText(mContext, mAttributeSet, 0); 60 new EditText(null); 66 new EditText(null, null); 72 new EditText(null, null); 79 EditText editText = new EditText(mContext, mAttributeSet) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion3-expected-applyCompletion17.diff | 1 Code completion in completion3.xml for <EditText ^/> selecting android:textColorHighlight: 3 - <EditText ^/> 4 + <EditText android:textColorHighlight="^"/>
|
broken3-expected-applyCompletion14.diff | 1 Code completion in broken3.xml for <EditT^ selecting EditText />: 4 + <EditText ^/>
|
broken3-expected-completion19.txt | 2 EditText />
|
navigation1.xml | 13 <EditText 15 </EditText> 16 <EditText android:text="?android:attr/alertDialogStyle" /> 17 <EditText android:text="?android:alertDialogStyle" />
|
completion3.xml | 3 <EditText />
|
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/windres/ |
edittext.rc | 3 EDITTEXT 1001, 28, 63, 137, 52
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
EditTextTest.java | 17 import android.widget.EditText; 26 assertTrue(new EditText(null).isFocusable()); 27 assertTrue(new EditText(null).isFocusableInTouchMode()); 34 EditText editText = new EditText(null, attrs); 37 editText.setText(excessiveInput); 39 assertThat(editText.getText().toString(), equalTo(excessiveInput.subSequence(0, maxLength))); 45 EditText editText = new EditText(null, attrs) [all...] |
ShadowEditTextTest.java | 3 import android.widget.EditText; 22 EditText editText = new EditText(Robolectric.application, attributeSet); 23 editText.setText("0123456678"); 24 assertThat(editText.getText().toString(), equalTo("01234"));
|
HtmlTest.java | 7 import android.widget.EditText; 35 EditText editText = new EditText(context); 36 editText.setText(Html.fromHtml("<b>some</b> html text")); 37 assertThat(editText.getText().toString(), equalTo("<b>some</b> html text"));
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupNameDialogFragment.java | 31 import android.widget.EditText; 40 protected abstract void initializeGroupLabelEditText(EditText editText); 48 final EditText editText = (EditText) view.findViewById(R.id.group_label); 49 initializeGroupLabelEditText(editText); 53 editText.requestFocus(); 58 onCompleted(editText.getText().toString().trim()); 69 updateOkButtonState(dialog, editText); [all...] |
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
ManyEditTextActivityScrollResize.java | 24 import android.widget.EditText; 47 final EditText editText = new EditText(this); 48 editText.setText(String.valueOf(i)); 49 editText.setId(i); 50 layout.addView(editText);
|
OneEditTextActivitySelected.java | 27 import android.widget.EditText; 35 * Activity with EditText selected initially 51 EditText editText = new EditText(this); 52 editText.requestFocus(); 53 mDefaultFocusedView = editText; 54 layout.addView(editText);
|
DialogActivity.java | 24 import android.widget.EditText; 38 private EditText mEditText; 53 mButton1.setText("Dialog WITHOUT EditText");//(R.string.open_dialog_scrollable); 63 mButton2.setText("Dialog WITH EditText");//(R.string.open_dialog_nonscrollable); 72 mEditText = new EditText(this); 102 EditText editText; 103 editText = new EditText(this); 104 layout.addView(editText); [all...] |
ManyEditTextActivityNoScrollPanScan.java | 27 import android.widget.EditText; 53 final EditText editText = new EditText(this); 54 editText.setText(String.valueOf(i)); 55 editText.setId(i); 56 ((LinearLayout) mRootView).addView(editText);
|
ManyEditTextActivityScrollPanScan.java | 27 import android.widget.EditText; 54 final EditText editText = new EditText(this); 55 editText.setText(String.valueOf(i)); 56 editText.setId(i); 57 layout.addView(editText);
|
/cts/tests/tests/view/src/android/view/cts/ |
View_IdsTest.java | 27 import android.widget.EditText; 39 EditText editText = (EditText) activity.findViewById(R.id.entry); 45 assertNotNull(editText); 54 editText.setId(0x1111); 55 assertEquals(0x1111, editText.getId()); 56 assertSame(editText, (EditText) activity.findViewById(0x1111));
|
/packages/apps/Settings/src/com/android/settings/ |
SelectableEditTextPreference.java | 23 import android.widget.EditText; 51 EditText editText = getEditText(); 53 int length = editText.getText() != null ? editText.getText().length() : 0; 54 if (!TextUtils.isEmpty(editText.getText())) { 57 editText.setSelection(length); 60 editText.setSelection(0); 63 editText.setSelection(0, length);
|
/external/robolectric/v1/src/test/resources/res/layout/ |
request_focus.xml | 8 <EditText 15 <!-- focus should be given to the FrameLayout, *not* the EditText -->
|
request_focus_with_two_edit_texts.xml | 8 <EditText 13 <EditText
|
/frameworks/base/tests/GridLayoutTest/res/layout/ |
grid5.xml | 31 <EditText 49 <EditText 53 <EditText/> 55 <EditText 60 <EditText 70 <EditText
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
ClientTest.java | 31 import android.widget.EditText; 60 EditText app_id = (EditText) findViewById(R.id.app_id); 61 EditText cont = (EditText) findViewById(R.id.cont); 62 EditText pkg = (EditText) findViewById(R.id.pkg); 63 EditText cls = (EditText) findViewById(R.id.cls); 96 EditText app_id = (EditText) findViewById(R.id.app_id) [all...] |
/packages/experimental/PrintApp/res/layout/ |
activity_main.xml | 19 <EditText 23 </EditText> 42 <EditText 46 </EditText> 65 <EditText 69 </EditText> 88 <EditText 92 </EditText> 111 <EditText 115 </EditText> [all...] |
/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; 57 mEditText = new EditText(context, attrs); 115 EditText editText = mEditText [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
EditTextFragment.java | 26 import android.widget.EditText; 89 EditText editText = null; 91 int editTextResId = getArguments().getInt(EXTRA_EDIT_TEXT_RES_ID, R.id.edittext); 94 editText = (EditText) view.findViewById(editTextResId); 105 if (editText != null) { 106 editText.setOnEditorActionListener(this); 107 editText.addTextChangedListener(this); 108 editText.requestFocus() [all...] |