Searched refs:textView (Results 1 - 25 of 38) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DTextViewCompatUtils.java35 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(final TextView textView, argument
38 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
41 CompatUtils.invoke(textView, null, METHOD_setCompoundDrawablesRelativeWithIntrinsicBounds,
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DPhoneNumberFormatter.java37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { argument
39 mTextView = textView;
69 TextView textView) {
70 new TextWatcherLoadAsyncTask(GeoUtil.getCurrentCountryIso(context), textView)
68 setPhoneNumberFormattingTextWatcher(Context context, TextView textView) argument
/packages/apps/Mms/src/com/android/mms/util/
H A DPhoneNumberFormatter.java37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { argument
39 mTextView = textView;
69 TextView textView) {
70 new TextWatcherLoadAsyncTask(MmsApp.getApplication().getCurrentCountryIso(), textView)
68 setPhoneNumberFormattingTextWatcher(Context context, TextView textView) argument
/packages/apps/Phone/src/com/android/phone/
H A DMultiLineTitleEditTextPreference.java68 TextView textView = (TextView) view.findViewById(com.android.internal.R.id.title);
69 if (textView != null) {
70 textView.setSingleLine(false);
/packages/apps/Contacts/tests/src/com/android/contacts/detail/
H A DContactDetailDisplayUtilsTest.java74 TextView textView = (TextView) parent.findViewById(textViewId);
75 assertNotNull(textView);
76 assertEquals(View.VISIBLE, textView.getVisibility());
77 assertEquals(expectedText, textView.getText().toString());
82 TextView textView = (TextView) parent.findViewById(textViewId);
83 assertNotNull(textView);
84 assertEquals(View.VISIBLE, textView.getVisibility());
85 assertSpannableEquals(Html.fromHtml(expectedHtml), textView.getText());
/packages/apps/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinnerAdapter.java90 TextView textView = (TextView) view;
92 textView.setText(mRecentFolderName);
95 textView.setText(mOtherFolderDisplayText);
97 textView.setText(labelResource);
99 textView.setGravity(Gravity.CENTER_VERTICAL);
101 textView.setCompoundDrawablesWithIntrinsicBounds(drawable, null,
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAddAdapter.java84 TextView textView = (TextView) convertView;
85 textView.setTag(item);
86 textView.setText(item.text);
87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
H A DFolder.java526 final TextView textView =
528 textView.setCompoundDrawablesWithIntrinsicBounds(null,
530 textView.setText(item.title);
531 textView.setTag(item);
533 textView.setOnClickListener(this);
534 textView.setOnLongClickListener(this);
550 textView.setOnKeyListener(new FolderKeyEventListener());
551 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true);
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
H A DSpannedTestUtils.java37 * @param textView the text view from which to get the text
39 public static void checkHtmlText(String expectedHtmlText, TextView textView) { argument
40 String actualHtmlText = Html.toHtml((Spanned) textView.getText());
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DTutorialEN.java91 TextView textView; field in class:TutorialEN.Bubble
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);
163 int textHeight = chooseSize(window, inputView, text, textView);
164 offy -= textView.getPaddingTop() + textHeight;
170 textView.setOnTouchListener(new View.OnTouchListener() {
195 textView
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DTextCandidatesViewManager.java201 /** List of textView for CandiData List 1st for Symbol mode */
203 /** List of textView for CandiData List 2st for Symbol mode */
205 /** Now focus textView index */
887 TextView textView;
931 textView = (TextView) layout.getChildAt(mFullViewWordCount);
932 if (textView == null) {
933 textView = createCandidateView();
934 textView.setLayoutParams(params);
936 mViewCandidateList2nd.addView(textView);
938 mViewCandidateList2nd.updateViewLayout(textView, param
[all...]
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailDisplayUtils.java376 public static void setDisplayName(Context context, Contact contactData, TextView textView) { argument
377 if (textView == null) {
380 setDataOrHideIfNone(getDisplayName(context, contactData), textView);
387 public static void setCompanyName(Context context, Contact contactData, TextView textView) { argument
388 if (textView == null) {
391 setDataOrHideIfNone(getCompany(context, contactData), textView);
398 public static void setPhoneticName(Context context, Contact contactData, TextView textView) { argument
399 if (textView == null) {
402 setDataOrHideIfNone(getPhoneticName(context, contactData), textView);
409 public static void setAttribution(Context context, Contact contactData, TextView textView) { argument
420 setDataOrHideIfNone(CharSequence textToDisplay, TextView textView) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorAccountsChangedActivity.java92 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);
140 textView.setText(getString(R.string.contact_editor_prompt_zero_accounts));
H A DActionBarAdapter.java112 TextView textView = (TextView) super.getView(position, convertView, parent);
113 textView.setTextAppearance(mContext,
115 return textView;
119 TextView textView = (TextView) super.getDropDownView(position, convertView, parent);
120 textView.setTextAppearance(mContext,
122 return textView;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DTutorialJAJP.java93 TextView textView; field in class:TutorialJAJP.Bubble
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);
165 int textHeight = chooseSize(window, inputView, text, textView);
166 offy -= textView.getPaddingTop() + textHeight;
172 textView.setOnTouchListener(new View.OnTouchListener() {
198 textView
[all...]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/
H A DIntegrationTestUtils.java147 for (TextView textView : getAllViews(TextView.class, getRootView(activity))) {
148 if (textView.getText().toString().contains(text)) {
149 matchingViews.add(textView);
/packages/apps/Settings/src/com/android/settings/
H A DIconPreferenceScreen.java54 TextView textView = (TextView) view.findViewById(android.R.id.title);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DLabeledEditorView.java557 TextView textView;
560 textView = (TextView) mInflater.inflate(resource, parent, false);
561 textView.setAllCaps(true);
562 textView.setGravity(Gravity.END | Gravity.CENTER_VERTICAL);
563 textView.setTextAppearance(mContext, android.R.style.TextAppearance_Small);
564 textView.setTextColor(mTextColor);
565 textView.setEllipsize(TruncateAt.MIDDLE);
567 textView = (TextView) convertView;
577 textView.setText(text);
578 return textView;
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DMoreContactUtils.java191 TextView textView = (TextView) view.findViewById(R.id.title);
192 textView.setText(context.getString(textResourceId));
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DRingtonePickerActivity.java217 TextView textView = (TextView) getLayoutInflater().inflate(
219 textView.setText(textResId);
220 listView.addHeaderView(textView);
/packages/apps/Browser/src/com/android/browser/
H A DPageDialogsHandler.java393 TextView textView = (TextView) inflater.inflate(R.layout.ssl_warning,
395 textView.setText(error);
396 parent.addView(textView);
/packages/apps/Email/src/com/android/email/activity/
H A DMessageListItemCoordinates.java222 private static int getLineCount(TextView textView) { argument
223 return textView.getHeight() / textView.getLineHeight();
/packages/apps/Calendar/src/com/android/calendar/event/
H A DAttendeesView.java148 final TextView textView =
150 textView.setText(label);
151 textView.setClickable(false);
152 return textView;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DAlbumDataAdapter.java98 TextView textView = (TextView) vTextView;
99 textView.setText(data.title);
H A DSectionedAlbumDataAdapter.java186 TextView textView = (TextView) vTextView;
187 textView.setText((String) getItem(position));

Completed in 1440 milliseconds

12