| /packages/apps/Settings/src/com/android/settings/ |
| SmsDefaultDialog.java | 35 import android.widget.TextView; 190 TextView textView = (TextView) view.findViewById(android.R.id.title); 191 textView.setText(item.label);
|
| AppListPreference.java | 42 import android.widget.TextView; 84 TextView textView = (TextView) view.findViewById(android.R.id.title); 85 textView.setText(getItem(position)); 100 TextView summary = (TextView) view.findViewById(android.R.id.summary);
|
| /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
| AlbumDataAdapter.java | 27 import android.widget.TextView; 97 if (vTextView != null && vTextView instanceof TextView) { 98 TextView textView = (TextView) vTextView; 99 textView.setText(data.title);
|
| /cts/tests/tests/view/src/android/view/cts/ |
| ViewGroupTest.java | 58 import android.widget.TextView; 90 TextView textView = new TextView(mContext); 91 list.add(textView); 92 vg.addView(textView); 98 list.add(textView); 107 TextView textView = new TextView(mContext) [all...] |
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| Folder.java | 45 import android.widget.TextView; 58 View.OnLongClickListener, DropTarget, FolderListener, TextView.OnEditorActionListener, 223 mIconDrawable = ((TextView) v).getCompoundDrawables()[1]; 272 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { 522 final TextView textView = 523 (TextView) mInflater.inflate(R.layout.application, this, false); 524 textView.setCompoundDrawablesWithIntrinsicBounds(null, 526 textView.setText(item.title); 528 textView.setContentDescription(item.contentDescription) [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
| TestListAdapter.java | 33 import android.widget.TextView; 380 TextView textView; 383 textView = (TextView) mLayoutInflater.inflate(layout, parent, false); 385 textView = (TextView) convertView; 389 textView.setText(item.title); 390 textView.setPadding(PADDING, 0, PADDING, 0); 391 textView.setCompoundDrawablePadding(PADDING) [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
| MockTvInputService.java | 45 import android.widget.TextView; 324 TextView textView = (TextView) view.findViewById(R.id.overlay_view_text); 325 textView.addOnLayoutChangeListener(new View.OnLayoutChangeListener() {
|
| /development/samples/Home/src/com/example/android/home/ |
| Home.java | 57 import android.widget.TextView; 668 final TextView textView = (TextView) convertView.findViewById(R.id.label); 669 textView.setCompoundDrawablesWithIntrinsicBounds(null, icon, null, null); 670 textView.setText(info.title);
|
| /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
| TextViewBindingAdapterTest.java | 34 import android.widget.TextView; 45 TextView view = mBinder.numericText; 70 TextView view = mBinder.textDrawableNormal; 95 TextView view = mBinder.textDrawableStartEnd; 111 TextView view = mBinder.textView; 182 private static boolean isAutoTextEnabled(TextView view) { 194 private static TextKeyListener.Capitalize getCapitalization(TextView view) { 212 private static int getMaxLength(TextView view) { 224 TextView view = mBinder.textAllCaps [all...] |
| /packages/apps/Contacts/src/com/android/contacts/editor/ |
| LabeledEditorView.java | 44 import android.widget.TextView; 596 final TextView view = createViewFromResource( 618 private TextView createViewFromResource(int position, View convertView, ViewGroup parent, 620 TextView textView; 623 textView = (TextView) mInflater.inflate(resource, parent, false); 624 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, getResources().getDimension( 626 textView.setTextColor(mTextColorDark); 628 textView = (TextView) convertView [all...] |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
| RVCVXCheckTestActivity.java | 34 import android.widget.TextView; 366 TextView textView = new TextView(this); 367 textView.setText(Html.fromHtml( 370 textView.setMovementMethod(LinkMovementMethod.getInstance()); 371 textView.setPadding(10, 0, 0, 0); 372 getTestLogger().logCustomView(textView); 410 TextView textView = (TextView) dialog.findViewById(android.R.id.message) [all...] |
| /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
| AccessibilityTextTraversalTest.java | 27 import android.widget.TextView; 478 final TextView textView = (TextView) getActivity().findViewById(R.id.text); 483 textView.setVisibility(View.VISIBLE); 484 textView.setText(getString(R.string.a_b)); 520 && event.getClassName().equals(TextView.class.getName()) 534 assertEquals(1, Selection.getSelectionStart(textView.getText())); 535 assertEquals(1, Selection.getSelectionEnd(textView.getText())); 554 && event.getClassName().equals(TextView.class.getName() [all...] |
| /cts/tests/tests/widget/src/android/widget/cts/ |
| ArrayAdapterTest.java | 30 import android.widget.TextView; 127 final TextView textView = new TextView(mContext); 128 textView.setText(STR3); 140 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText()); 141 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText()); 142 assertEquals(STR3, ((TextView) mArrayAdapter.getDropDownView(2, null, null)).getText()); 144 assertEquals(STR3, textView.getText()); 145 assertSame(textView, mArrayAdapter.getView(0, textView, null)) [all...] |
| /developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
| AttractionsGridPagerAdapter.java | 40 import android.widget.TextView; 111 TextView textView = (TextView) view.findViewById(R.id.textView); 119 (FrameLayout.LayoutParams) textView.getLayoutParams(); 123 textView.setLayoutParams(params); 127 textView.setText(attraction.name); 133 textView.setText(mContext.getString( 143 TextView descTextView = (TextView) cardScrollView.findViewById(R.id.textView) [all...] |
| /developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
| AttractionsGridPagerAdapter.java | 40 import android.widget.TextView; 111 TextView textView = (TextView) view.findViewById(R.id.textView); 119 (FrameLayout.LayoutParams) textView.getLayoutParams(); 123 textView.setLayoutParams(params); 127 textView.setText(attraction.name); 133 textView.setText(mContext.getString( 143 TextView descTextView = (TextView) cardScrollView.findViewById(R.id.textView) [all...] |
| /development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
| AttractionsGridPagerAdapter.java | 40 import android.widget.TextView; 111 TextView textView = (TextView) view.findViewById(R.id.textView); 119 (FrameLayout.LayoutParams) textView.getLayoutParams(); 123 textView.setLayoutParams(params); 127 textView.setText(attraction.name); 133 textView.setText(mContext.getString( 143 TextView descTextView = (TextView) cardScrollView.findViewById(R.id.textView) [all...] |
| /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
| BassBoostTest.java | 30 import android.widget.TextView; 69 TextView textView; 87 textView = (TextView)findViewById(R.id.bbStrengthMin); 88 textView.setText("0"); 89 textView = (TextView)findViewById(R.id.bbStrengthMax); 90 textView.setText("1000"); 92 textView = (TextView)findViewById(R.id.bbStrengthValue) [all...] |
| EqualizerTest.java | 30 import android.widget.TextView; 71 TextView textView; 100 textView = (TextView)findViewById(R.id.eqParam1Value); 101 mParameters[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, textView); 111 textView = (TextView)findViewById(R.id.eqParam2Value); 112 mParameters[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, textView); 122 textView = (TextView)findViewById(R.id.eqParam3Value) [all...] |
| PresetReverbTest.java | 30 import android.widget.TextView; 95 TextView textView = (TextView)findViewById(R.id.presetrvbParam1Value); 96 mParameters[0] = new PresetParam(mPresetReverb, (short)0, (short)(sPresetNames.length - 1), seekBar, textView); 173 public PresetParam(PresetReverb presetrvb, short min, short max, SeekBar seekBar, TextView textView) { 174 super (min, max, seekBar, textView, "");
|
| VirtualizerTest.java | 30 import android.widget.TextView; 69 TextView textView; 85 textView = (TextView)findViewById(R.id.virtStrengthMin); 86 textView.setText("0"); 87 textView = (TextView)findViewById(R.id.virtStrengthMax); 88 textView.setText("1000"); 90 textView = (TextView)findViewById(R.id.virtStrengthValue) [all...] |
| /frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
| BlasBenchmark.java | 27 import android.widget.TextView; 51 private TextView mTextView; 248 TextView textView = new TextView(this); 249 textView.setTextSize(20); 250 textView.setText("BLAS BenchMark Running."); 251 setContentView(textView);
|
| /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
| RecyclerViewFocusRecoveryTest.java | 31 import android.widget.TextView; 449 fvh = new SimpleFocusViewHolder(new TextView(parent.getContext())); 474 public final TextView textView; 481 textView = (TextView) root.findViewById(R.id.text_view); 489 textView.setFocusableInTouchMode(focusable); 494 textView.setFocusable(focusable); 500 textView.setText(getText(item)); 505 return textView; [all...] |
| /packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
| SelectCalendarsSyncAdapter.java | 36 import android.widget.TextView; 224 TextView textView = (TextView) view.findViewById(id); 225 textView.setText(text);
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
| ContactTileAdapter.java | 29 import android.widget.TextView; 390 final TextView textView = (TextView) (convertView == null ? getDivider() : convertView); 391 setDividerPadding(textView, position == 0); 392 return textView; 411 private TextView getDivider() { 415 private void setDividerPadding(TextView headerTextView, boolean isFirstRow) {
|
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
| BaseContentFragment.java | 34 import android.widget.TextView; 228 public TextView getTitle() { 230 return (TextView) mFragment.getView().findViewById(R.id.title); 253 public TextView getBreadCrumb() { 255 return (TextView) mFragment.getView().findViewById(R.id.breadcrumb); 258 public TextView getDescription() { 260 return (TextView) mFragment.getView().findViewById(R.id.description); 275 TextView textView = (TextView) parent.findViewById(textViewResourceId) [all...] |