/cts/tests/tests/widget/src/android/widget/cts/ |
EditTextTest.java | 28 import android.widget.EditText; 48 new EditText(mContext); 50 new EditText(mContext, null); 52 new EditText(mContext, null, 0); 54 new EditText(mContext, mAttributeSet); 56 new EditText(mContext, mAttributeSet, 0); 59 new EditText(null); 65 new EditText(null, null); 71 new EditText(null, null); 78 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 />
|
/external/chromium_org/content/test/data/accessibility/ |
input-text-name-calc-expected-android.txt | 4 android.widget.EditText clickable editable_text focusable name='Title0' 5 android.widget.EditText clickable editable_text focusable name='Title1' 6 android.widget.EditText clickable editable_text focusable name='Label2' 7 android.widget.EditText clickable editable_text focusable name='Label3' 8 android.widget.EditText editable_text focusable 9 android.widget.EditText clickable editable_text focusable name='Title5' 10 android.widget.EditText clickable editable_text focusable name='Label6'
|
spinbutton-expected-android.txt | 2 android.widget.EditText focusable range_current_value=5
|
/external/robolectric/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...] |
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/ |
SendActivity.java | 17 import android.widget.EditText; 37 EditText editText = (EditText) findViewById(R.id.enterDataEditText); 38 editText.setOnKeyListener(new OnKeyListener() { 44 EditText editText = (EditText) view; 46 responseText.setText(editText.getText()); 58 EditText editText = (EditText) findViewById(R.id.sendDataEditText) [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorDisplay.java | 27 import android.widget.EditText; 31 * Provides vertical scrolling for the input/result EditText. 77 /* the EditText should still accept letters (eg. 'sin') 86 EditText text = (EditText) getChildAt(i); 114 EditText editor = (EditText) getCurrentView(); 119 EditText getEditText() { 120 return (EditText) getCurrentView(); 124 EditText text = (EditText) getCurrentView() [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);
|
/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 | 25 import android.widget.EditText; 53 EditText editText = getEditText(); 55 int length = editText.getText() != null ? editText.getText().length() : 0; 56 if (!TextUtils.isEmpty(editText.getText())) { 59 editText.setSelection(length); 62 editText.setSelection(0); 65 editText.setSelection(0, length);
|
/external/robolectric/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...] |