/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | StyleUtils.java | 36 public static void stripUnderlinesAndLinkUrls(TextView textView, argument 38 final Spannable spannable = (Spannable) textView.getText(); 39 final URLSpan[] urls = textView.getUrls(); 54 public static void stripUnderlinesAndUrl(TextView textView) { argument 55 stripUnderlinesAndLinkUrls(textView, null /* onClickListener */);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | TextViewCompatUtils.java | 35 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 D | PhoneNumberFormatter.java | 37 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 D | PhoneNumberFormatter.java | 37 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/services/Telecomm/src/com/android/server/telecom/ |
H A D | MultiLineTitleEditTextPreference.java | 68 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 D | ViewUtil.java | 95 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/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ViewPagerTabs.java | 153 final TextView textView = new TextView(getContext()); 154 textView.setText(tabTitle); 155 textView.setBackgroundResource(R.drawable.view_pager_tab_background); 156 textView.setGravity(Gravity.CENTER); 157 textView.setOnClickListener(new OnClickListener() { 164 textView.setOnLongClickListener(new OnTabLongClickListener(position)); 168 textView.setTypeface(textView.getTypeface(), mTextStyle); 171 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, mTextSize); 174 textView [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CursorAnchorInfoUtils.java | 81 * @param textView the target text view from which {@link CursorAnchorInfo} is to be extracted. 85 public static CursorAnchorInfo getCursorAnchorInfo(final TextView textView) { argument 86 Layout layout = textView.getLayout(); 93 final int selectionStart = textView.getSelectionStart(); 94 builder.setSelectionRange(selectionStart, textView.getSelectionEnd()); 97 final Matrix viewToScreenMatrix = new Matrix(textView.getMatrix()); 99 textView.getLocationOnScreen(viewOriginInScreen); 109 textView.getLineBounds(0, lineBoundsWithOffset); 111 - lineBoundsWithoutOffset.left - textView.getScrollX(); 113 - lineBoundsWithoutOffset.top - textView [all...] |
/packages/apps/Browser/src/com/android/browser/addbookmark/ |
H A D | FolderSpinnerAdapter.java | 90 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/Contacts/src/com/android/contacts/detail/ |
H A D | ContactDisplayUtils.java | 199 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/ContactsCommon/src/com/android/contacts/common/ |
H A D | MoreContactUtils.java | 190 final TextView textView = (TextView) View.inflate(context, R.layout.list_separator, null); 191 textView.setText(context.getString(textResourceId)); 192 return textView; 199 public static void setHeaderViewBottomPadding(Context context, TextView textView, argument 209 textView.setPaddingRelative(textView.getPaddingStart(), topPadding, 210 textView.getPaddingEnd(), textView.getPaddingBottom());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | AddAdapter.java | 84 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/format/ |
H A D | SpannedTestUtils.java | 38 * @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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
H A D | TutorialEN.java | 91 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 D | TextCandidatesViewManager.java | 201 /** 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/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerView.java | 80 * @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/activities/ |
H A D | ContactEditorAccountsChangedActivity.java | 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); 140 textView.setText(getString(R.string.contact_editor_prompt_zero_accounts));
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | TutorialJAJP.java | 93 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 D | IntegrationTestUtils.java | 147 for (TextView textView : getAllViews(TextView.class, getRootView(activity))) { 148 if (textView.getText().toString().contains(text)) { 149 matchingViews.add(textView);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | SelectPhoneAccountDialogFragment.java | 120 holder.textView = (TextView) rowView.findViewById(R.id.text); 131 holder.textView.setText(account.getLabel()); 137 TextView textView; field in class:SelectPhoneAccountDialogFragment.SelectAccountListAdapter.ViewHolder
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | IconPreferenceScreen.java | 54 TextView textView = (TextView) view.findViewById(android.R.id.title);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
H A D | MenuItemPresenter.java | 147 private boolean prepareTextView(TextView textView, String title) { argument 150 textView.setText(title); 151 textView.setVisibility(View.VISIBLE); 153 textView.setVisibility(View.GONE);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Calculator.java | 277 public void onTextSizeChanged(final TextView textView, float oldSize) { argument 285 final float textScale = oldSize / textView.getTextSize(); 287 (textView.getWidth() / 2.0f - textView.getPaddingEnd()); 289 (textView.getHeight() / 2.0f - textView.getPaddingBottom()); 293 ObjectAnimator.ofFloat(textView, View.SCALE_X, textScale, 1.0f), 294 ObjectAnimator.ofFloat(textView, View.SCALE_Y, textScale, 1.0f), 295 ObjectAnimator.ofFloat(textView, View.TRANSLATION_X, translationX, 0.0f), 296 ObjectAnimator.ofFloat(textView, Vie [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | LabeledEditorView.java | 557 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/providers/MediaProvider/src/com/android/providers/media/ |
H A D | RingtonePickerActivity.java | 227 TextView textView = (TextView) getLayoutInflater().inflate( 229 textView.setText(textResId); 230 listView.addHeaderView(textView);
|