Home
last modified time | relevance | path

Searched refs:mSubtitle (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaDescription.java28 private final CharSequence mSubtitle; field in MediaDescription
115 mSubtitle = subtitle; in MediaDescription()
126 mSubtitle = in.readCharSequence(); in MediaDescription()
157 return mSubtitle; in getSubtitle()
214 dest.writeCharSequence(mSubtitle); in writeToParcel()
224 return mTitle + ", " + mSubtitle + ", " + mDescription; in toString()
246 private CharSequence mSubtitle; field in MediaDescription.Builder
288 mSubtitle = subtitle; in setSubtitle()
351 return new MediaDescription(mMediaId, mTitle, mSubtitle, mDescription, mIcon, mIconUri, in build()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractDetailsDescriptionPresenter.java41 final TextView mSubtitle; field in AbstractDetailsDescriptionPresenter.ViewHolder
59 mSubtitle = (TextView) view.findViewById(R.id.lb_details_description_subtitle); in ViewHolder()
85 mSubtitleFontMetricsInt = getFontMetricsInt(mSubtitle); in ViewHolder()
104 if (mSubtitle.getVisibility() == View.VISIBLE in addPreDrawListener()
105 && mSubtitle.getTop() > view.getHeight() in addPreDrawListener()
136 return mSubtitle; in getSubtitle()
176 if (TextUtils.isEmpty(vh.mSubtitle.getText())) { in onBindViewHolder()
177 vh.mSubtitle.setVisibility(View.GONE); in onBindViewHolder()
180 vh.mSubtitle.setVisibility(View.VISIBLE); in onBindViewHolder()
182 setTopMargin(vh.mSubtitle, vh.mUnderTitleBaselineMargin in onBindViewHolder()
[all …]
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaDescriptionCompat.java160 private final CharSequence mSubtitle; field in MediaDescriptionCompat
191 mSubtitle = subtitle; in MediaDescriptionCompat()
202 mSubtitle = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in MediaDescriptionCompat()
236 return mSubtitle; in getSubtitle()
299 TextUtils.writeToParcel(mSubtitle, dest, flags); in writeToParcel()
312 return mTitle + ", " + mSubtitle + ", " + mDescription; in toString()
333 MediaDescriptionCompatApi21.Builder.setSubtitle(bob, mSubtitle); in getMediaDescription()
434 private CharSequence mSubtitle; field in MediaDescriptionCompat.Builder
476 mSubtitle = subtitle; in setSubtitle()
545 return new MediaDescriptionCompat(mMediaId, mTitle, mSubtitle, mDescription, mIcon, in build()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarContextView.java44 private CharSequence mSubtitle; field in ActionBarContextView
120 mSubtitle = subtitle; in setSubtitle()
129 return mSubtitle; in getSubtitle()
148 mSubtitleView.setText(mSubtitle); in initTitle()
151 final boolean hasSubtitle = !TextUtils.isEmpty(mSubtitle); in initTitle()
DToolbarWidgetWrapper.java82 private CharSequence mSubtitle; field in ToolbarWidgetWrapper
103 mSubtitle = toolbar.getSubtitle(); in ToolbarWidgetWrapper()
272 mSubtitle = subtitle; in setSubtitle()
402 mToolbar.setSubtitle(mSubtitle); in setDisplayOptions()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBaseControlGlue.java74 CharSequence mSubtitle; field in PlaybackBaseControlGlue
458 if (TextUtils.equals(subtitle, mSubtitle)) { in setSubtitle()
461 mSubtitle = subtitle; in setSubtitle()
471 return mSubtitle; in getSubtitle()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java44 private CharSequence mSubtitle; field in ActionBarContextView
162 mSubtitle = subtitle; in setSubtitle()
171 return mSubtitle; in getSubtitle()
190 mSubtitleView.setText(mSubtitle); in initTitle()
193 final boolean hasSubtitle = !TextUtils.isEmpty(mSubtitle); in initTitle()
DToolbarWidgetWrapper.java79 private CharSequence mSubtitle; field in ToolbarWidgetWrapper
99 mSubtitle = toolbar.getSubtitle(); in ToolbarWidgetWrapper()
273 mSubtitle = subtitle; in setSubtitle()
424 mToolbar.setSubtitle(mSubtitle); in setDisplayOptions()
DActionBarView.java88 private CharSequence mSubtitle; field in ActionBarView
170 mSubtitle = a.getText(R.styleable.ActionBar_subtitle); in ActionBarView()
505 (!TextUtils.isEmpty(mTitle) || !TextUtils.isEmpty(mSubtitle)); in setTitleImpl()
515 return mSubtitle; in getSubtitle()
519 mSubtitle = subtitle; in setSubtitle()
525 (!TextUtils.isEmpty(mTitle) || !TextUtils.isEmpty(mSubtitle)); in setSubtitle()
827 if (mSubtitle != null) { in initTitle()
828 mSubtitleView.setText(mSubtitle); in initTitle()
835 (TextUtils.isEmpty(mTitle) && TextUtils.isEmpty(mSubtitle))) { in initTitle()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPlaybackTransportRowPresenterTest.java194 assertEquals("zyx", mDescriptionViewHolder.mSubtitle.getText()); in mediaInfo()