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

1 2 34 5

  /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/droiddriver/src/io/appium/droiddriver/instrumentation/
ViewElement.java 26 import android.widget.TextView;
145 if (view instanceof TextView) {
146 TextView textView = (TextView) view;
147 if (textView.hasSelection()) {
148 attribs.put(Attribute.SELECTION_START, textView.getSelectionStart());
149 attribs.put(Attribute.SELECTION_END, textView.getSelectionEnd());
172 if (!(view instanceof TextView)) {
175 return charSequenceToString(((TextView) view).getText())
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
TriggerManager.java 34 import android.widget.TextView;
177 TextView textView = new TextView(TriggerManager.this);
178 textView.setText(trigger.getEventName() + " " + trigger.getScript().getName());
179 return textView;
  /external/tensorflow/tensorflow/lite/java/ovic/demo/app/
OvicBenchmarkerActivity.java 27 import android.widget.TextView;
69 private TextView textView = null;
78 // TextView used to display the progress, for information purposes only.
79 textView = (TextView) findViewById(R.id.textView);
191 if (textView != null) {
193 textView.setText(
202 textView.setText("Benchmarker failed to run on more than one images.")
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListAdapter.java 33 import android.widget.TextView;
397 TextView textView;
400 textView = (TextView) mLayoutInflater.inflate(layout, parent, false);
402 textView = (TextView) convertView;
406 textView.setText(item.title);
407 textView.setPadding(PADDING, 0, PADDING, 0);
408 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() {
  /cts/tests/tests/assist/src/android/assist/cts/
AssistTestBase.java 45 import android.widget.TextView;
545 if (parentView instanceof TextView) {
546 Log.i(TAG, "view text: " + ((TextView) parentView).getText());
555 if (parentView instanceof TextView) {
564 TextView textView = (TextView) parentView;
565 assertEquals(textView.getTextSize(), parentNode.getTextSize());
566 String viewString = textView.getText().toString();
570 Log.i(TAG, "Verifying text within TextView at the beginning")
    [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);
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextActionTest.java 52 import android.widget.TextView;
107 final TextView textView = (TextView) mActivity.findViewById(R.id.text);
108 makeTextViewVisibleAndSetText(textView, mActivity.getString(R.string.a_b));
124 TextUtils.equals(mActivity.getString(R.string.a_b), textView.getText()));
129 final TextView textView = (TextView) mActivity.findViewById(R.id.text);
134 textView.setVisibility(View.VISIBLE)
    [all...]
AccessibilityTextTraversalTest.java 39 import android.widget.TextView;
524 final TextView textView = (TextView) mActivity.findViewById(R.id.text);
529 textView.setVisibility(View.VISIBLE);
530 textView.setText(getString(R.string.a_b));
566 && event.getClassName().equals(TextView.class.getName())
580 assertEquals(1, Selection.getSelectionStart(textView.getText()));
581 assertEquals(1, Selection.getSelectionEnd(textView.getText()));
600 && event.getClassName().equals(TextView.class.getName()
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ArrayAdapterTest.java 34 import android.widget.TextView;
146 final TextView textView = new TextView(mContext);
147 textView.setText(STR3);
159 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText());
160 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText());
161 assertEquals(STR3, ((TextView) mArrayAdapter.getDropDownView(2, null, null)).getText());
163 assertEquals(STR3, textView.getText());
164 assertSame(textView, mArrayAdapter.getView(0, textView, null))
    [all...]
TabHostTest.java 39 import android.widget.TextView;
289 TextView textView = (TextView) tabHost.getCurrentView();
290 assertEquals(TabHostCtsActivity.INITIAL_VIEW_TEXT, textView.getText().toString());
331 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0);
335 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2);
347 child0 = (TextView) tabHost.getTabContentView().getChildAt(0)
    [all...]
RemoteViewsTest.java 66 import android.widget.TextView;
199 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text);
200 assertEquals("", textView.getText().toString());
205 assertEquals(expected, textView.getText().toString());
209 assertEquals("", textView.getText().toString());
218 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text)
    [all...]
TextViewTest.java 142 import android.widget.TextView;
143 import android.widget.TextView.BufferType;
175 * Test {@link TextView}.
182 private TextView mTextView;
183 private TextView mSecondTextView;
217 * Promotes the TextView to editable and places focus in it to allow simulated typing. Used in
250 new TextView(mActivity);
251 new TextView(mActivity, null);
252 new TextView(mActivity, null, android.R.attr.textViewStyle);
253 new TextView(mActivity, null, 0, android.R.style.Widget_DeviceDefault_TextView)
    [all...]
CursorAdapterTest.java 40 import android.widget.TextView;
214 TextView textView = new TextView(mContext);
215 textView.setText("getView test");
221 cursorAdapter.getView(0, textView, mParent);
228 cursorAdapter.getView(100, textView, mParent);
234 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent);
239 retView = (TextView) cursorAdapter.getView(1, textView, mParent)
    [all...]
CursorTreeAdapterTest.java 42 import android.widget.TextView;
478 TextView retView;
479 TextView textView = new TextView(mContext);
480 textView.setText(expectedStr);
486 adapter.getGroupView(0, true, textView, mParent);
495 adapter.getGroupView(10, true, textView, mParent);
501 retView = (TextView) adapter.getGroupView(1, true, null, mParent);
506 retView = (TextView) adapter.getGroupView(0, true, textView, mParent)
    [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...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CrossProfileCalendarTest.java 354 UiObject2 textView = device.wait(
357 assertThat(textView).isNotNull();
358 assertThat(textView.getText()).isEqualTo(textviewString);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowLayoutInflaterTest.java 32 import android.widget.TextView;
66 TextView textView = view.findViewById(android.R.id.text1);
67 assertThat(textView.getText().toString()).isEqualTo("default");
74 TextView textView = view.findViewById(android.R.id.text1);
75 assertThat(textView.getText().toString()).isEqualTo("xlarge");
82 TextView textView = view.findViewById(android.R.id.text1);
83 assertThat(textView.getText().toString()).isEqualTo("land")
    [all...]
ShadowViewGroupTest.java 21 import android.widget.TextView;
226 TextView textView = new TextView(context);
227 textView.setText("Here's some text!");
228 textView.setVisibility(View.INVISIBLE);
229 child3.addView(textView);
239 " <TextView visibility=\"INVISIBLE\" text=\"Here&#39;s some text!\"/>\n" +
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
PhotoCaptureActivity.java 46 import android.widget.TextView;
124 TextView textView = (TextView) findViewById(R.id.camera_fov_tap_to_take_photo);
125 textView.setTextColor(Color.WHITE);
  /cts/tests/tests/text/src/android/text/util/cts/
LinkifyTest.java 33 import android.widget.TextView;
139 TextView tv = new TextView(mContext);
154 assertFalse(Linkify.addLinks((TextView) null, 0));
160 Linkify.addLinks((TextView) null, Linkify.WEB_URLS);
167 TextView tv = new TextView(mContext);
184 tv = new TextView(mContext);
196 Linkify.addLinks((TextView) null, LINKIFY_TEST_PATTERN, "Test:");
202 TextView tv = new TextView(mContext)
    [all...]

Completed in 2061 milliseconds

1 2 34 5