Searched defs:textView (Results 1 - 14 of 14) sorted by relevance

/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/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/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/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/DeskClock/src/com/android/deskclock/timer/
H A DTimerView.java80 * @param textView view to measure and onb to which add start padding
82 private void addStartPadding(TextView textView) { argument
87 paint.setTextSize(textView.getTextSize());
88 paint.setTypeface(textView.getTypeface());
99 textView.setPadding((int) (gapPadding * widths[largest]), 0, 0, 0);
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailDisplayUtils.java370 public static void setDisplayName(Context context, Contact contactData, TextView textView) { argument
371 if (textView == null) {
374 setDataOrHideIfNone(getDisplayName(context, contactData), textView);
381 public static void setCompanyName(Context context, Contact contactData, TextView textView) { argument
382 if (textView == null) {
385 setDataOrHideIfNone(getCompany(context, contactData), textView);
392 public static void setPhoneticName(Context context, Contact contactData, TextView textView) { argument
393 if (textView == null) {
396 setDataOrHideIfNone(getPhoneticName(context, contactData), textView);
403 public static void setAttribution(Context context, Contact contactData, TextView textView) { argument
414 setDataOrHideIfNone(CharSequence textToDisplay, TextView textView) argument
[all...]
H A DContactDetailFragment.java1773 private void setMaxLines(TextView textView, int maxLines) { argument
1775 textView.setSingleLine(true);
1776 textView.setEllipsize(TextUtils.TruncateAt.END);
1778 textView.setSingleLine(false);
1779 textView.setMaxLines(maxLines);
1780 textView.setEllipsize(null);
/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/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/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java786 private void setMaxLines(TextView textView, int maxLines) { argument
788 textView.setSingleLine(true);
789 textView.setEllipsize(TextUtils.TruncateAt.END);
791 textView.setSingleLine(false);
792 textView.setMaxLines(maxLines);
793 textView.setEllipsize(null);
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java745 * @param textView - The start/stop button
748 private void setStartStopText(final ViewGroup parent, TextView textView, int text) { argument
775 textView.setText(textStr);
776 textView.setContentDescription(textStr);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemViewCoordinates.java609 private static int getLineCount(TextView textView) { argument
611 return textView.getMaxLines();
613 return Math.round(((float) textView.getHeight()) / textView.getLineHeight());
H A DMessageHeaderView.java1375 private static void stripUnderlines(TextView textView, Account account) { argument
1376 final Spannable spannable = (Spannable) textView.getText();
1377 final URLSpan[] urls = textView.getUrls();
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListItemView.java1046 private void setMarqueeText(TextView textView, char[] text, int size) { argument
1048 setMarqueeText(textView, new String(text, 0, size));
1050 textView.setText(text, 0, size);
1054 private void setMarqueeText(TextView textView, CharSequence text) { argument
1061 textView.setText(spannable);
1063 textView.setText(text);

Completed in 222 milliseconds