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
118 mCaptioningManager = (CaptioningManager) getSystemService(Context.CAPTIONING_SERVICE); in onCreate()
148 final int styleId = mCaptioningManager.getRawUserStyle(); in refreshPreviewText()
149 applyCaptionProperties(mCaptioningManager, preview, mPreviewViewport, styleId); in refreshPreviewText()
151 final Locale locale = mCaptioningManager.getLocale(); in refreshPreviewText()
160 final CaptionStyle style = mCaptioningManager.getUserStyle(); in refreshPreviewText()
224 refreshPreferenceViewEnabled(mCaptioningManager.isEnabled()); in initializeAllPreferences()
291 final int preset = mCaptioningManager.getRawUserStyle(); in updateAllPreferences()
294 final float fontSize = mCaptioningManager.getFontScale(); in updateAllPreferences()
317 final String rawLocale = mCaptioningManager.getRawLocale(); 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.java36 private final CaptioningManager mCaptioningManager; field in CaptionSettings
42 mCaptioningManager = in CaptionSettings()
49 Locale l = mCaptioningManager.getLocale(); in getSystemLanguage()
60 Locale l = mCaptioningManager.getLocale(); in getSystemPreferenceLanguageList()
90 return mCaptioningManager.isEnabled(); in isSystemSettingEnabled()