Home
last modified time | relevance | path

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

1234

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractDetailsDescriptionPresenter.java40 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.java113 private CharSequence mTitle; field in GuidedAction.BuilderBase
164 action.setLabel1(mTitle); in applyValues()
193 mTitle = mContext.getString(android.R.string.ok); in clickAction()
196 mTitle = mContext.getString(android.R.string.cancel); in clickAction()
199 mTitle = mContext.getString(R.string.lb_guidedaction_finish_title); in clickAction()
202 mTitle = mContext.getString(R.string.lb_guidedaction_continue_title); in clickAction()
205 mTitle = mContext.getString(android.R.string.ok); in clickAction()
208 mTitle = mContext.getString(android.R.string.cancel); in clickAction()
229 mTitle = title; in title()
239 mTitle = getContext().getString(titleResourceId); in title()
/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/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPhotoItem.java21 private String mTitle; field in PhotoItem
30 mTitle = title; in PhotoItem()
40 return mTitle; in getTitle()
49 return mTitle; in toString()
59 dest.writeString(mTitle); in writeToParcel()
77 mTitle = in.readString(); in PhotoItem()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DPhotoItem.java22 private String mTitle; field in PhotoItem
31 mTitle = title; in PhotoItem()
41 return mTitle; in getTitle()
50 return mTitle; in toString()
60 dest.writeString(mTitle); in writeToParcel()
78 mTitle = in.readString(); in PhotoItem()
/frameworks/base/media/java/android/media/
DMediaDescription.java24 private final CharSequence mTitle; field in MediaDescription
114 mTitle = title; in MediaDescription()
125 mTitle = in.readCharSequence(); in MediaDescription()
148 return mTitle; in getTitle()
213 dest.writeCharSequence(mTitle); in writeToParcel()
224 return mTitle + ", " + mSubtitle + ", " + mDescription; in toString()
245 private CharSequence mTitle; field in MediaDescription.Builder
277 mTitle = title; in setTitle()
351 return new MediaDescription(mMediaId, mTitle, mSubtitle, mDescription, mIcon, mIconUri, in build()
/frameworks/base/core/java/android/app/
DRemoteAction.java41 private final CharSequence mTitle; field in RemoteAction
48 mTitle = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in RemoteAction()
61 mTitle = title; in RemoteAction()
92 return mTitle; in getTitle()
111 RemoteAction action = new RemoteAction(mIcon, mTitle, mContentDescription, mActionIntent); in clone()
124 TextUtils.writeToParcel(mTitle, out, flags); in writeToParcel()
132 pw.print("title=" + mTitle); in dump()
/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/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java104 private final CharSequence mTitle; field in SaveUi
140 mTitle = Html.fromHtml(context.getString(R.string.autofill_save_title_with_type, in SaveUi()
144 mTitle = Html.fromHtml(context.getString(R.string.autofill_save_title_with_2types, in SaveUi()
148 mTitle = Html.fromHtml(context.getString(R.string.autofill_save_title_with_3types, in SaveUi()
153 mTitle = Html.fromHtml( in SaveUi()
157 titleView.setText(mTitle); in SaveUi()
166 Slog.d(TAG, "on constructor: title=" + mTitle + ", subTitle=" + mSubTitle); in SaveUi()
202 Slog.i(TAG, "Showing save dialog: " + mTitle); in SaveUi()
229 return mTitle == null ? "NO TITLE" : mTitle.toString(); in toString()
233 pw.print(prefix); pw.print("title: "); pw.println(mTitle); in dump()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaDescriptionCompat.java156 private final CharSequence mTitle; field in MediaDescriptionCompat
190 mTitle = title; in MediaDescriptionCompat()
201 mTitle = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in MediaDescriptionCompat()
226 return mTitle; in getTitle()
298 TextUtils.writeToParcel(mTitle, dest, flags); in writeToParcel()
312 return mTitle + ", " + mSubtitle + ", " + mDescription; in toString()
332 MediaDescriptionCompatApi21.Builder.setTitle(bob, mTitle); in getMediaDescription()
433 private CharSequence mTitle; field in MediaDescriptionCompat.Builder
465 mTitle = title; in setTitle()
545 return new MediaDescriptionCompat(mMediaId, mTitle, mSubtitle, mDescription, mIcon, in build()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlaylistItem.java32 private final String mTitle; field in PlaylistItem
46 mTitle = title; in PlaylistItem()
86 return mTitle; in getTitle()
135 + state[mPlaybackState] + "] " + mTitle + ": " + mUri.toString(); in toString()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/model/
DVideoInfo.java26 private String mTitle; field in VideoInfo
44 return mTitle; in getTitle()
48 mTitle = title; in setTitle()
/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/view/accessibility/
DAccessibilityWindowInfo.java105 private CharSequence mTitle; field in AccessibilityWindowInfo
122 return mTitle; in getTitle()
133 mTitle = title; in setTitle()
464 infoClone.mTitle = info.mTitle; in obtain()
522 parcel.writeCharSequence(mTitle); in writeToParcel()
547 mTitle = parcel.readCharSequence(); in initFromParcel()
589 builder.append("title=").append(mTitle); in toString()
638 mTitle = null; in clear()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java41 private CharSequence mTitle; field in ActionMenuItem
79 mTitle = title; in ActionMenuItem()
127 return mTitle; in getTitle()
131 return mTitleCondensed != null ? mTitleCondensed : mTitle; in getTitleCondensed()
284 mTitle = title; in setTitle()
289 mTitle = mContext.getResources().getString(title); in setTitle()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java181 private CharSequence mTitle; field in ShortcutInfo
253 mTitle = b.mTitle; in ShortcutInfo()
338 if (mTitle == null && mTitleResId == 0) { in enforceMandatoryFields()
366 mTitle = source.mTitle; in ShortcutInfo()
425 mTitle = getResourceString(res, mTitleResId, mTitle); in resolveResourceStrings()
654 if (source.mTitle != null) { in copyNonNullFieldsFrom()
655 mTitle = source.mTitle; in copyNonNullFieldsFrom()
659 mTitle = null; in copyNonNullFieldsFrom()
739 private CharSequence mTitle; field in ShortcutInfo.Builder
851 Preconditions.checkState(mTitle == null, "shortLabel already set"); in setShortLabelResId()
[all …]
/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/SystemUI/src/com/android/systemui/pip/tv/
DPipNotification.java64 private String mTitle; field in PipNotification
190 .setContentTitle(!TextUtils.isEmpty(mTitle) ? mTitle : mDefaultTitle); in notifyPipNotification()
222 if (!TextUtils.equals(title, mTitle) || art != mArt) { in updateMediaControllerMetadata()
223 mTitle = title; in updateMediaControllerMetadata()
/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()
108 mTitle = title; in setTitle()
113 return mTitle; in getTitle()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
DSlidingPaneLayoutActivity.java184 private CharSequence mTitle; field in SlidingPaneLayoutActivity.ActionBarHelperICS
194 mTitle = mDrawerTitle = getTitle(); in init()
202 mActionBar.setTitle(mTitle); in onPanelClosed()
224 mTitle = title; in setTitle()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
DMovie.java26 private String mTitle = ""; field in Movie
35 return mTitle; in getTitle()
DCardRow.java37 @SerializedName("title") private String mTitle; field in CardRow
45 return mTitle; in getTitle()
DSong.java36 @SerializedName("title") private String mTitle = ""; field in Song
81 return mTitle; in getTitle()
85 mTitle = title; in setTitle()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItem.java49 private CharSequence mTitle; field in ActionMenuItem
88 mTitle = title; in ActionMenuItem()
148 return mTitle; in getTitle()
153 return mTitleCondensed != null ? mTitleCondensed : mTitle; in getTitleCondensed()
279 mTitle = title; in setTitle()
285 mTitle = mContext.getResources().getString(title); in setTitle()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableActionDrawerView.java97 @Nullable private CharSequence mTitle; field in WearableActionDrawerView
124 mTitle = typedArray.getString(R.styleable.WearableActionDrawerView_drawerTitle); in WearableActionDrawerView()
228 if (Objects.equals(title, mTitle)) { in setTitle()
232 CharSequence oldTitle = mTitle; in setTitle()
233 mTitle = title; in setTitle()
244 return mTitle != null; in hasTitle()
418 holder.textView.setText(mTitle); in onBindViewHolder()

1234