HomeSort by relevance Sort by last modified time
    Searched defs:textView (Results 51 - 75 of 95) sorted by null

1 23 4

  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
TutorialJAJP.java 53 import android.widget.TextView;
93 TextView textView;
127 textView = (TextView) inflate.inflate(R.layout.bubble_text, null);
128 textView.setBackgroundDrawable(bubbleBackground);
129 textView.setText(text);
131 textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
133 window.setContentView(textView);
139 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListAdapter.java 31 import android.widget.TextView;
313 TextView textView;
316 textView = (TextView) mLayoutInflater.inflate(layout, parent, false);
318 textView = (TextView) convertView;
322 textView.setText(item.title);
323 textView.setPadding(PADDING, 0, PADDING, 0);
324 textView.setCompoundDrawablePadding(PADDING)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 48 import android.widget.TextView;
312 TextView textView = (TextView) convertView;
313 textView.setText(item.label);
314 textView.setCompoundDrawablesWithIntrinsicBounds(item.icon, null, null, null);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
VoiceRecognition.java 38 import android.widget.TextView;
167 TextView textView = (TextView) findViewById(R.id.language_preference);
168 textView.setText(language);
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
LookupActivity.java 43 import android.widget.TextView;
56 private TextView mTitle;
99 mTitle = (TextView) findViewById(R.id.title);
201 TextView textView = (TextView) messageView.findViewById(R.id.about_credits);
202 int defaultColor = textView.getTextColors().getDefaultColor();
203 textView.setTextColor(defaultColor);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TabHostTest.java 9 import android.widget.TextView;
112 TextView tv = new TextView(null);
120 TextView textView = (TextView) tabHost.getCurrentView();
122 assertThat(textView.getText().toString(), equalTo("The Text of Foo"));
134 TextView textView = (TextView) tabHost.getCurrentView()
    [all...]
  /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
VisualizerTest.java 37 import android.widget.TextView;
71 TextView textView;
245 TextView textView = (TextView)findViewById(viewId);
247 textView.setText(text);
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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 45 import android.widget.TextView;
61 protected abstract TextView getStyleableTextView();
204 protected TextView setText(int index, String stringReference) {
206 if (child instanceof TextView) {
207 TextView textView = (TextView) child;
208 setText(textView, stringReference);
209 return textView;
215 protected TextView setTextById(int id, String stringReference)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
PageDialogsHandler.java 31 import android.widget.TextView;
156 ((TextView) pageInfoView.findViewById(R.id.address)).setText(url);
157 ((TextView) pageInfoView.findViewById(R.id.title)).setText(title);
354 TextView successString = (TextView)table.findViewById(R.id.success);
393 TextView textView = (TextView) inflater.inflate(R.layout.ssl_warning,
395 textView.setText(error);
396 parent.addView(textView);
    [all...]
  /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);
  /packages/apps/Launcher2/src/com/android/launcher2/
Folder.java 45 import android.widget.TextView;
58 View.OnLongClickListener, DropTarget, FolderListener, TextView.OnEditorActionListener,
224 mIconDrawable = ((TextView) v).getCompoundDrawables()[1];
273 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
526 final TextView textView =
527 (TextView) mInflater.inflate(R.layout.application, this, false);
528 textView.setCompoundDrawablesWithIntrinsicBounds(null,
530 textView.setText(item.title);
531 textView.setTag(item)
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewGroupTest.java 56 import android.widget.TextView;
89 TextView textView = new TextView(mContext);
90 list.add(textView);
91 vg.addView(textView);
97 list.add(textView);
106 TextView textView = new TextView(mContext)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
RemoteViewsTest.java 47 import android.widget.TextView;
128 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text);
129 assertEquals("", textView.getText().toString());
134 assertEquals(expected, textView.getText().toString());
138 assertEquals("", textView.getText().toString());
275 TextView text = new TextView(mActivity);
295 assertTrue(mRemoteViews.onLoadClass(TextView.class))
    [all...]
ArrayAdapterTest.java 27 import android.widget.TextView;
121 final TextView textView = new TextView(mContext);
122 textView.setText(STR3);
134 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText());
135 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText());
136 assertEquals(STR3, ((TextView) mArrayAdapter.getDropDownView(2, null, null)).getText());
138 assertEquals(STR3, textView.getText());
139 assertSame(textView, mArrayAdapter.getView(0, textView, null))
    [all...]
TabHostTest.java 30 import android.widget.TextView;
251 TextView textView = (TextView) tabHost.getCurrentView();
252 assertEquals(TabHostStubActivity.INITIAL_VIEW_TEXT, textView.getText().toString());
291 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0);
295 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2);
307 child0 = (TextView) tabHost.getTabContentView().getChildAt(0)
    [all...]
  /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);
  /packages/apps/Contacts/src/com/android/contacts/activities/
ActionBarAdapter.java 36 import android.widget.TextView;
112 TextView textView = (TextView) super.getView(position, convertView, parent);
113 textView.setTextAppearance(mContext,
115 return textView;
119 TextView textView = (TextView) super.getDropDownView(position, convertView, parent);
120 textView.setTextAppearance(mContext
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
LabeledEditorView.java 45 import android.widget.TextView;
557 TextView textView;
560 textView = (TextView) mInflater.inflate(resource, parent, false);
561 textView.setAllCaps(true);
562 textView.setGravity(Gravity.END | Gravity.CENTER_VERTICAL);
563 textView.setTextAppearance(mContext, android.R.style.TextAppearance_Small);
564 textView.setTextColor(mTextColor);
565 textView.setEllipsize(TruncateAt.MIDDLE)
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextTraversalTest.java 26 import android.widget.TextView;
472 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
477 textView.setText(getString(R.string.a_b));
513 && event.getClassName().equals(TextView.class.getName())
527 assertEquals(1, Selection.getSelectionStart(textView.getText()));
528 assertEquals(1, Selection.getSelectionEnd(textView.getText()));
547 && event.getClassName().equals(TextView.class.getName())
561 assertEquals(2, Selection.getSelectionStart(textView.getText()))
    [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/providers/MediaProvider/src/com/android/providers/media/
RingtonePickerActivity.java 32 import android.widget.TextView;
217 TextView textView = (TextView) getLayoutInflater().inflate(
219 textView.setText(textResId);
220 listView.addHeaderView(textView);

Completed in 1116 milliseconds

1 23 4