/frameworks/base/core/tests/coretests/src/android/widget/ |
AutoCompleteTextViewCallbacks.java | 38 AutoCompleteTextView textView = theActivity.getTextView(); 42 textView.requestFocus(); 63 AutoCompleteTextView textView = theActivity.getTextView(); 67 textView.requestFocus(); 71 textView.post(new Runnable() { 89 textView.post(new Runnable() { 112 AutoCompleteTextView textView = theActivity.getTextView(); 116 textView.requestFocus(); 125 textView.post(new Runnable() {
|
AutoCompleteTextViewPopup.java | 47 final AutoCompleteTextView textView = theActivity.getTextView(); 51 textView.requestFocus(); 56 waitAssertListSelection(textView, ListView.INVALID_POSITION); 61 textView.setListSelection(0); 65 waitAssertListSelection("set selection to (0)", textView, 0); 69 waitAssertListSelection("move selection to (1)", textView, 1); 72 clearText(textView); 79 final AutoCompleteTextView textView = theActivity.getTextView(); 83 textView.requestFocus(); 88 waitAssertListSelection(textView, ListView.INVALID_POSITION) [all...] |
/cts/tests/src/android/app/cts/ |
MockApplicationActivity.java | 21 import android.widget.TextView; 28 TextView textView = new TextView(this); 29 textView.setText("Test"); 30 setContentView(textView);
|
/packages/apps/Phone/src/com/android/phone/ |
MultiLineTitleEditTextPreference.java | 23 import android.widget.TextView; 37 * handle to the "title" TextView. 60 // The "title" TextView inside an EditTextPreference defaults to 62 // We override onBindView() purely to look up that TextView and call 68 TextView textView = (TextView) view.findViewById(com.android.internal.R.id.title); 69 if (textView != null) { 70 textView.setSingleLine(false);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextView_SaveStateTest.java | 27 import android.widget.TextView; 30 * Test {@link TextView.SavedState}. 32 @TestTargetClass(TextView.SavedState.class) 41 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); 46 state = TextView.SavedState.CREATOR.createFromParcel(source); 58 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); 78 TextView textView = new TextView(getInstrumentation().getTargetContext()) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete6.java | 35 MultiAutoCompleteTextView textView = (MultiAutoCompleteTextView) findViewById(R.id.edit); 36 textView.setAdapter(adapter); 37 textView.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
|
AutoComplete1.java | 35 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit); 36 textView.setAdapter(adapter);
|
AutoComplete2.java | 37 AutoCompleteTextView textView = (AutoCompleteTextView) 39 textView.setAdapter(adapter);
|
AutoComplete3.java | 37 AutoCompleteTextView textView = (AutoCompleteTextView) 39 textView.setAdapter(adapter); 40 textView = (AutoCompleteTextView) findViewById(R.id.edit2); 41 textView.setAdapter(adapter);
|
AutoComplete5.java | 40 AutoCompleteTextView textView = (AutoCompleteTextView) 42 textView.setAdapter(adapter);
|
HoverInterceptorView.java | 25 import android.widget.TextView; 57 TextView textView = (TextView) findViewById(R.id.intercept_message); 59 textView.setText(getResources().getString( 63 textView.setText(getResources().getString(
|
ScrollView2.java | 24 import android.widget.TextView; 39 TextView textView = new TextView(this); 40 textView.setText("Text View " + i); 45 layout.addView(textView, p);
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
AutoCompleteTextViewActivityLandscape.java | 32 import android.widget.TextView; 54 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit); 55 textView.setAdapter(adapter);
|
AutoCompleteTextViewActivityPortrait.java | 28 import android.widget.TextView; 48 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit); 49 textView.setAdapter(adapter);
|
InputTypeActivity.java | 25 import android.widget.TextView; 150 TextView textView = (TextView) view.findViewById(R.id.label); 151 textView.setText(label);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AddAdapter.java | 26 import android.widget.TextView; 84 TextView textView = (TextView) convertView; 85 textView.setTag(item); 86 textView.setText(item.text); 87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
RunQueue.java | 21 import android.widget.TextView; 39 TextView textView = new TextView(this); 40 textView.setText("RunQueue"); 41 textView.setId(R.id.simple_view); 43 setContentView(textView);
|
PopupWindowVisibility.java | 62 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.auto); 63 textView.setAdapter(autoAdapter);
|
/packages/apps/Settings/src/com/android/settings/ |
IconPreferenceScreen.java | 26 import android.widget.TextView; 54 TextView textView = (TextView) view.findViewById(android.R.id.title);
|
/packages/apps/Browser/src/com/android/browser/addbookmark/ |
FolderSpinnerAdapter.java | 28 import android.widget.TextView; 90 TextView textView = (TextView) view; 92 textView.setText(mRecentFolderName); 95 textView.setText(mOtherFolderDisplayText); 97 textView.setText(labelResource); 99 textView.setGravity(Gravity.CENTER_VERTICAL); 101 textView.setCompoundDrawablesWithIntrinsicBounds(drawable, null,
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
ContactDetailDisplayUtilsTest.java | 30 import android.widget.TextView; 73 TextView textView = (TextView) parent.findViewById(textViewId); 74 assertNotNull(textView); 75 assertEquals(View.VISIBLE, textView.getVisibility()); 76 assertEquals(expectedText, textView.getText().toString()); 81 TextView textView = (TextView) parent.findViewById(textViewId) [all...] |
/cts/tests/src/android/widget/cts/ |
ViewGroupStubActivity.java | 23 import android.widget.TextView; 39 TextView textView = (TextView)findViewById(com.android.cts.stub.R.id.viewgrouptest_stub); 40 textView.setText("test");
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ScrollViewButtonsAndLabels.java | 25 import android.widget.TextView; 80 TextView textView = new TextView(this); 81 textView.setText("Text View " + i); 82 mLinearLayout.addView(textView, p);
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 29 import android.widget.TextView; 305 TextView textView = (TextView) inflater.inflate(R.layout.favorite, group, false); 308 textView.setCompoundDrawables(null, info.icon, null, null); 309 textView.setText(info.title); 311 textView.setTag(info.intent); 312 textView.setOnClickListener(this); 314 return textView;
|
/cts/tests/tests/holo/src/android/holo/cts/ |
ThemeAdapter.java | 23 import android.widget.TextView; 185 TextView textView; 187 textView = (TextView) convertView; 189 textView = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, 193 textView.setText(themeInfo.mName); 194 return textView;
|