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

12 3 4

  /cts/tests/src/android/widget/cts/
ViewGroupStubActivity.java 23 import android.widget.TextView;
39 TextView textView = (TextView)findViewById(com.android.cts.stub.R.id.viewgrouptest_stub);
40 textView.setText("test");
  /frameworks/base/core/tests/coretests/src/android/view/
PopupWindowVisibility.java 62 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.auto);
63 textView.setAdapter(autoAdapter);
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...]
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/
ScrollViewButtonsAndLabels.java 25 import android.widget.TextView;
80 TextView textView = new TextView(this);
81 textView.setText("Text View " + i);
82 mLinearLayout.addView(textView, p);
  /development/samples/Home/src/com/example/android/home/
ApplicationsStackLayout.java 29 import android.widget.TextView;
305 TextView textView = (TextView) inflater.inflate(R.layout.favorite, group, false);
308 textView.setCompoundDrawables(null, info.icon, null, null);
309 textView.setText(info.title);
311 textView.setTag(info.intent);
312 textView.setOnClickListener(this);
314 return textView;
  /external/replicaisland/src/com/replica/replicaisland/
ConversationDialogActivity.java 35 import android.widget.TextView;
85 private void formatPages(Conversation conversation, TextView textView) {
87 final int maxWidth = textView.getWidth();
88 final int maxHeight = textView.getHeight();
89 paint.setTextSize(textView.getTextSize());
90 paint.setTypeface(textView.getTypeface());
192 TextView title = (TextView)findViewById(R.id.speakername);
204 TextView textView = (TextView)findViewById(R.id.typewritertext)
    [all...]
  /cts/tests/tests/holo/src/android/holo/cts/
ThemeAdapter.java 23 import android.widget.TextView;
185 TextView textView;
187 textView = (TextView) convertView;
189 textView = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1,
193 textView.setText(themeInfo.mName);
194 return textView;
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...]
  /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));
ExpandableList1.java 31 import android.widget.TextView;
65 String title = ((TextView) info.targetView).getText().toString();
111 public TextView getGenericView() {
116 TextView textView = new TextView(ExpandableList1.this);
117 textView.setLayoutParams(lp);
119 textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
121 textView.setPaddingRelative(36, 0, 0, 0);
123 textView.setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START)
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/
MainActivity.java 31 import android.widget.TextView;
111 TextView textView = new TextView(getActivity());
112 textView.setGravity(Gravity.CENTER);
113 textView.setText(R.string.tab_photos);
114 return textView;
123 TextView textView = new TextView(getActivity())
    [all...]
  /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"));
AbsSpinnerTest.java 13 import android.widget.TextView;
105 assertThat(((TextView) spinner.getSelectedView()).getText().toString(),
114 assertThat(((TextView) spinner.getSelectedView()).getText().toString(),
124 TextView textView = new TextView(getContext());
125 textView.setText(getItem(position));
126 return textView;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
SectionedAlbumDataAdapter.java 26 import android.widget.TextView;
185 if (vTextView != null && vTextView instanceof TextView) {
186 TextView textView = (TextView) vTextView;
187 textView.setText((String) getItem(position));
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 92 import android.widget.TextView;
93 import android.widget.TextView.BufferType;
94 import android.widget.TextView.OnEditorActionListener;
99 * Test {@link TextView}.
103 private TextView mTextView;
132 new TextView(mActivity);
134 new TextView(mActivity, null);
136 new TextView(mActivity, null, 0);
141 TextView tv = findTextView(R.id.textview_text);
152 mTextView = new TextView(mActivity)
    [all...]
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...]
  /cts/tests/tests/text/src/android/text/style/cts/
URLSpanTest.java 28 import android.widget.TextView;
65 final TextView textView = (TextView) mActivity.findViewById(R.id.url);
74 urlSpan.onClick(textView);
  /cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
Test4DetailFragment.java 30 import android.widget.TextView;
171 TextView textView = new TextView(getActivity());
172 textView.setGravity(Gravity.CENTER);
174 textView.setText("[ " + Integer.toString(args.getInt(ARG_SECTION_NUMBER)) + " ]");
175 return textView;
  /external/robolectric/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"));
  /frameworks/base/core/java/android/content/
SyncActivityTooManyDeletes.java 30 import android.widget.TextView;
78 TextView textView = new TextView(this);
81 textView.setText(String.format(tooManyDeletesDescFormat.toString(),
88 ll.addView(textView, lp);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewPropertyAlphaActivity.java 38 import android.widget.TextView;
54 startAnim(R.id.textview);
72 findViewById(R.id.textview).invalidate();
77 TextView textView = (TextView) findViewById(R.id.spantext);
78 if (textView != null) {
93 textView.setText(text);
  /packages/apps/Contacts/src/com/android/contacts/activities/
ContactEditorAccountsChangedActivity.java 29 import android.widget.TextView;
92 final TextView textView = (TextView) findViewById(R.id.text);
93 textView.setText(getString(R.string.contact_editor_prompt_multiple_accounts));
109 final TextView textView = (TextView) findViewById(R.id.text);
114 textView.setText(getString(R.string.contact_editor_prompt_one_account,
136 final TextView textView = (TextView) findViewById(R.id.text)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
MoreContactUtils.java 30 import android.widget.TextView;
187 * containing {@link android.widget.TextView} is set using the given textResourceId.
191 TextView textView = (TextView) view.findViewById(R.id.title);
192 textView.setText(context.getString(textResourceId));
  /packages/apps/Phone/src/com/android/phone/
SimContacts.java 52 import android.widget.TextView;
331 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1);
332 if (textView != null) {
333 menu.setHeaderTitle(textView.getText());
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
TutorialEN.java 53 import android.widget.TextView;
91 TextView textView;
125 textView = (TextView) inflate.inflate(R.layout.bubble_text, null);
126 textView.setBackgroundDrawable(bubbleBackground);
127 textView.setText(text);
129 textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
131 window.setContentView(textView);
137 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv)
    [all...]

Completed in 517 milliseconds

12 3 4