HomeSort by relevance Sort by last modified time
    Searched refs:textView (Results 51 - 75 of 150) sorted by null

1 23 4 5 6

  /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
EffectParameter.java 21 import android.widget.TextView;
33 protected TextView mValueText;
35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) {
39 mValueText = 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);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/format/
SpannedTestUtils.java 25 import android.widget.TextView;
38 * @param textView the text view from which to get the text
40 public static void checkHtmlText(String expectedHtmlText, TextView textView) {
41 String actualHtmlText = Html.toHtml((Spanned) textView.getText());
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
BaseSensorSemiAutomatedTestActivity.java 30 import android.widget.TextView;
50 private TextView mLogView;
64 mLogView = (TextView) this.findViewById(R.id.log_text);
191 private final TextView mTextView;
194 public TextAppender(TextView textView, String message, int textColor) {
195 mTextView = textView;
206 public TextAppender(TextView textView, String message) {
207 this(textView, message, textView.getCurrentTextColor())
    [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;
  /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 41 import android.widget.TextView;
228 public static void setSocialSnippet(Context context, Contact contactData, TextView statusView,
349 TextView htmlView = (TextView) rootView.findViewById(R.id.stream_item_html);
350 TextView attributionView = (TextView) rootView.findViewById(
352 TextView commentsView = (TextView) rootView.findViewById(R.id.stream_item_comments);
366 * Sets the display name of this contact to the given {@link TextView}. If
369 public static void setDisplayName(Context context, Contact contactData, TextView textView)
    [all...]
  /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"));
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...]
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerView.java 25 import android.widget.TextView;
32 private TextView mHoursOnes, mMinutesOnes;
33 private TextView mMinutesTens;
34 private TextView mSeconds;
60 mHoursOnes = (TextView) findViewById(R.id.hours_ones);
64 mMinutesTens = (TextView) findViewById(R.id.minutes_tens);
68 mMinutesOnes = (TextView) findViewById(R.id.minutes_ones);
72 mSeconds = (TextView) findViewById(R.id.seconds);
80 * @param textView view to measure and onb to which add start padding
82 private void addStartPadding(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);
  /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 = (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...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
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;
  /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/ContactsCommon/TestCommon/src/com/android/contacts/common/test/
IntegrationTestUtils.java 29 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 {
138 * Gets all {@link TextView} objects whose {@link TextView#getText()} contains the given text as
141 public List<TextView> getTextViewsWithString(final Activity activity, final String text)
143 return runOnUiThreadAndGetTheResult(new Callable<List<TextView>>() {
145 public List<TextView> call() throws Exception {
146 List<TextView> matchingViews = new ArrayList<TextView>();
    [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));
193 textView.setAllCaps(true);
  /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;

Completed in 1307 milliseconds

1 23 4 5 6