HomeSort by relevance Sort by last modified time
    Searched refs:textView (Results 76 - 100 of 150) sorted by null

1 2 34 5 6

  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 42 import android.widget.TextView;
157 final TextView textView = (TextView) frameLayout.findViewById(R.id.framelayout_textview);
158 compareScaledPixels(30, textView.getMeasuredHeight());
159 compareScaledPixels(100, textView.getMeasuredWidth());
160 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight());
161 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
166 textView.setVisibility(View.GONE);
187 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight())
    [all...]
  /development/samples/AndroidBeamDemo/src/com/example/android/beam/
Beam.java 36 import android.widget.TextView;
45 TextView mInfoText;
53 mInfoText = (TextView) findViewById(R.id.textView);
57 mInfoText = (TextView) findViewById(R.id.textView);
130 * Parses the NDEF Message from the intent and prints to the TextView
  /development/samples/ApiDemos/src/com/example/android/apis/view/
AutoComplete4.java 35 import android.widget.TextView;
49 AutoCompleteTextView textView = (AutoCompleteTextView)
51 textView.setAdapter(adapter);
65 final TextView view = (TextView) inflater.inflate(
73 ((TextView) view).setText(cursor.getString(COLUMN_DISPLAY_NAME));
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
LoginActivityFromResources.java 24 import android.widget.TextView;
67 TextView textView = (TextView) view;
68 CharSequence text = textView.getText();
LoginActivity.java 23 import android.widget.TextView;
81 TextView textView = (TextView) view;
82 CharSequence text = textView.getText();
  /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/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/holo/src/android/holo/cts/
LayoutAdapter.java 31 import android.widget.TextView;
212 addLayout(R.string.textview, "textview",
213 R.layout.textview, null, NO_TIMEOUT_MS);
346 TextView textView;
348 textView = (TextView) convertView;
350 textView = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1
    [all...]
  /cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
CtsUiAutomatorTest.java 132 .childSelector(new UiSelector().className(android.widget.TextView.class
290 android.widget.TextView.class.getName()).instance(1));
332 UiObject textView = new UiObject(new UiSelector().textContains("["));
334 textView.swipeLeft(10);
335 assertTrue("UiObject swipe left 1->2", "[ 2 ]".equals(textView.getText()));
337 textView.swipeLeft(10);
338 assertTrue("UiObject swipe left 2->3", "[ 3 ]".equals(textView.getText()));
340 textView.swipeLeft(10);
341 assertTrue("UiObject swipe left 3->4", "[ 4 ]".equals(textView.getText()));
343 textView.swipeRight(10)
    [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/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...]
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
CustomArrayAdapter.java 35 import android.widget.TextView;
102 TextView textView = (TextView)convertView.findViewById(R.id.text_view);
107 textView.setText(obj.getTitle());
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
CustomArrayAdapter.java 37 import android.widget.TextView;
81 TextView titleView = (TextView)convertView.findViewById(R.id.title_view);
82 TextView textView = (TextView)convertView.findViewById(R.id.text_view);
87 textView.setText(object.getText());
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TabSpecTest.java 10 import android.widget.TextView;
74 TextView tv = new TextView(null);
81 TextView textView = (TextView) shadowFoo.getContentView();
84 assertThat(textView.getText().toString(), equalTo("The Text of Foo"));
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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
macosxSupport.py 128 from idlelib import textView
130 textView.view_file(root, 'Help', fn)
aboutDialog.py 8 from idlelib import textView
129 textView.view_text(self, title, text)
133 textView.view_file(self, title, fn, encoding)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
macosxSupport.py 128 from idlelib import textView
130 textView.view_file(root, 'Help', fn)
  /developers/build/prebuilts/gradle/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/
MainActivity.java 78 // Set text on a TextView in the RemoteViews programmatically.
81 contentView.setTextViewText(R.id.textView, text);
  /developers/samples/android/ui/notifications/CustomNotifications/CustomNotificationsSample/src/main/java/com/example/android/customnotifications/
MainActivity.java 78 // Set text on a TextView in the RemoteViews programmatically.
81 contentView.setTextViewText(R.id.textView, text);
  /development/samples/browseable/CustomNotifications/src/com.example.android.customnotifications/
MainActivity.java 78 // Set text on a TextView in the RemoteViews programmatically.
81 contentView.setTextViewText(R.id.textView, text);
  /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
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, "");
  /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);
  /frameworks/base/core/tests/coretests/src/android/view/
ListContextMenu.java 35 import android.widget.TextView;
74 TextView view;
77 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null);
79 view = (TextView) convertView;
134 String text = ((TextView) info.targetView).getText().toString();
141 TextView textView = new TextView(this);
142 textView.setText("This is a test of a custom View");
143 menu.setHeaderView(textView);
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
RingtonePickerActivity.java 33 import android.widget.TextView;
227 TextView textView = (TextView) getLayoutInflater().inflate(
229 textView.setText(textResId);
230 listView.addHeaderView(textView);

Completed in 347 milliseconds

1 2 34 5 6