Home
last modified time | relevance | path

Searched refs:textView (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Contacts/tests/src/com/android/contacts/detail/
DContactDetailDisplayUtilsTest.java74 TextView textView = (TextView) parent.findViewById(textViewId); in assertHasText() local
75 assertNotNull(textView); in assertHasText()
76 assertEquals(View.VISIBLE, textView.getVisibility()); in assertHasText()
77 assertEquals(expectedText, textView.getText().toString()); in assertHasText()
82 TextView textView = (TextView) parent.findViewById(textViewId); in assertHasHtmlText() local
83 assertNotNull(textView); in assertHasHtmlText()
84 assertEquals(View.VISIBLE, textView.getVisibility()); in assertHasHtmlText()
85 assertSpannableEquals(Html.fromHtml(expectedHtml), textView.getText()); in assertHasHtmlText()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java887 TextView textView; in setCandidate() local
931 textView = (TextView) layout.getChildAt(mFullViewWordCount); in setCandidate()
932 if (textView == null) { in setCandidate()
933 textView = createCandidateView(); in setCandidate()
934 textView.setLayoutParams(params); in setCandidate()
936 mViewCandidateList2nd.addView(textView); in setCandidate()
938 mViewCandidateList2nd.updateViewLayout(textView, params); in setCandidate()
943 mFullViewPrevView = textView; in setCandidate()
978 textView = (TextView) lineView.getChildAt(mNormalViewWordCountOfLine); in setCandidate()
993 textView.setText(word.candidate); in setCandidate()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberFormatter.java37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { in TextWatcherLoadAsyncTask() argument
39 mTextView = textView; in TextWatcherLoadAsyncTask()
69 TextView textView) { in setPhoneNumberFormattingTextWatcher() argument
70 new TextWatcherLoadAsyncTask(ContactsUtils.getCurrentCountryIso(context), textView) in setPhoneNumberFormattingTextWatcher()
/packages/apps/Mms/src/com/android/mms/util/
DPhoneNumberFormatter.java37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { in TextWatcherLoadAsyncTask() argument
39 mTextView = textView; in TextWatcherLoadAsyncTask()
69 TextView textView) { in setPhoneNumberFormattingTextWatcher() argument
70 new TextWatcherLoadAsyncTask(MmsApp.getApplication().getCurrentCountryIso(), textView) in setPhoneNumberFormattingTextWatcher()
/packages/apps/Browser/src/com/android/browser/addbookmark/
DFolderSpinnerAdapter.java90 TextView textView = (TextView) view; in bindView() local
92 textView.setText(mRecentFolderName); in bindView()
95 textView.setText(mOtherFolderDisplayText); in bindView()
97 textView.setText(labelResource); in bindView()
99 textView.setGravity(Gravity.CENTER_VERTICAL); in bindView()
101 textView.setCompoundDrawablesWithIntrinsicBounds(drawable, null, in bindView()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailDisplayUtils.java376 public static void setDisplayName(Context context, Contact contactData, TextView textView) { in setDisplayName() argument
377 if (textView == null) { in setDisplayName()
380 setDataOrHideIfNone(getDisplayName(context, contactData), textView); in setDisplayName() local
387 public static void setCompanyName(Context context, Contact contactData, TextView textView) { in setCompanyName() argument
388 if (textView == null) { in setCompanyName()
391 setDataOrHideIfNone(getCompany(context, contactData), textView); in setCompanyName() local
398 public static void setPhoneticName(Context context, Contact contactData, TextView textView) { in setPhoneticName() argument
399 if (textView == null) { in setPhoneticName()
402 setDataOrHideIfNone(getPhoneticName(context, contactData), textView); in setPhoneticName() local
409 public static void setAttribution(Context context, Contact contactData, TextView textView) { in setAttribution() argument
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java91 TextView textView; field in TutorialEN.Bubble
125 textView = (TextView) inflate.inflate(R.layout.bubble_text, null); in init()
126 textView.setBackgroundDrawable(bubbleBackground); in init()
127 textView.setText(text); in init()
129 textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT); in init()
131 window.setContentView(textView); in init()
163 int textHeight = chooseSize(window, inputView, text, textView); in show()
164 offy -= textView.getPaddingTop() + textHeight; in show()
170 textView.setOnTouchListener(new View.OnTouchListener() { in show()
195 textView.setOnTouchListener(null); in hide()
/packages/apps/Launcher2/src/com/android/launcher2/
DAddAdapter.java84 TextView textView = (TextView) convertView; in getView() local
85 textView.setTag(item); in getView()
86 textView.setText(item.text); in getView()
87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null); in getView()
DFolder.java538 final TextView textView = in createAndAddShortcut() local
540 textView.setCompoundDrawablesWithIntrinsicBounds(null, in createAndAddShortcut()
542 textView.setText(item.title); in createAndAddShortcut()
543 textView.setTag(item); in createAndAddShortcut()
545 textView.setOnClickListener(this); in createAndAddShortcut()
546 textView.setOnLongClickListener(this); in createAndAddShortcut()
562 textView.setOnKeyListener(new FolderKeyEventListener()); in createAndAddShortcut()
563 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true); in createAndAddShortcut()
/packages/apps/Phone/src/com/android/phone/
DMultiLineTitleEditTextPreference.java68 TextView textView = (TextView) view.findViewById(com.android.internal.R.id.title); in onBindView() local
69 if (textView != null) { in onBindView()
70 textView.setSingleLine(false); in onBindView()
DSimContacts.java331 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1); in onCreateContextMenu() local
332 if (textView != null) { in onCreateContextMenu()
333 menu.setHeaderTitle(textView.getText()); in onCreateContextMenu()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java92 final TextView textView = (TextView) findViewById(R.id.text); in onCreate() local
93 textView.setText(getString(R.string.contact_editor_prompt_multiple_accounts)); in onCreate()
109 final TextView textView = (TextView) findViewById(R.id.text); in onCreate() local
114 textView.setText(getString(R.string.contact_editor_prompt_one_account, in onCreate()
136 final TextView textView = (TextView) findViewById(R.id.text); in onCreate() local
140 textView.setText(getString(R.string.contact_editor_prompt_zero_accounts)); in onCreate()
DActionBarAdapter.java112 TextView textView = (TextView) super.getView(position, convertView, parent); in getView() local
113 textView.setTextAppearance(mContext, in getView()
115 return textView; in getView()
119 TextView textView = (TextView) super.getDropDownView(position, convertView, parent); in getDropDownView() local
120 textView.setTextAppearance(mContext, in getDropDownView()
122 return textView; in getDropDownView()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java93 TextView textView; field in TutorialJAJP.Bubble
127 textView = (TextView) inflate.inflate(R.layout.bubble_text, null); in init()
128 textView.setBackgroundDrawable(bubbleBackground); in init()
129 textView.setText(text); in init()
131 textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT); in init()
133 window.setContentView(textView); in init()
165 int textHeight = chooseSize(window, inputView, text, textView); in show()
166 offy -= textView.getPaddingTop() + textHeight; in show()
172 textView.setOnTouchListener(new View.OnTouchListener() { in show()
198 textView.setOnTouchListener(null); in hide()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java557 TextView textView; in createViewFromResource() local
560 textView = (TextView) mInflater.inflate(resource, parent, false); in createViewFromResource()
561 textView.setAllCaps(true); in createViewFromResource()
562 textView.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in createViewFromResource()
563 textView.setTextAppearance(mContext, android.R.style.TextAppearance_Small); in createViewFromResource()
564 textView.setTextColor(mTextColor); in createViewFromResource()
565 textView.setEllipsize(TruncateAt.MIDDLE); in createViewFromResource()
567 textView = (TextView) convertView; in createViewFromResource()
577 textView.setText(text); in createViewFromResource()
578 return textView; in createViewFromResource()
/packages/apps/Contacts/tests/src/com/android/contacts/format/
DSpannedTestUtils.java39 public static void checkHtmlText(String expectedHtmlText, TextView textView) { in checkHtmlText() argument
40 String actualHtmlText = Html.toHtml((Spanned) textView.getText()); in checkHtmlText()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DIntegrationTestUtils.java146 for (TextView textView : getAllViews(TextView.class, getRootView(activity))) {
147 if (textView.getText().toString().contains(text)) {
148 matchingViews.add(textView);
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java1228 final TextView textView = mWhere; in updateEvent() local
1229 if (textView != null) { in updateEvent()
1230 textView.setAutoLinkMask(0); in updateEvent()
1231 textView.setText(location.trim()); in updateEvent()
1233 linkifyTextView(textView); in updateEvent()
1239 textView.setOnTouchListener(new OnTouchListener() { in updateEvent()
1490 private static void linkifyTextView(TextView textView) { in linkifyTextView() argument
1499 CharSequence origText = textView.getText(); in linkifyTextView()
1500 Linkify.addLinks(textView, Linkify.ALL); in linkifyTextView()
1503 if (textView.getText() instanceof Spannable) { in linkifyTextView()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java217 TextView textView = (TextView) getLayoutInflater().inflate( in addStaticItem() local
219 textView.setText(textResId); in addStaticItem()
220 listView.addHeaderView(textView); in addStaticItem()
/packages/apps/Email/src/com/android/email/activity/
DMessageListItemCoordinates.java222 private static int getLineCount(TextView textView) { in getLineCount() argument
223 return textView.getHeight() / textView.getLineHeight(); in getLineCount()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DSectionedAlbumDataAdapter.java179 TextView textView = (TextView) vTextView; in getView() local
180 textView.setText((String) getItem(position)); in getView()
DAlbumDataAdapter.java81 TextView textView = (TextView) vTextView; in getView() local
82 textView.setText(data.title); in getView()
/packages/apps/Calendar/src/com/android/calendar/event/
DAttendeesView.java148 final TextView textView = in constructDividerView() local
150 textView.setText(label); in constructDividerView()
151 textView.setClickable(false); in constructDividerView()
152 return textView; in constructDividerView()
/packages/apps/Browser/src/com/android/browser/
DPageDialogsHandler.java394 TextView textView = (TextView) inflater.inflate(R.layout.ssl_warning, in addError() local
396 textView.setText(error); in addError()
397 parent.addView(textView); in addError()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSyncAdapter.java153 TextView textView = (TextView) view.findViewById(id); in setText() local
154 textView.setText(text); in setText()

12