/frameworks/base/media/java/android/media/ |
D | MediaDescription.java | 28 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/ |
D | AbstractDetailsDescriptionPresenter.java | 41 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/ |
D | MediaDescriptionCompat.java | 160 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/ |
D | ActionBarContextView.java | 44 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()
|
D | ToolbarWidgetWrapper.java | 82 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/ |
D | PlaybackBaseControlGlue.java | 74 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/ |
D | ActionBarContextView.java | 44 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()
|
D | ToolbarWidgetWrapper.java | 79 private CharSequence mSubtitle; field in ToolbarWidgetWrapper 99 mSubtitle = toolbar.getSubtitle(); in ToolbarWidgetWrapper() 273 mSubtitle = subtitle; in setSubtitle() 424 mToolbar.setSubtitle(mSubtitle); in setDisplayOptions()
|
D | ActionBarView.java | 88 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/ |
D | PlaybackTransportRowPresenterTest.java | 194 assertEquals("zyx", mDescriptionViewHolder.mSubtitle.getText()); in mediaInfo()
|