Home
last modified time | relevance | path

Searched refs:mCaptionLayout (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java93 private CaptionLayout mCaptionLayout; field in CaptionWindowLayout
299 if (mCaptionLayout != captionLayout) { in initWindow()
300 if (mCaptionLayout != null) { in initWindow()
301 mCaptionLayout.removeOnLayoutChangeListener(this); in initWindow()
303 mCaptionLayout = captionLayout; in initWindow()
304 mCaptionLayout.addOnLayoutChangeListener(this); in initWindow()
359 float halfMaxWidthScale = mCaptionLayout.getWidth() > 0 in initWindow()
360 ? maxWindowWidth / 2.0f / (mCaptionLayout.getWidth() * 0.8f) : 0.0f; in initWindow()
406 mCaptionLayout.addOrUpdateViewToSafeTitleArea(this, new ScaledLayout in initWindow()
435 return mCaptionLayout != null && mCaptionLayout.getCaptionTrack() != null in isKoreanLanguageTrack()
[all …]
DCaptionTrackRenderer.java64 private final CaptionLayout mCaptionLayout; field in CaptionTrackRenderer
73 mCaptionLayout = captionLayout; in CaptionTrackRenderer()
99 mCaptionLayout.setCaptionTrack(captionTrack); in start()
100 mCaptionLayout.setVisibility(View.VISIBLE); in start()
107 mCaptionLayout.setVisibility(View.INVISIBLE); in stop()
262 mCaptionLayout.setVisibility(View.INVISIBLE); in reset()
282 windowLayout = new CaptionWindowLayout(mCaptionLayout.getContext()); in defineWindow()
284 windowLayout.initWindow(mCaptionLayout, window); in defineWindow()