Home | History | Annotate | Download | only in accessibility

Lines Matching refs:Secure

28 import android.provider.Settings.Secure;
75 return Secure.getInt(
76 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_ENABLED, DEFAULT_ENABLED) == 1;
86 return Secure.getString(mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_LOCALE);
116 return Secure.getFloat(
117 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, DEFAULT_FONT_SCALE);
125 return Secure.getInt(
126 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_PRESET, DEFAULT_PRESET);
152 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_ENABLED);
153 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR);
154 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR);
155 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR);
156 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE);
157 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR);
158 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE);
159 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE);
160 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_LOCALE);
161 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_PRESET);
169 mContentResolver.registerContentObserver(Secure.getUriFor(key), false, mContentObserver);
237 if (Secure.ACCESSIBILITY_CAPTIONING_ENABLED.equals(name)) {
239 } else if (Secure.ACCESSIBILITY_CAPTIONING_LOCALE.equals(name)) {
241 } else if (Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE.equals(name)) {
481 final int foregroundColor = Secure.getInt(
482 cr, Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, defStyle.foregroundColor);
483 final int backgroundColor = Secure.getInt(
484 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor);
485 final int edgeType = Secure.getInt(
486 cr, Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, defStyle.edgeType);
487 final int edgeColor = Secure.getInt(
488 cr, Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, defStyle.edgeColor);
489 final int windowColor = Secure.getInt(
490 cr, Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, defStyle.windowColor);
492 String rawTypeface = Secure.getString(cr, Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE);