Lines Matching refs:getContentResolver

115         final ContentResolver resolver = activity.getContentResolver();  in onCreate()
224 int current = Settings.Secure.getIntForUser(c.getContentResolver(), in onCreate()
234 if (!Settings.Secure.putIntForUser(c.getContentResolver(), in onCreate()
333 final long currentTimeout = Settings.System.getLong(getActivity().getContentResolver(), in onResume()
357 int brightnessMode = Settings.System.getInt(getContentResolver(), in updateState()
364 int value = Settings.Secure.getInt(getContentResolver(), WAKE_GESTURE_ENABLED, 0); in updateState()
370 int value = Settings.Secure.getInt(getContentResolver(), DOZE_ENABLED, 1); in updateState()
376 int value = Settings.Secure.getInt(getContentResolver(), DOUBLE_TAP_TO_WAKE, 0); in updateState()
382 int value = Settings.Secure.getInt(getContentResolver(), CAMERA_GESTURE_DISABLED, 0); in updateState()
389 getContentResolver(), CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, 0); in updateState()
403 final float currentScale = Settings.System.getFloat(context.getContentResolver(), in updateFontSizeSummary()
419 Settings.System.putInt(getContentResolver(), SCREEN_OFF_TIMEOUT, value); in onPreferenceChange()
427 Settings.System.putInt(getContentResolver(), SCREEN_BRIGHTNESS_MODE, in onPreferenceChange()
432 Settings.Secure.putInt(getContentResolver(), WAKE_GESTURE_ENABLED, value ? 1 : 0); in onPreferenceChange()
436 Settings.Secure.putInt(getContentResolver(), DOZE_ENABLED, value ? 1 : 0); in onPreferenceChange()
440 Settings.Secure.putInt(getContentResolver(), DOUBLE_TAP_TO_WAKE, value ? 1 : 0); in onPreferenceChange()
444 Settings.Secure.putInt(getContentResolver(), CAMERA_GESTURE_DISABLED, in onPreferenceChange()
449 Settings.Secure.putInt(getContentResolver(), CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, in onPreferenceChange()
500 boolean auto = Settings.System.getInt(mContext.getContentResolver(), in updateSummary()