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

12 3 4

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 45 import android.widget.TextView;
61 protected abstract TextView getStyleableTextView();
200 protected TextView setText(int index, String stringReference) {
202 if (child instanceof TextView) {
203 TextView textView = (TextView) child;
204 setText(textView, stringReference);
205 return textView;
211 protected TextView setTextById(int id, String stringReference)
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextTraversalTest.java 24 import android.widget.TextView;
449 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
454 textView.setText(getString(R.string.a_b));
489 && event.getClassName().equals(TextView.class.getName())
503 assertEquals(1, Selection.getSelectionStart(textView.getText()));
504 assertEquals(1, Selection.getSelectionEnd(textView.getText()));
523 && event.getClassName().equals(TextView.class.getName())
537 assertEquals(2, Selection.getSelectionStart(textView.getText()))
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ArrayAdapterTest.java 27 import android.widget.TextView;
121 final TextView textView = new TextView(mContext);
122 textView.setText(STR3);
134 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText());
135 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText());
136 assertEquals(STR3, ((TextView) mArrayAdapter.getDropDownView(2, null, null)).getText());
138 assertEquals(STR3, textView.getText());
139 assertSame(textView, mArrayAdapter.getView(0, textView, null))
    [all...]
CursorAdapterTest.java 36 import android.widget.TextView;
182 TextView textView = new TextView(mContext);
183 textView.setText("getView test");
189 cursorAdapter.getView(0, textView, mParent);
196 cursorAdapter.getView(100, textView, mParent);
202 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent);
207 retView = (TextView) cursorAdapter.getView(1, textView, mParent)
    [all...]
CursorTreeAdapterTest.java 32 import android.widget.TextView;
419 TextView retView;
420 TextView textView = new TextView(mContext);
421 textView.setText(expectedStr);
427 adapter.getGroupView(0, true, textView, mParent);
436 adapter.getGroupView(10, true, textView, mParent);
442 retView = (TextView) adapter.getGroupView(1, true, null, mParent);
447 retView = (TextView) adapter.getGroupView(0, true, textView, mParent)
    [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/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");
  /external/chromium/chrome/browser/ui/cocoa/
bug_report_window_controller.h 107 - (BOOL)control:(NSControl*)control textView:(NSTextView*)textView
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
AutoCompleteTextViewActivityLandscape.java 32 import android.widget.TextView;
54 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit);
55 textView.setAdapter(adapter);
  /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;
  /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/
TextCandidatesViewManager.java 54 import android.widget.TextView;
101 private TextView mViewTabSymbol;
103 private TextView mViewTabEmoticon;
185 private TextView mViewCandidateTemplate;
191 private TextView mFullViewPrevView;
201 /** List of textView for CandiData List 1st for Symbol mode */
202 private ArrayList<TextView> mTextViewArray1st = new ArrayList<TextView>();
203 /** List of textView for CandiData List 2st for Symbol mode */
204 private ArrayList<TextView> mTextViewArray2nd = new ArrayList<TextView>()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListAdapter.java 31 import android.widget.TextView;
313 TextView textView;
316 textView = (TextView) mLayoutInflater.inflate(layout, parent, false);
318 textView = (TextView) convertView;
322 textView.setText(item.title);
323 textView.setPadding(PADDING, 0, PADDING, 0);
324 textView.setCompoundDrawablePadding(PADDING)
    [all...]
  /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);
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailDisplayUtils.java 57 import android.widget.TextView;
228 public static void setSocialSnippet(Context context, Result contactData, TextView statusView,
361 TextView htmlView = (TextView) rootView.findViewById(R.id.stream_item_html);
362 TextView attributionView = (TextView) rootView.findViewById(
364 TextView commentsView = (TextView) rootView.findViewById(R.id.stream_item_comments);
378 * Sets the display name of this contact to the given {@link TextView}. If
381 public static void setDisplayName(Context context, Result contactData, TextView textView)
    [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);
  /frameworks/base/core/tests/coretests/src/android/view/
PopupWindowVisibility.java 62 AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.auto);
63 textView.setAdapter(autoAdapter);
  /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/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...]
  /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...]
  /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/tests/src/com/android/contacts/util/
IntegrationTestUtils.java 31 import android.widget.TextView;
75 /** Returns the result of running {@link TextView#getText()} on the ui thread. */
76 public CharSequence getText(final TextView view) throws Throwable {
137 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as
140 public List<TextView> getTextViewsWithString(final Activity activity, final String text)
142 return runOnUiThreadAndGetTheResult(new Callable<List<TextView>>() {
144 public List<TextView> call() throws Exception {
145 List<TextView> matchingViews = new ArrayList<TextView>();
    [all...]
  /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;
  /development/samples/AndroidBeamDemo/src/com/example/android/beam/
Beam.java 36 import android.widget.TextView;
45 TextView mInfoText;
53 mInfoText = (TextView) findViewById(R.id.textView);
57 mInfoText = (TextView) findViewById(R.id.textView);
130 * Parses the NDEF Message from the intent and prints to the TextView
  /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));

Completed in 1821 milliseconds

12 3 4