Home
last modified time | relevance | path

Searched refs:mCaptioningManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionSettingsFragment.java48 private CaptioningManager mCaptioningManager; field in CaptionSettingsFragment
105 mCaptioningManager = in onCreate()
129 mCaptioningManager.addCaptioningChangeListener (mCaptionChangeListener); in onStart()
138 mCaptioningManager.removeCaptioningChangeListener (mCaptionChangeListener); in onStop()
143 mFontScale = mCaptioningManager.getFontScale(); in loadCaptionSettings()
144 mStyleId = mCaptioningManager.getRawUserStyle(); in loadCaptionSettings()
145 mLocale = mCaptioningManager.getLocale(); in loadCaptionSettings()
150 boolean enabled = mCaptioningManager.isEnabled(); in refreshPreviewText()
165 final CaptioningManager.CaptionStyle style = mCaptioningManager.getUserStyle(); in refreshPreviewText()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java71 private CaptioningManager mCaptioningManager; field in CaptionPropertiesFragment
106 mCaptioningManager = (CaptioningManager) getSystemService(Context.CAPTIONING_SERVICE); in onCreate()
119 final boolean enabled = mCaptioningManager.isEnabled(); in onActivityCreated()
149 final int styleId = mCaptioningManager.getRawUserStyle(); in refreshPreviewText()
150 applyCaptionProperties(mCaptioningManager, preview, mPreviewViewport, styleId); in refreshPreviewText()
152 final Locale locale = mCaptioningManager.getLocale(); in refreshPreviewText()
161 final CaptionStyle style = mCaptioningManager.getUserStyle(); in refreshPreviewText()
228 final boolean enabled = mCaptioningManager.isEnabled(); in initializeAllPreferences()
313 final int preset = mCaptioningManager.getRawUserStyle(); in updateAllPreferences()
316 final float fontSize = mCaptioningManager.getFontScale(); in updateAllPreferences()
[all …]
DPresetPreference.java32 private final CaptioningManager mCaptioningManager; field in PresetPreference
40 mCaptioningManager = (CaptioningManager) context.getSystemService( in PresetPreference()
56 mCaptioningManager, previewText, previewViewport, value); in onBindListItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DCaptionPropertiesFragment.java74 private CaptioningManager mCaptioningManager; field in CaptionPropertiesFragment
109 mCaptioningManager = (CaptioningManager) getSystemService(Context.CAPTIONING_SERVICE); in onCreate()
140 final boolean enabled = mCaptioningManager.isEnabled(); in onViewCreated()
159 final boolean enabled = mCaptioningManager.isEnabled(); in onActivityCreated()
189 final int styleId = mCaptioningManager.getRawUserStyle(); in refreshPreviewText()
190 applyCaptionProperties(mCaptioningManager, preview, mPreviewViewport, styleId); in refreshPreviewText()
192 final Locale locale = mCaptioningManager.getLocale(); in refreshPreviewText()
201 final CaptionStyle style = mCaptioningManager.getUserStyle(); in refreshPreviewText()
340 final int preset = mCaptioningManager.getRawUserStyle(); in updateAllPreferences()
343 final float fontSize = mCaptioningManager.getFontScale(); in updateAllPreferences()
[all …]
DPresetPreference.java32 private final CaptioningManager mCaptioningManager; field in PresetPreference
40 mCaptioningManager = (CaptioningManager) context.getSystemService( in PresetPreference()
56 mCaptioningManager, previewText, previewViewport, value); in onBindListItem()
/packages/apps/TV/src/com/android/tv/util/
DCaptionSettings.java28 private final CaptioningManager mCaptioningManager; field in CaptionSettings
34 mCaptioningManager = in CaptionSettings()
39 Locale l = mCaptioningManager.getLocale(); in getSystemLanguage()
59 return mCaptioningManager.isEnabled(); in isSystemSettingEnabled()