Home
last modified time | relevance | path

Searched refs:mTitle (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractDetailsDescriptionPresenter.java40 private final TextView mTitle; field in AbstractDetailsDescriptionPresenter.ViewHolder
58 mTitle = (TextView) view.findViewById(R.id.lb_details_description_title); in ViewHolder()
62 FontMetricsInt titleFontMetricsInt = getFontMetricsInt(mTitle); in ViewHolder()
82 mTitleMaxLines = mTitle.getMaxLines(); in ViewHolder()
84 mTitleFontMetricsInt = getFontMetricsInt(mTitle); in ViewHolder()
88 mTitle.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { in ViewHolder()
106 mTitle.getLineCount() > 1) { in addPreDrawListener()
107 mTitle.setMaxLines(mTitle.getLineCount() - 1); in addPreDrawListener()
110 final int titleLines = mTitle.getLineCount(); in addPreDrawListener()
132 return mTitle; in getTitle()
[all …]
DGuidedAction.java114 private CharSequence mTitle; field in GuidedAction.BuilderBase
163 action.setLabel1(mTitle); in applyValues()
192 mTitle = mContext.getString(android.R.string.ok); in clickAction()
195 mTitle = mContext.getString(android.R.string.cancel); in clickAction()
198 mTitle = mContext.getString(R.string.lb_guidedaction_finish_title); in clickAction()
201 mTitle = mContext.getString(R.string.lb_guidedaction_continue_title); in clickAction()
204 mTitle = mContext.getString(android.R.string.yes); in clickAction()
207 mTitle = mContext.getString(android.R.string.no); in clickAction()
228 mTitle = title; in title()
238 mTitle = getContext().getString(titleResourceId); in title()
DGuidanceStylist.java81 private final String mTitle; field in GuidanceStylist.Guidance
96 mTitle = title; in Guidance()
106 return mTitle; in getTitle()
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/
DMusicTrack.java26 private String mTitle; field in MusicTrack
51 this.mTitle = title; in MusicTrack()
63 return mTitle; in getTitle()
66 public void setTitle(String mTitle) { in setTitle() argument
67 this.mTitle = mTitle; in setTitle()
135 return mTitle; in toString()
/frameworks/base/media/java/android/media/
DMediaDescription.java23 private final CharSequence mTitle; field in MediaDescription
52 mTitle = title; in MediaDescription()
63 mTitle = in.readCharSequence(); in MediaDescription()
86 return mTitle; in getTitle()
151 dest.writeCharSequence(mTitle); in writeToParcel()
162 return mTitle + ", " + mSubtitle + ", " + mDescription; in toString()
183 private CharSequence mTitle; field in MediaDescription.Builder
215 mTitle = title; in setTitle()
289 return new MediaDescription(mMediaId, mTitle, mSubtitle, mDescription, mIcon, mIconUri, in build()
/frameworks/base/core/java/android/service/chooser/
DChooserTarget.java50 private CharSequence mTitle; field in ChooserTarget
105 mTitle = title; in ChooserTarget()
117 mTitle = in.readCharSequence(); in ChooserTarget()
135 return mTitle; in getTitle()
182 + ", '" + mTitle in toString()
193 dest.writeCharSequence(mTitle); in writeToParcel()
/frameworks/support/v4/java/android/support/v4/media/
DMediaDescriptionCompat.java55 private final CharSequence mTitle; field in MediaDescriptionCompat
89 mTitle = title; in MediaDescriptionCompat()
100 mTitle = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in MediaDescriptionCompat()
125 return mTitle; in getTitle()
197 TextUtils.writeToParcel(mTitle, dest, flags); in writeToParcel()
211 return mTitle + ", " + mSubtitle + ", " + mDescription; in toString()
231 MediaDescriptionCompatApi21.Builder.setTitle(bob, mTitle); in getMediaDescription()
332 private CharSequence mTitle; field in MediaDescriptionCompat.Builder
364 mTitle = title; in setTitle()
444 return new MediaDescriptionCompat(mMediaId, mTitle, mSubtitle, mDescription, mIcon, in build()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java130 private String mTitle; field in ShortcutInfo
180 mTitle = b.mTitle; in ShortcutInfo()
207 Preconditions.checkStringNotEmpty(mTitle, "Shortcut title must be provided"); in enforceMandatoryFields()
232 mTitle = source.mTitle; in ShortcutInfo()
278 if (source.mTitle != null) { in copyNonNullFieldsFrom()
279 mTitle = source.mTitle; in copyNonNullFieldsFrom()
338 private String mTitle; field in ShortcutInfo.Builder
409 mTitle = Preconditions.checkStringNotEmpty(title, "title"); in setTitle()
528 return mTitle; in getTitle()
739 mTitle = source.readString(); in ShortcutInfo()
[all …]
/frameworks/support/tests/java/android/support/v4/app/
DNotificationCompatActionWearableExtenderTest.java35 private String mTitle = "Test Title"; field in NotificationCompatActionWearableExtenderTest
88 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent); in testDefaultActionNotification()
90 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent); in testDefaultActionNotification()
117 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) in testDefaultActionExtenderNotification()
120 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent) in testDefaultActionExtenderNotification()
156 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) in testFullNotification()
159 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent) in testFullNotification()
195 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) in testMultipleActionsInANotification()
198 new NotificationCompat.Action.Builder(mIcon, mTitle, mPendingIntent) in testMultipleActionsInANotification()
215 new Notification.Action.Builder(mIcon, mTitle, mPendingIntent) in testMultipleActionsInANotification()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java37 private CharSequence mTitle; field in ActionMenuItem
66 mTitle = title; in ActionMenuItem()
106 return mTitle; in getTitle()
110 return mTitleCondensed != null ? mTitleCondensed : mTitle; in getTitleCondensed()
192 mTitle = title; in setTitle()
197 mTitle = mContext.getResources().getString(title); in setTitle()
DMenuItemImpl.java49 private CharSequence mTitle; field in MenuItemImpl
137 mTitle = title; in MenuItemImpl()
333 return mTitle; in getTitle()
350 mTitle = title; in setTitle()
366 return mTitleCondensed != null ? mTitleCondensed : mTitle; in getTitleCondensed()
374 title = mTitle; in setTitleCondensed()
499 return mTitle != null ? mTitle.toString() : null; in toString()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItem.java41 private CharSequence mTitle; field in ActionMenuItem
70 mTitle = title; in ActionMenuItem()
110 return mTitle; in getTitle()
114 return mTitleCondensed != null ? mTitleCondensed : mTitle; in getTitleCondensed()
196 mTitle = title; in setTitle()
201 mTitle = mContext.getResources().getString(title); in setTitle()
DMenuItemImpl.java52 private CharSequence mTitle; field in MenuItemImpl
138 mTitle = title; in MenuItemImpl()
352 return mTitle; in getTitle()
369 mTitle = title; in setTitle()
387 final CharSequence ctitle = mTitleCondensed != null ? mTitleCondensed : mTitle; in getTitleCondensed()
406 title = mTitle; in setTitleCondensed()
541 return mTitle != null ? mTitle.toString() : null; in toString()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java93 private CharSequence mTitle; field in AccessibilityWindowInfo
109 return mTitle; in getTitle()
120 mTitle = title; in setTitle()
423 infoClone.mTitle = info.mTitle; in obtain()
465 parcel.writeCharSequence(mTitle); in writeToParcel()
489 mTitle = parcel.readCharSequence(); in initFromParcel()
530 builder.append("title=").append(mTitle); in toString()
577 mTitle = null; in clear()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java71 ap.mTitle = mAccessory.getDescription(); in onCreate()
72 if (ap.mTitle == null || ap.mTitle.length() == 0) { in onCreate()
73 ap.mTitle = getString(R.string.title_usb_accessory); in onCreate()
/frameworks/base/core/java/android/content/
DRestrictionEntry.java112 private String mTitle; field in RestrictionEntry
443 return mTitle; in getTitle()
451 this.mTitle = title; in setTitle()
501 mTitle = in.readString(); in RestrictionEntry()
525 dest.writeString(mTitle); in writeToParcel()
549 ", mTitle='" + mTitle + '\'' + in toString()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DGridDocumentHolder.java44 final TextView mTitle; field in GridDocumentHolder
60 mTitle = (TextView) itemView.findViewById(android.R.id.title); in GridDocumentHolder()
142 mTitle.setVisibility(View.GONE); in bind()
144 mTitle.setText(docDisplayName, TextView.BufferType.SPANNABLE); in bind()
145 mTitle.setVisibility(View.VISIBLE); in bind()
DGridDirectoryHolder.java32 final TextView mTitle; field in GridDirectoryHolder
39 mTitle = (TextView) itemView.findViewById(android.R.id.title); in GridDirectoryHolder()
70 mTitle.setText(docDisplayName, TextView.BufferType.SPANNABLE); in bind()
DListDocumentHolder.java41 final TextView mTitle; field in ListDocumentHolder
54 mTitle = (TextView) itemView.findViewById(android.R.id.title); in ListDocumentHolder()
138 mTitle.setText(docDisplayName, TextView.BufferType.SPANNABLE); in bind()
139 mTitle.setVisibility(View.VISIBLE); in bind()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java39 private CharSequence mTitle; field in Item
52 mTitle = a.getText(R.styleable.SuwItem_android_title); in Item()
104 mTitle = title; in setTitle()
108 return mTitle; in getTitle()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreference.java107 private CharSequence mTitle; field in Preference
246 mTitle = TypedArrayUtils.getString(a, R.styleable.Preference_title, in Preference()
608 if (title == null && mTitle != null || title != null && !title.equals(mTitle)) { in setTitle()
609 mTitle = title; in setTitle()
631 return mTitle; in getTitle()
1033 } else if (mTitle == another.mTitle) { in compareTo()
1036 } else if (mTitle == null) { in compareTo()
1038 } else if (another.mTitle == null) { in compareTo()
1042 return mTitle.toString().compareToIgnoreCase(another.mTitle.toString()); in compareTo()
1146 + "\" not found for preference \"" + mKey + "\" (title: \"" + mTitle + "\""); in registerDependency()
/frameworks/base/core/java/android/preference/
DPreference.java103 private CharSequence mTitle; field in Preference
235 mTitle = a.getString(attr); in Preference()
646 if (title == null && mTitle != null || title != null && !title.equals(mTitle)) { in setTitle()
648 mTitle = title; in setTitle()
683 return mTitle; in getTitle()
1119 } else if (mTitle == another.mTitle) { in compareTo()
1122 } else if (mTitle == null) { in compareTo()
1124 } else if (another.mTitle == null) { in compareTo()
1128 return CharSequences.compareToIgnoreCase(mTitle, another.mTitle); in compareTo()
1206 + "\" not found for preference \"" + mKey + "\" (title: \"" + mTitle + "\""); in registerDependency()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBrandedFragment.java38 private CharSequence mTitle; field in BrandedFragment
102 mTitleViewAdapter.setTitle(mTitle); in setTitleView()
220 mTitle = title; in setTitle()
231 return mTitle; in getTitle()
DBrandedSupportFragment.java40 private CharSequence mTitle; field in BrandedSupportFragment
104 mTitleViewAdapter.setTitle(mTitle); in setTitleView()
222 mTitle = title; in setTitle()
233 return mTitle; in getTitle()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarContextView.java39 private CharSequence mTitle; field in ActionBarContextView
111 mTitle = title; in setTitle()
121 return mTitle; in getTitle()
143 mTitleView.setText(mTitle); in initTitle()
146 final boolean hasTitle = !TextUtils.isEmpty(mTitle); in initTitle()
359 event.setContentDescription(mTitle); in onInitializeAccessibilityEvent()

123