Lines Matching refs:Secure
199 final String typeface = Settings.Secure.getString(getContext().getContentResolver(),
200 Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE);
206 Settings.Secure.putString(getContext().getContentResolver(),
207 Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE, null);
209 Settings.Secure.putString(getContext().getContentResolver(),
210 Settings.Secure.ACCESSIBILITY_CAPTIONING_TYPEFACE, fontFamily);
215 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(),
216 Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, 0) & 0x00ffffff);
221 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(),
222 Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, 0xff000000) & 0xff000000;
223 Settings.Secure.putInt(getContext().getContentResolver(),
224 Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, color | alpha);
228 return opacityToString(Settings.Secure.getInt(getContext().getContentResolver(),
229 Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, 0) & 0xff000000);
233 final int color = Settings.Secure.getInt(getContext().getContentResolver(),
234 Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, 0) & 0x00ffffff;
236 Settings.Secure.putInt(getContext().getContentResolver(),
237 Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, color | alpha);
241 return Integer.toString(Settings.Secure.getInt(getContext().getContentResolver(),
242 Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, 0));
246 Settings.Secure.putInt(getContext().getContentResolver(),
247 Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_TYPE, Integer.parseInt(edgeType));
251 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(),
252 Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, 0) & 0x00ffffff);
256 Settings.Secure.putInt(getContext().getContentResolver(),
257 Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR,
262 return (Settings.Secure.getInt(getContext().getContentResolver(),
263 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, 0) & 0xff000000) != 0;
267 Settings.Secure.putInt(getContext().getContentResolver(),
268 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR,
277 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(),
278 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, 0) & 0x00ffffff);
283 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(),
284 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, 0xff000000) & 0xff000000;
285 Settings.Secure.putInt(getContext().getContentResolver(),
286 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, color | alpha);
290 return opacityToString (Settings.Secure.getInt(getContext().getContentResolver(),
291 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, 0) & 0xff000000);
295 final int color = Settings.Secure.getInt(getContext().getContentResolver(),
296 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, 0) & 0x00ffffff;
298 Settings.Secure.putInt(getContext().getContentResolver(),
299 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, color | alpha);
303 return (Settings.Secure.getInt(getContext().getContentResolver(),
304 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, 0) & 0xff000000) != 0;
308 Settings.Secure.putInt(getContext().getContentResolver(),
309 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, visible ? 0xff000000 : 0);
317 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(),
318 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, 0) & 0x00ffffff);
323 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(),
324 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, 0xff000000) & 0xff000000;
325 Settings.Secure.putInt(getContext().getContentResolver(),
326 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, color | alpha);
330 return opacityToString(Settings.Secure.getInt(getContext().getContentResolver(),
331 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, 0) & 0xff000000);
335 final int color = Settings.Secure.getInt(getContext().getContentResolver(),
336 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, 0) & 0x00ffffff;
338 Settings.Secure.putInt(getContext().getContentResolver(),
339 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, color | alpha);