Home
last modified time | relevance | path

Searched refs:mSubtitleView (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/
DVideoView2ImplApi28WithMp1.java57 private SubtitleView mSubtitleView; field in VideoView2ImplApi28WithMp1
69 mSubtitleView = new SubtitleView(context); in initialize()
70 mSubtitleView.setLayoutParams(params); in initialize()
71 mSubtitleView.setBackgroundColor(0); in initialize()
72 mInstance.addView(mSubtitleView); in initialize()
117 mSubtitleController.setAnchor((SubtitleController.Anchor) mSubtitleView); in setupMediaPlayer()
131 mSubtitleView.setVisibility(View.VISIBLE); in selectOrDeselectSubtitle()
137 mSubtitleView.setVisibility(View.GONE); in selectOrDeselectSubtitle()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionBarContextView.java51 private TextView mSubtitleView; field in ActionBarContextView
139 mSubtitleView = (TextView) mTitleLayout.findViewById(R.id.action_bar_subtitle); in initTitle()
144 mSubtitleView.setTextAppearance(getContext(), mSubtitleStyleRes); in initTitle()
149 mSubtitleView.setText(mSubtitle); in initTitle()
153 mSubtitleView.setVisibility(hasSubtitle ? VISIBLE : GONE); in initTitle()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java50 private TextView mSubtitleView; field in ActionBarContextView
180 mSubtitleView = (TextView) mTitleLayout.findViewById(R.id.action_bar_subtitle); in initTitle()
185 mSubtitleView.setTextAppearance(mSubtitleStyleRes); in initTitle()
190 mSubtitleView.setText(mSubtitle); in initTitle()
194 mSubtitleView.setVisibility(hasSubtitle ? VISIBLE : GONE); in initTitle()
DActionBarView.java98 private TextView mSubtitleView; field in ActionBarView
237 mSubtitleView = null; in onConfigurationChanged()
520 if (mSubtitleView != null) { in setSubtitle()
521 mSubtitleView.setText(subtitle); in setSubtitle()
522 mSubtitleView.setVisibility(subtitle != null ? VISIBLE : GONE); in setSubtitle()
815 mSubtitleView = (TextView) mTitleLayout.findViewById(R.id.action_bar_subtitle); in initTitle()
825 mSubtitleView.setTextAppearance(mSubtitleStyleRes); in initTitle()
828 mSubtitleView.setText(mSubtitle); in initTitle()
829 mSubtitleView.setVisibility(VISIBLE); in initTitle()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/
DVideoView2ImplBase.java165 private SubtitleView mSubtitleView; field in VideoView2ImplBase
288 mSubtitleView = new SubtitleView(context); in initialize()
289 mSubtitleView.setLayoutParams(params); in initialize()
290 mSubtitleView.setBackgroundColor(0); in initialize()
291 mInstance.addView(mSubtitleView); in initialize()
916 mSubtitleController.setAnchor((SubtitleController.Anchor) mSubtitleView); in openVideo()
1109 mSubtitleView.setVisibility(View.VISIBLE); in selectOrDeselectSubtitle()
1115 mSubtitleView.setVisibility(View.GONE); in selectOrDeselectSubtitle()
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DVideoView2Impl.java168 private SubtitleView mSubtitleView; field in VideoView2Impl
290 mSubtitleView = new SubtitleView(mInstance.getContext()); in initialize()
291 mSubtitleView.setLayoutParams(params); in initialize()
292 mSubtitleView.setBackgroundColor(0); in initialize()
293 mInstance.addView(mSubtitleView); in initialize()
728 mSubtitleController.setAnchor((SubtitleController.Anchor) mSubtitleView); in openVideo()
952 mSubtitleView.setVisibility(View.VISIBLE); in selectOrDeselectSubtitle()
958 mSubtitleView.setVisibility(View.GONE); in selectOrDeselectSubtitle()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouteControllerDialog.java139 private TextView mSubtitleView; field in MediaRouteControllerDialog
397 mSubtitleView = findViewById(R.id.mr_control_subtitle); in onCreate()
1006 mSubtitleView.setText(subtitle); in updatePlaybackControlLayout()
1011 mSubtitleView.setVisibility(showSubtitle ? View.VISIBLE : View.GONE); in updatePlaybackControlLayout()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouteControllerDialog.java142 private TextView mSubtitleView; field in MediaRouteControllerDialog
404 mSubtitleView = findViewById(R.id.mr_control_subtitle); in onCreate()
1012 mSubtitleView.setText(subtitle); in updatePlaybackControlLayout()
1017 mSubtitleView.setVisibility(showSubtitle ? View.VISIBLE : View.GONE); in updatePlaybackControlLayout()