HomeSort by relevance Sort by last modified time
    Searched refs:textView (Results 201 - 225 of 371) sorted by null

1 2 3 4 5 6 7 891011>>

  /cts/tests/tests/text/src/android/text/util/cts/
LinkifyTest.java 35 import android.widget.TextView;
134 TextView tv = new TextView(mContext);
149 assertFalse(Linkify.addLinks((TextView) null, 0));
155 Linkify.addLinks((TextView) null, Linkify.WEB_URLS);
162 TextView tv = new TextView(mContext);
179 tv = new TextView(mContext);
191 Linkify.addLinks((TextView) null, LINKIFY_TEST_PATTERN, "Test:");
197 TextView tv = new TextView(mContext)
    [all...]
  /developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
CustomRecyclerAdapter.java 26 import android.widget.TextView;
50 private final TextView mTextView;
54 mTextView = (TextView) view.findViewById(R.id.textView);
  /developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
CustomRecyclerAdapter.java 26 import android.widget.TextView;
50 private final TextView mTextView;
54 mTextView = (TextView) view.findViewById(R.id.textView);
  /development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
CustomRecyclerAdapter.java 26 import android.widget.TextView;
50 private final TextView mTextView;
54 mTextView = (TextView) view.findViewById(R.id.textView);
  /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...]
  /frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
BlasBenchmark.java 27 import android.widget.TextView;
51 private TextView mTextView;
246 TextView textView = new TextView(this);
247 textView.setTextSize(20);
248 textView.setText("BLAS BenchMark Running.");
249 setContentView(textView);
  /frameworks/support/design/tests/src/android/support/design/testutils/
TestUtilsActions.java 40 import android.widget.TextView;
144 * Sets text content on {@link TextView}
150 return isAssignableFrom(TextView.class);
155 return "TextView set text";
162 TextView textView = (TextView) view;
163 textView.setText(text);
290 * Sets compound drawables on {@link TextView}
298 return isAssignableFrom(TextView.class)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/widget/
MessageFragment.java 33 import android.widget.TextView;
48 private TextView remainingChar;
84 remainingChar = (TextView) view.findViewById(R.id.remaining_characters);
86 remainingChar = (TextView) view.findViewById(R.id.remaining_characters);
93 TextView textView = (TextView) inflater.inflate(R.layout.selectable_text_view, null);
94 textView.setOnClickListener(this);
95 textView.setText(message);
96 messageContainer.addView(textView);
    [all...]
  /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/experimental/FilledApp/src/foo/bar/filled/
CustomLinearLayout.java 17 import android.widget.TextView;
134 if (view instanceof TextView) {
135 TextView textView = (TextView) view;
136 structure.setText(textView.getText(), textView.getSelectionStart(),
137 textView.getSelectionEnd());
  /frameworks/support/wear/src/android/support/wear/widget/drawer/
WearableActionDrawerView.java 44 import android.widget.TextView;
357 public final TextView textView;
362 textView = (TextView) view.findViewById(R.id.wearable_support_action_drawer_title);
410 holder.textView.setText(title);
411 holder.textView.setContentDescription(title);
418 holder.textView.setText(mTitle);
451 public final TextView textView;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/drawer/
DrawerAdapter.java 27 import android.widget.TextView;
226 final TextView titleView = (TextView) result.findViewById(R.id.title);
230 final TextView newBadge = (TextView) result.findViewById(R.id.assistant_new_badge);
244 final TextView textView = (TextView) result.findViewById(R.id.title);
245 textView.setText(item.text);
257 final TextView title = (TextView) result.findViewById(R.id.title)
    [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...]
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
TwoWayBindingAdapterTest.java 236 makeVisible(mBinder.textView, mBinder.numberPicker);
237 assertTrue(focusOn(mBinder.textView));
261 assertTrue(focusOn(mBinder.textView));
361 makeVisible(mBinder.textView);
366 assertEquals("", mBinder.textView.getText().toString());
367 mBinder.textView.setText("Hello World");
379 assertEquals("Hello World", mBinder.textView.getText().toString());
564 makeVisible(mBinder.included.editText1, mBinder.textView);
569 assertEquals("", mBinder.textView.getText().toString());
584 assertEquals("Hello World", mBinder.textView.getText().toString())
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/util/
TestUtils.java 37 import android.widget.TextView;
427 public static void verifyCompoundDrawables(@NonNull TextView textView,
430 final Context context = textView.getContext();
431 final Drawable[] compoundDrawables = textView.getCompoundDrawables();
458 public static void verifyCompoundDrawablesRelative(@NonNull TextView textView,
461 final Context context = textView.getContext();
462 final Drawable[] compoundDrawablesRelative = textView.getCompoundDrawablesRelative();
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 57 import android.widget.TextView;
168 final TextView textView = (TextView) frameLayout.findViewById(R.id.framelayout_textview);
169 WidgetTestUtils.assertScaledPixels(30, textView.getMeasuredHeight(), mActivity);
170 WidgetTestUtils.assertScaledPixels(60, textView.getMeasuredWidth(), mActivity);
171 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight());
172 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
176 textView.setVisibility(View.GONE);
195 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight())
    [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/v1/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"));
  /frameworks/base/core/java/android/widget/
AutoCompleteTextView.java 72 * AutoCompleteTextView textView = (AutoCompleteTextView)
74 * textView.setAdapter(adapter);
109 private TextView mHintView;
280 // getDropDownAnchorView method will simply return this TextView, as a
336 final TextView hintView = (TextView) LayoutInflater.from(mPopupContext).inflate(
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
SegmentedButtons.java 26 import android.widget.TextView;
64 final TextView c = (TextView) getChildAt(i);
73 protected void setSelectedStyle(TextView textView, boolean selected) {
74 textView.setTypeface(selected ? MEDIUM : REGULAR);
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
LoginActivity.java 23 import android.widget.TextView;
81 TextView textView = (TextView) view;
82 CharSequence text = textView.getText();
  /frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
EmojiInputFilterTest.java 39 import android.widget.TextView;
54 final TextView textView = mock(TextView.class);
58 mInputFilter = new EmojiInputFilter(textView);
  /frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
MultiPageUi.java 33 import android.widget.TextView;
146 final TextView textView =
147 (TextView) view.findViewById(R.id.wearable_support_navigation_drawer_item_text);
149 textView.setText(mAdapter.getItemText(position));
  /packages/apps/Launcher3/src/com/android/launcher3/folder/
FolderPagedView.java 228 final BubbleTextView textView = (BubbleTextView) mInflater.inflate(
230 textView.applyFromShortcutInfo(item);
231 textView.setOnClickListener(mFolder);
232 textView.setOnLongClickListener(mFolder);
233 textView.setOnFocusChangeListener(mFocusIndicatorHelper);
234 textView.setOnKeyListener(mKeyListener);
236 textView.setLayoutParams(new CellLayout.LayoutParams(
238 return textView;

Completed in 2060 milliseconds

1 2 3 4 5 6 7 891011>>