/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | PhoneNumberFormatter.java | 37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { argument 39 mTextView = textView; 69 TextView textView) { 70 new TextWatcherLoadAsyncTask(ContactsUtils.getCurrentCountryIso(context), textView) 68 setPhoneNumberFormattingTextWatcher(Context context, TextView textView) argument
|
/packages/apps/Phone/src/com/android/phone/ |
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);
|
H A D | SimContacts.java | 331 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1); 332 if (textView != null) { 333 menu.setHeaderTitle(textView.getText());
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
H A D | ContactDetailDisplayUtilsTest.java | 73 TextView textView = (TextView) parent.findViewById(textViewId); 74 assertNotNull(textView); 75 assertEquals(View.VISIBLE, textView.getVisibility()); 76 assertEquals(expectedText, textView.getText().toString()); 81 TextView textView = (TextView) parent.findViewById(textViewId); 82 assertNotNull(textView); 83 assertEquals(View.VISIBLE, textView.getVisibility()); 84 assertSpannableEquals(Html.fromHtml(expectedHtml), textView.getText());
|
/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
H A D | SpannedTestUtils.java | 34 * @param textView the text view from which to get the text 36 public static void checkHtmlText(String expectedHtmlText, TextView textView) { argument 37 String actualHtmlText = Html.toHtml((Spanned) textView.getText());
|
/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/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);
|
H A D | Folder.java | 532 final TextView textView = 534 textView.setCompoundDrawablesWithIntrinsicBounds(null, 536 textView.setText(item.title); 537 textView.setTag(item); 539 textView.setOnClickListener(this); 540 textView.setOnLongClickListener(this); 556 textView.setOnKeyListener(new FolderKeyEventListener()); 557 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true);
|
/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/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactDetailDisplayUtils.java | 370 public static void setDisplayName(Context context, Result contactData, TextView textView) { argument 371 if (textView == null) { 374 setDataOrHideIfNone(getDisplayName(context, contactData), textView); 381 public static void setCompanyName(Context context, Result contactData, TextView textView) { argument 382 if (textView == null) { 385 setDataOrHideIfNone(getCompany(context, contactData), textView); 392 public static void setPhoneticName(Context context, Result contactData, TextView textView) { argument 393 if (textView == null) { 396 setDataOrHideIfNone(getPhoneticName(context, contactData), textView); 403 public static void setAttribution(Context context, Result contactData, TextView textView) { argument 414 setDataOrHideIfNone(CharSequence textToDisplay, TextView textView) argument [all...] |
/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/ |
H A D | TextCandidatesViewManager.java | 559 TextView textView; 586 textView = (TextView) layout.getChildAt(mFullViewWordCount); 587 if (textView == null) { 588 textView = createCandidateView(); 589 textView.setLayoutParams(params); 591 mViewCandidateList2nd.addView(textView); 593 mViewCandidateList2nd.updateViewLayout(textView, params); 598 mFullViewPrevView = textView; 625 textView = (TextView) lineView.getChildAt(mNormalViewWordCountOfLine); 637 textView [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | LabeledEditorView.java | 512 TextView textView; 515 textView = (TextView) mInflater.inflate(resource, parent, false); 516 textView.setAllCaps(true); 517 textView.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); 518 textView.setTextAppearance(mContext, android.R.style.TextAppearance_Small); 519 textView.setTextColor(mTextColor); 520 textView.setEllipsize(TruncateAt.MIDDLE); 522 textView = (TextView) convertView; 532 textView.setText(text); 533 return textView; [all...] |
/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/Contacts/tests/src/com/android/contacts/util/ |
H A D | IntegrationTestUtils.java | 146 for (TextView textView : getAllViews(TextView.class, getRootView(activity))) { 147 if (textView.getText().toString().contains(text)) { 148 matchingViews.add(textView);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | IconPreferenceScreen.java | 54 TextView textView = (TextView) view.findViewById(android.R.id.title);
|
H A D | ActivityPicker.java | 308 TextView textView = (TextView) convertView; 309 textView.setText(item.label); 310 textView.setCompoundDrawablesWithIntrinsicBounds(item.icon, null, null, null);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | DefaultContactBrowseListFragment.java | 204 TextView textView = (TextView) mSearchHeaderView.findViewById( 210 textView.setText(R.string.search_results_searching); 213 textView.setText(R.string.listFoundAllContactsZero); 214 textView.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_SELECTED);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmClock.java | 268 TextView textView = (TextView) v.findViewById(R.id.header_time); 269 textView.setText(time); 270 textView = (TextView) v.findViewById(R.id.header_label); 271 textView.setText(alarm.label);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageListItemCoordinates.java | 216 private static int getLineCount(TextView textView) { argument 217 return textView.getHeight() / textView.getLineHeight();
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | EventInfoFragment.java | 1102 final TextView textView = mWhere; 1103 if (textView != null) { 1104 textView.setAutoLinkMask(0); 1105 textView.setText(location.trim()); 1106 linkifyTextView(textView); 1108 textView.setOnTouchListener(new OnTouchListener() { 1134 private static void linkifyTextView(TextView textView) { argument 1159 boolean linkifyFoundLinks = Linkify.addLinks(textView, 1181 CharSequence text = textView.getText(); 1264 textView [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | PageDialogsHandler.java | 392 TextView textView = (TextView) inflater.inflate(R.layout.ssl_warning, 394 textView.setText(error); 395 parent.addView(textView);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | AttendeesView.java | 145 final TextView textView = 147 textView.setText(label); 148 textView.setClickable(false); 149 return textView;
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | SelectCalendarsSyncAdapter.java | 153 TextView textView = (TextView) view.findViewById(id); 154 textView.setText(text);
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactsUtils.java | 221 TextView textView = (TextView) view.findViewById(R.id.title); 222 textView.setText(context.getString(textResourceId));
|