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

12 3

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Tutorial.java 32 import android.widget.TextView;
70 TextView textView;
92 textView = (TextView) inflate.inflate(R.layout.bubble_text, null);
93 textView.setBackgroundDrawable(bubbleBackground);
94 textView.setText(text);
95 //textView.setText(textResource1);
96 window.setContentView(textView);
102 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 96 import android.widget.TextView;
97 import android.widget.TextView.BufferType;
98 import android.widget.TextView.OnEditorActionListener;
103 * Test {@link TextView}.
105 @TestTargetClass(TextView.class)
107 private TextView mTextView;
129 method = "TextView",
134 method = "TextView",
139 method = "TextView",
144 new TextView(mActivity)
    [all...]
FrameLayoutTest.java 46 import android.widget.TextView;
215 final TextView textView = (TextView) frameLayout.findViewById(R.id.framelayout_textview);
216 compareScaledPixels(30, textView.getMeasuredHeight());
217 compareScaledPixels(100, textView.getMeasuredWidth());
218 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight());
219 assertEquals(textView.getMeasuredWidth(), frameLayout.getMeasuredWidth());
224 textView.setVisibility(View.GONE);
245 assertEquals(textView.getMeasuredHeight(), frameLayout.getMeasuredHeight())
    [all...]
ArrayAdapterTest.java 27 import android.widget.TextView;
208 final TextView textView = new TextView(mContext);
209 textView.setText(STR3);
221 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText());
222 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText());
223 assertEquals(STR3, ((TextView) mArrayAdapter.getDropDownView(2, null, null)).getText());
225 assertEquals(STR3, textView.getText());
226 assertSame(textView, mArrayAdapter.getView(0, textView, null))
    [all...]
RemoteViewsTest.java 51 import android.widget.TextView;
168 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text);
169 assertEquals("", textView.getText().toString());
174 assertEquals(expected, textView.getText().toString());
178 assertEquals("", textView.getText().toString());
351 TextView text = new TextView(mActivity);
383 assertTrue(mRemoteViews.onLoadClass(TextView.class))
    [all...]
TabHostTest.java 35 import android.widget.TextView;
336 TextView textView = (TextView) tabHost.getCurrentView();
337 assertEquals(TabHostStubActivity.INITIAL_VIEW_TEXT, textView.getText().toString());
387 TextView child0 = (TextView) tabHost.getTabContentView().getChildAt(0);
391 TextView child2 = (TextView) tabHost.getTabContentView().getChildAt(2);
403 child0 = (TextView) tabHost.getTabContentView().getChildAt(0)
    [all...]
CursorAdapterTest.java 36 import android.widget.TextView;
245 TextView textView = new TextView(mContext);
246 textView.setText("getView test");
252 cursorAdapter.getView(0, textView, mParent);
259 cursorAdapter.getView(100, textView, mParent);
265 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent);
270 retView = (TextView) cursorAdapter.getView(1, textView, mParent)
    [all...]
CursorTreeAdapterTest.java 32 import android.widget.TextView;
556 TextView retView;
557 TextView textView = new TextView(mContext);
558 textView.setText(expectedStr);
564 adapter.getGroupView(0, true, textView, mParent);
573 adapter.getGroupView(10, true, textView, mParent);
579 retView = (TextView) adapter.getGroupView(1, true, null, mParent);
584 retView = (TextView) adapter.getGroupView(0, true, textView, mParent)
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
URLSpanTest.java 33 import android.widget.TextView;
96 final TextView textView = (TextView) mActivity.findViewById(R.id.url);
105 urlSpan.onClick(textView);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
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.setPadding(36, 0, 0, 0);
122 return textView;
    [all...]
  /packages/apps/AccountsAndSyncSettings/src/com/android/settings/
SyncActivityTooManyDeletes.java 32 import android.widget.TextView;
79 TextView textView = new TextView(this);
82 textView.setText(String.format(tooManyDeletesDescFormat.toString(),
89 ll.addView(textView, lp);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListAdapter.java 32 import android.widget.TextView;
284 TextView textView;
287 textView = (TextView) mLayoutInflater.inflate(layout, parent, false);
289 textView = (TextView) convertView;
293 textView.setText(item.title);
294 textView.setPadding(PADDING, 0, PADDING, 0);
295 textView.setCompoundDrawablePadding(PADDING)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
SimContacts.java 52 import android.widget.TextView;
333 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1);
334 if (textView != null) {
335 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...]
  /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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AllApps2D.java 35 import android.widget.TextView;
105 final TextView textView = (TextView) convertView;
111 textView.setCompoundDrawablesWithIntrinsicBounds(null, new BitmapDrawable(info.iconBitmap), null, null);
112 textView.setText(info.title);
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 48 import android.widget.TextView;
308 TextView textView = (TextView) convertView;
309 textView.setText(item.label);
310 textView.setCompoundDrawablesWithIntrinsicBounds(item.icon, null, null, null);
  /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/java/com/android/internal/app/
RingtonePickerActivity.java 35 import android.widget.TextView;
206 TextView textView = (TextView) getLayoutInflater().inflate(
208 textView.setText(textResId);
209 listView.addHeaderView(textView);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 45 import android.widget.TextView;
61 protected abstract TextView getStyleableTextView();
180 protected TextView setText(int index, String stringReference) {
182 if (child instanceof TextView) {
183 TextView textView = (TextView) child;
186 textView.setText(value.getValue());
188 textView.setText(stringReference);
190 return textView;
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewGroupTest.java 55 import android.widget.TextView;
117 TextView textView = new TextView(mContext);
118 list.add(textView);
119 vg.addView(textView);
125 list.add(textView);
146 TextView textView = new TextView(mContext)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothTestActivity.java 39 import android.widget.TextView;
403 TextView textView = null;
406 textView = (TextView) mInflater.inflate(layout, parent, false);
408 textView = (TextView) convertView;
411 textView.setText(item.mTitle);
432 textView.setBackgroundResource(backgroundResource);
433 textView.setCompoundDrawablesWithIntrinsicBounds(0, 0, iconResource, 0)
    [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);
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmClock.java 48 import android.widget.TextView;
129 TextView daysOfWeekView =
130 (TextView) digitalClock.findViewById(R.id.daysOfWeek);
141 TextView labelView =
142 (TextView) view.findViewById(R.id.label);
272 // Inflate the custom view and set each TextView's text.
274 TextView textView = (TextView) v.findViewById(R.id.header_time);
275 textView.setText(time)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
EventInfoActivity.java 76 import android.widget.TextView;
197 private TextView mOrganizerView;
346 mOrganizerView = (TextView) findViewById(R.id.organizer);
    [all...]

Completed in 1952 milliseconds

12 3