Searched refs:mCaptioningManager (Results 1 – 8 of 8) sorted by relevance
50 private CaptioningManager mCaptioningManager; field in CaptionSettingsFragment107 mCaptioningManager = in onCreate()147 mCaptioningManager.addCaptioningChangeListener (mCaptionChangeListener); in onStart()156 mCaptioningManager.removeCaptioningChangeListener (mCaptionChangeListener); in onStop()161 mFontScale = mCaptioningManager.getFontScale(); in loadCaptionSettings()162 mStyleId = mCaptioningManager.getRawUserStyle(); in loadCaptionSettings()163 mLocale = mCaptioningManager.getLocale(); in loadCaptionSettings()168 boolean enabled = mCaptioningManager.isEnabled(); in refreshPreviewText()184 final CaptioningManager.CaptionStyle style = mCaptioningManager.getUserStyle(); in refreshPreviewText()
46 private final CaptioningManager mCaptioningManager; field in CaptionHelper51 mCaptioningManager = context.getSystemService(CaptioningManager.class); in CaptionHelper()74 return mCaptioningManager.isEnabled(); in isEnabled()88 final float fontScale = mCaptioningManager.getFontScale(); in applyCaptionProperties()100 final Locale locale = mCaptioningManager.getLocale(); in applyCaptionProperties()202 return mCaptioningManager.getRawUserStyle(); in getRawUserStyle()207 return mCaptioningManager.getUserStyle(); in getUserStyle()212 return mCaptioningManager.getLocale(); in getLocale()
31 private final CaptioningManager mCaptioningManager; field in CaptioningAppearancePreferenceController35 mCaptioningManager = context.getSystemService(CaptioningManager.class); in CaptioningAppearancePreferenceController()64 final float fontScale = mCaptioningManager.getFontScale(); in geFontScaleSummary()74 final int preset = mCaptioningManager.getRawUserStyle(); in getPresetSummary()
32 private final CaptioningManager mCaptioningManager; field in CaptioningFontSizeController37 mCaptioningManager = context.getSystemService(CaptioningManager.class); in CaptioningFontSizeController()50 final float fontSize = mCaptioningManager.getFontScale(); in updateState()
32 private final CaptioningManager mCaptioningManager; field in CaptioningLocalePreferenceController36 mCaptioningManager = context.getSystemService(CaptioningManager.class); in CaptioningLocalePreferenceController()48 final String rawLocale = mCaptioningManager.getRawLocale(); in displayPreference()
36 private final CaptioningManager mCaptioningManager; field in CaptionSettings42 mCaptioningManager = in CaptionSettings()49 Locale l = mCaptioningManager.getLocale(); in getSystemLanguage()60 Locale l = mCaptioningManager.getLocale(); in getSystemPreferenceLanguageList()90 return mCaptioningManager.isEnabled(); in isSystemSettingEnabled()
58 private CaptioningManager mCaptioningManager; field in CaptionHelperTest70 when(mContext.getSystemService(CaptioningManager.class)).thenReturn(mCaptioningManager); in setUp()78 when(mCaptioningManager.getFontScale()).thenReturn(fontScale); in applyCaptionProperties_verifyAction()93 when(mCaptioningManager.getFontScale()).thenReturn(fontScale); in applyCaptionProperties_withoutPreviewWindow_verifyAction()106 when(mCaptioningManager.getLocale()).thenReturn(Locale.US); in applyCaptionProperties_localeUS_verifyAction()117 when(mCaptioningManager.isEnabled()).thenReturn(false); in enableCaptioningManager_shouldSetCaptionEnabled()128 when(mCaptioningManager.isEnabled()).thenReturn(true); in disableCaptioningManager_shouldSetCaptionDisabled()
20 private final CaptioningManager mCaptioningManager; field in CaptioningManagerCompat23 mCaptioningManager = captioningManager; in CaptioningManagerCompat()32 return mCaptioningManager.getRawUserStyle(); in getRawUserStyle()