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

123

/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/UnifiedEmail/src/com/android/mail/utils/
H A DStyleUtils.java36 public static void stripUnderlinesAndLinkUrls(TextView textView, argument
38 final Spannable spannable = (Spannable) textView.getText();
63 public static void stripUnderlinesAndUrl(TextView textView) { argument
64 stripUnderlinesAndLinkUrls(textView, null /* onClickListener */);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DPhoneNumberFormatter.java40 String countryCode, TextView textView, boolean formatAfterWatcherSet) {
42 mTextView = textView;
71 TextView textView) {
72 setPhoneNumberFormattingTextWatcher(context, textView,
84 Context context, TextView textView, boolean formatAfterWatcherSet) {
86 textView, formatAfterWatcherSet)
39 TextWatcherLoadAsyncTask( String countryCode, TextView textView, boolean formatAfterWatcherSet) argument
70 setPhoneNumberFormattingTextWatcher(Context context, TextView textView) argument
83 setPhoneNumberFormattingTextWatcher( Context context, TextView textView, boolean formatAfterWatcherSet) argument
/packages/apps/Settings/src/com/android/settings/
H A DLinkifyUtils.java49 public static boolean linkify(TextView textView, StringBuilder text, argument
54 textView.setText(text);
60 textView.setText(text);
65 textView.setText(text.toString(), BufferType.SPANNABLE);
66 textView.setMovementMethod(LinkMovementMethod.getInstance());
67 Spannable spannableContent = (Spannable) textView.getText();
H A DMultiLinePreference.java44 TextView textView = (TextView) view.findViewById(android.R.id.title);
45 if (textView != null) {
46 textView.setSingleLine(false);
/packages/apps/TV/src/com/android/tv/dvr/
H A DDvrPlayActivity.java40 TextView textView = (TextView) findViewById(R.id.placeHolderText);
42 textView.setText(scheduledRecording.toString());
44 textView.setText(R.string.ut_result_not_found_title); // TODO(DVR) update error text
/packages/services/Telecomm/src/com/android/server/telecom/
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/PhoneCommon/src/com/android/phone/common/util/
H A DViewUtil.java95 public static void resizeText(TextView textView, int originalTextSize, int minTextSize) { argument
96 final Paint paint = textView.getPaint();
97 final int width = textView.getWidth();
99 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, originalTextSize);
100 float ratio = width / paint.measureText(textView.getText().toString());
102 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX,
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
H A DCopyContactDetailDialog.java58 TextView textView = (TextView) inflater.inflate(R.layout.copy_contact_dialog_view, null,
60 textView.setText(mContactDetail);
63 textView.setContentDescription(vocalizedDisplayName);
64 return textView;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCursorAnchorInfoUtils.java90 * @param textView the target text view from which {@link CursorAnchorInfoCompatWrapper} is to
98 @Nonnull final TextView textView) {
102 return CursorAnchorInfoCompatWrapper.wrap(extractFromTextViewInternal(textView));
107 * @param textView the target text view from which {@link CursorAnchorInfo} is to be extracted.
113 private static CursorAnchorInfo extractFromTextViewInternal(@Nonnull final TextView textView) { argument
114 final Layout layout = textView.getLayout();
121 final int selectionStart = textView.getSelectionStart();
122 builder.setSelectionRange(selectionStart, textView.getSelectionEnd());
125 final Matrix viewToScreenMatrix = new Matrix(textView.getMatrix());
127 textView
97 extractFromTextView( @onnull final TextView textView) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDisplayUtils.java199 public static void setDisplayName(Context context, Contact contactData, TextView textView) { argument
200 if (textView == null) {
203 setDataOrHideIfNone(getDisplayName(context, contactData), textView);
210 public static void setCompanyName(Context context, Contact contactData, TextView textView) { argument
211 if (textView == null) {
214 setDataOrHideIfNone(getCompany(context, contactData), textView);
221 public static void setPhoneticName(Context context, Contact contactData, TextView textView) { argument
222 if (textView == null) {
225 setDataOrHideIfNone(getPhoneticName(context, contactData), textView);
232 public static void setAttribution(Context context, Contact contactData, TextView textView) { argument
243 setDataOrHideIfNone(CharSequence textToDisplay, TextView textView) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DViewPagerTabs.java158 final TextView textView = new TextView(getContext());
159 textView.setText(tabTitle);
160 textView.setBackgroundResource(R.drawable.contact_picker_tab_background_selector);
161 textView.setGravity(Gravity.CENTER);
162 textView.setOnClickListener(new OnClickListener() {
171 textView.setTypeface(textView.getTypeface(), mTextStyle);
174 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize);
177 textView.setTextColor(mTextColor);
179 textView
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DMoreContactUtils.java198 final TextView textView = (TextView) View.inflate(context, R.layout.list_separator, null);
199 textView.setText(context.getString(textResourceId));
200 return textView;
207 public static void setHeaderViewBottomPadding(Context context, TextView textView, argument
217 textView.setPaddingRelative(textView.getPaddingStart(), topPadding,
218 textView.getPaddingEnd(), textView.getPaddingBottom());
/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);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DViewPagerTabs.java192 TextView textView = (TextView) layout.findViewById(R.id.count);
194 textView.setText(Integer.toString(mUnreadCounts[position]));
195 textView.setVisibility(View.VISIBLE);
202 textView.setVisibility(View.INVISIBLE);
207 final TextView textView = new TextView(getContext());
208 textView.setText(tabTitle);
209 textView.setBackgroundResource(R.drawable.view_pager_tab_background);
213 textView.setTypeface(textView.getTypeface(), mTextStyle);
216 textView
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
H A DSpannedTestUtils.java38 * @param textView the text view from which to get the text
40 public static void checkHtmlText(String expectedHtmlText, TextView textView) { argument
41 String actualHtmlText = Html.toHtml((Spanned) textView.getText());
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
H A DHeaderDrawerItem.java55 final TextView textView = (TextView) headerView.findViewById(R.id.header_text);
56 textView.setText(mResource);
H A DFooterItem.java98 final TextView textView = (TextView) footerItemView.
100 textView.setText(getTextResourceId());
/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/ExactCalculator/src/com/android/calculator2/
H A DAlertDialogFragment.java81 final TextView textView = (TextView) inflater.inflate(R.layout.dialog_message,
83 textView.setText(args.getCharSequence(KEY_MESSAGE));
85 .setView(textView)
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DAddContactsConfirmationDialog.java76 final TextView textView = (TextView) view.findViewById(R.id.participant_name);
77 textView.setText(mNormalizedDestination);
82 textView.setContentDescription(vocalizedDisplayName);
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerView.java77 * @param textView view to measure and onb to which add start padding
79 private void addStartPadding(TextView textView) { argument
84 paint.setTextSize(textView.getTextSize());
85 paint.setTypeface(textView.getTypeface());
96 textView.setPadding((int) (gapPadding * widths[largest]), 0, 0, 0);
/packages/apps/TV/src/com/android/tv/guide/
H A DTimeListAdapter.java72 TextView textView = (TextView) itemView.findViewById(R.id.time);
74 textView.setText(time);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorAccountsChangedActivity.java97 final TextView textView = (TextView) view.findViewById(R.id.text);
98 textView.setText(getString(R.string.contact_editor_prompt_multiple_accounts));
115 final TextView textView = (TextView) view.findViewById(R.id.text);
120 textView.setText(getString(R.string.contact_editor_prompt_one_account,
143 final TextView textView = (TextView) view.findViewById(R.id.text);
147 textView.setText(getString(R.string.contact_editor_prompt_zero_accounts));

Completed in 4756 milliseconds

123