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

1 2 3 4 5 67 8 91011>>

  /cts/tests/tests/widget/src/android/widget/cts/
ArrayAdapterTest.java 39 import android.widget.TextView;
145 final TextView textView = new TextView(mContext);
146 textView.setText(STR3);
158 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText());
159 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText());
160 assertEquals(STR3, ((TextView) mArrayAdapter.getDropDownView(2, null, null)).getText());
162 assertEquals(STR3, textView.getText());
163 assertSame(textView, mArrayAdapter.getView(0, textView, null))
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
ResourceLoaderTest.java 6 import android.widget.TextView;
72 TextView textView = (TextView) view.findViewById(android.R.id.text1);
73 assertThat(textView.getText().toString(), equalTo("land"));
90 TextView textView = (TextView) view.findViewById(android.R.id.text1);
91 assertThat(textView.getText().toString(), equalTo("default"));
ViewLoaderTest.java 70 TextView textView = (TextView) view.findViewById(android.R.id.text1);
71 assertThat(textView.getText().toString(), equalTo("default"));
78 TextView textView = (TextView) view.findViewById(android.R.id.text1);
79 assertThat(textView.getText().toString(), equalTo("xlarge"));
86 TextView textView = (TextView) view.findViewById(android.R.id.text1)
    [all...]
  /frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
KeyboardUtil.java 26 import android.widget.TextView;
132 final TextView textView) throws InterruptedException {
137 textView.setKeyListener(
139 textView.setText("", TextView.BufferType.EDITABLE);
145 return textView.onCreateInputConnection(new EditorInfo());
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
AnimatedRecyclerView.java 37 import android.widget.TextView;
131 vh.textView.animate().translationX(0f).alpha(1f)
141 vh.textView.setTranslationX(0f);
142 vh.textView.setAlpha(1f);
161 info.text = ((MyViewHolder) viewHolder).textView.getText();
169 info.text = ((MyViewHolder) viewHolder).textView.getText();
231 * (vh.textView.getTranslationX() / vh.textView.getWidth()));
234 vh.textView.setText(finalText);
237 vh.textView.setText(pre.text)
    [all...]
AsyncListUtilActivity.java 29 import android.widget.TextView;
73 TextView textView;
75 super(new TextView(context));
76 textView = (TextView) itemView;
97 holder.textView.setText("loading...");
99 holder.textView.setText(itemString);
NestedRecyclerViewActivity.java 26 import android.widget.TextView;
51 TextView mTextView;
53 public ViewHolder(TextView itemView) {
68 TextView textView = (TextView) inflater.inflate(R.layout.nested_item, parent, false);
69 textView.setMinimumWidth(300);
70 textView.setMinimumHeight(300);
71 return new ViewHolder(textView);
  /packages/apps/DocumentsUI/src/com/android/documentsui/ui/
Snackbars.java 24 import android.widget.TextView;
78 TextView textView = (TextView)snackbarLayout.findViewById(
80 textView.setGravity(Gravity.CENTER_HORIZONTAL);
81 textView.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
82 textView.setCompoundDrawablesWithIntrinsicBounds(imageRes, 0, 0, 0);
  /development/samples/ApiDemos/src/com/example/android/apis/os/
TriggerSensors.java 27 import android.widget.TextView;
51 private TextView mTextView;
53 TriggerListener(Context context, TextView textView) {
55 mTextView = textView;
72 private TextView mTextView;
101 mTextView = (TextView)findViewById(R.id.text);
  /frameworks/base/core/tests/coretests/src/android/view/
PopupWindowVisibility.java 62 AutoCompleteTextView textView = findViewById(R.id.auto);
63 textView.setAdapter(autoAdapter);
  /frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
R$id.class 
  /packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
LinkablePreferenceTest.java 26 import android.widget.TextView;
72 TextView textView = mView.findViewById(android.R.id.title);
73 assertThat(textView.getMovementMethod()).isNotNull();
  /packages/apps/TV/src/com/android/tv/guide/
TimeListAdapter.java 25 import android.widget.TextView;
72 TextView textView = (TextView) itemView.findViewById(R.id.time);
74 textView.setText(time);
  /packages/apps/UnifiedEmail/src/com/android/mail/drawer/
FooterItem.java 22 import android.widget.TextView;
98 final TextView textView = (TextView) footerItemView.
100 textView.setText(getTextResourceId());
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
ErrorFragment.java 28 import android.widget.TextView;
37 private TextView mTextView;
169 mTextView = (TextView) root.findViewById(R.id.message);
229 private static FontMetricsInt getFontMetricsInt(TextView textView) {
231 paint.setTextSize(textView.getTextSize());
232 paint.setTypeface(textView.getTypeface());
236 private static void setTopMargin(TextView textView, int topMargin) {
237 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams()
    [all...]
ErrorSupportFragment.java 31 import android.widget.TextView;
40 private TextView mTextView;
172 mTextView = (TextView) root.findViewById(R.id.message);
232 private static FontMetricsInt getFontMetricsInt(TextView textView) {
234 paint.setTextSize(textView.getTextSize());
235 paint.setTypeface(textView.getTypeface());
239 private static void setTopMargin(TextView textView, int topMargin) {
240 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams()
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
AbstractDetailsDescriptionPresenter.java 24 import android.widget.TextView;
40 final TextView mTitle;
41 final TextView mSubtitle;
42 final TextView mBody;
58 mTitle = (TextView) view.findViewById(R.id.lb_details_description_title);
59 mSubtitle = (TextView) view.findViewById(R.id.lb_details_description_subtitle);
60 mBody = (TextView) view.findViewById(R.id.lb_details_description_body);
131 public TextView getTitle() {
135 public TextView getSubtitle() {
139 public TextView getBody()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactEditorAccountsChangedActivity.java 31 import android.widget.TextView;
133 final TextView textView = (TextView) view.findViewById(R.id.text);
134 textView.setText(getString(R.string.contact_editor_prompt_multiple_accounts));
150 final TextView textView = (TextView) view.findViewById(R.id.text);
155 textView.setText(getString(R.string.contact_editor_prompt_one_account,
178 final TextView textView = (TextView) view.findViewById(R.id.text)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
SuggestionsPopupWindowTest.java 74 final TextView textView = (TextView) getActivity().findViewById(R.id.textview);
75 textView.post(
77 final Spannable text = (Spannable) textView.getText();
88 onView(withId(R.id.textview)).perform(click());
89 onView(withId(R.id.textview)).perform(replaceText(text));
95 final TextView textView = (TextView) getActivity().findViewById(R.id.textview)
    [all...]
  /frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DeviceDiscoveryService.java 61 import android.widget.TextView;
308 TextView view = convertView instanceof TextView
309 ? (TextView) convertView
315 private void bind(TextView textView, DeviceFilterPair device) {
316 textView.setText(device.getDisplayName());
317 textView.setBackgroundColor(
321 textView.setCompoundDrawablesWithIntrinsicBounds(
326 textView.setOnClickListener((view) ->
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
Picker.java 33 import android.widget.TextView;
105 * Returns the {@link Picker}'s item's {@link TextView}'s id from within the
108 * TextView}.
115 * Sets the {@link Picker}'s item's {@link TextView}'s id from within the
118 * TextView}.
119 * @param textViewId View id of TextView inside a Picker item, or 0 if the Picker item is a
120 * TextView.
212 TextView separator = (TextView) inflater.inflate(
367 final TextView textView
    [all...]
  /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/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...]
  /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...]

Completed in 1922 milliseconds

1 2 3 4 5 67 8 91011>>