/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | TextCandidatesViewManager.java | 887 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/detail/ |
D | ContactDetailDisplayUtils.java | 369 public static void setDisplayName(Context context, Contact contactData, TextView textView) { in setDisplayName() argument 370 if (textView == null) { in setDisplayName() 373 setDataOrHideIfNone(getDisplayName(context, contactData), textView); in setDisplayName() local 380 public static void setCompanyName(Context context, Contact contactData, TextView textView) { in setCompanyName() argument 381 if (textView == null) { in setCompanyName() 384 setDataOrHideIfNone(getCompany(context, contactData), textView); in setCompanyName() local 391 public static void setPhoneticName(Context context, Contact contactData, TextView textView) { in setPhoneticName() argument 392 if (textView == null) { in setPhoneticName() 395 setDataOrHideIfNone(getPhoneticName(context, contactData), textView); in setPhoneticName() local 402 public static void setAttribution(Context context, Contact contactData, TextView textView) { in setAttribution() argument [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
D | TutorialEN.java | 91 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/Contacts/tests/src/com/android/contacts/detail/ |
D | ContactDetailDisplayUtilsTest.java | 74 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/JAJP/ |
D | TutorialJAJP.java | 93 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/ |
D | LabeledEditorView.java | 557 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.END | 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/Browser/src/com/android/browser/addbookmark/ |
D | FolderSpinnerAdapter.java | 90 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/activities/ |
D | ContactEditorAccountsChangedActivity.java | 92 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()
|
D | ActionBarAdapter.java | 112 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/apps/Launcher3/src/com/android/launcher3/ |
D | Folder.java | 565 final BubbleTextView textView = in createAndAddShortcut() local 567 textView.setCompoundDrawables(null, in createAndAddShortcut() 569 textView.setText(item.title); in createAndAddShortcut() 570 textView.setTag(item); in createAndAddShortcut() 571 textView.setTextColor(getResources().getColor(R.color.folder_items_text_color)); in createAndAddShortcut() 572 textView.setShadowsEnabled(false); in createAndAddShortcut() 573 textView.setGlowColor(getResources().getColor(R.color.folder_items_glow_color)); in createAndAddShortcut() 575 textView.setOnClickListener(this); in createAndAddShortcut() 576 textView.setOnLongClickListener(this); in createAndAddShortcut() 592 textView.setOnKeyListener(new FolderKeyEventListener()); in createAndAddShortcut() [all …]
|
D | AddAdapter.java | 82 TextView textView = (TextView) convertView; in getView() local 83 textView.setTag(item); in getView() 84 textView.setText(item.text); in getView() 85 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null); in getView()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | PhoneNumberFormatter.java | 37 public TextWatcherLoadAsyncTask(String countryCode, TextView textView) { in TextWatcherLoadAsyncTask() argument 39 mTextView = textView; in TextWatcherLoadAsyncTask() 69 TextView textView) { in setPhoneNumberFormattingTextWatcher() argument 70 new TextWatcherLoadAsyncTask(GeoUtil.getCurrentCountryIso(context), textView) in setPhoneNumberFormattingTextWatcher()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | PhoneNumberFormatter.java | 37 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/Launcher2/src/com/android/launcher2/ |
D | AddAdapter.java | 84 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()
|
D | Folder.java | 522 final TextView textView = in createAndAddShortcut() local 524 textView.setCompoundDrawablesWithIntrinsicBounds(null, in createAndAddShortcut() 526 textView.setText(item.title); in createAndAddShortcut() 527 textView.setTag(item); in createAndAddShortcut() 529 textView.setOnClickListener(this); in createAndAddShortcut() 530 textView.setOnLongClickListener(this); in createAndAddShortcut() 546 textView.setOnKeyListener(new FolderKeyEventListener()); in createAndAddShortcut() 547 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true); in createAndAddShortcut()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoFragment.java | 1576 final TextView textView = mWhere; in updateEvent() local 1577 if (textView != null) { in updateEvent() 1578 textView.setAutoLinkMask(0); in updateEvent() 1579 textView.setText(location.trim()); in updateEvent() 1581 textView.setText(Utils.extendedLinkify(textView.getText().toString(), true)); in updateEvent() 1586 MovementMethod mm = textView.getMovementMethod(); in updateEvent() 1588 if (textView.getLinksClickable()) { in updateEvent() 1589 textView.setMovementMethod(LinkMovementMethod.getInstance()); in updateEvent() 1597 textView.setOnTouchListener(new OnTouchListener() { in updateEvent() 2009 TextView textView = (TextView) view.findViewById(id); in setTextCommon() local [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerView.java | 82 private void addStartPadding(TextView textView) { in addStartPadding() argument 87 paint.setTextSize(textView.getTextSize()); in addStartPadding() 88 paint.setTypeface(textView.getTypeface()); in addStartPadding() 99 textView.setPadding((int) (gapPadding * widths[largest]), 0, 0, 0); in addStartPadding()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | TextViewCompatUtils.java | 35 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(final TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds() argument 38 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds() 41 CompatUtils.invoke(textView, null, METHOD_setCompoundDrawablesRelativeWithIntrinsicBounds, in setCompoundDrawablesRelativeWithIntrinsicBounds()
|
/packages/services/Telephony/src/com/android/phone/ |
D | MultiLineTitleEditTextPreference.java | 68 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()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 786 private void setMaxLines(TextView textView, int maxLines) { in setMaxLines() argument 788 textView.setSingleLine(true); in setMaxLines() 789 textView.setEllipsize(TextUtils.TruncateAt.END); in setMaxLines() 791 textView.setSingleLine(false); in setMaxLines() 792 textView.setMaxLines(maxLines); in setMaxLines() 793 textView.setEllipsize(null); in setMaxLines()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | MoreContactUtils.java | 191 TextView textView = (TextView) view.findViewById(R.id.title); in createHeaderView() local 192 textView.setText(context.getString(textResourceId)); in createHeaderView() 193 textView.setAllCaps(true); in createHeaderView()
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/ |
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/Calendar/src/com/android/calendar/event/ |
D | AttendeesView.java | 148 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/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListItemView.java | 1046 private void setMarqueeText(TextView textView, char[] text, int size) { in setMarqueeText() argument 1048 setMarqueeText(textView, new String(text, 0, size)); in setMarqueeText() 1050 textView.setText(text, 0, size); in setMarqueeText() 1054 private void setMarqueeText(TextView textView, CharSequence text) { in setMarqueeText() argument 1061 textView.setText(spannable); in setMarqueeText() 1063 textView.setText(text); in setMarqueeText()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewCoordinates.java | 609 private static int getLineCount(TextView textView) { in getLineCount() argument 611 return textView.getMaxLines(); in getLineCount() 613 return Math.round(((float) textView.getHeight()) / textView.getLineHeight()); in getLineCount()
|