Home | History | Annotate | Download | only in settings

Lines Matching refs:Settings

17 package com.android.settings;
38 import android.provider.Settings;
50 import com.android.settings.accessibility.ToggleFontSizePreferenceFragment;
51 import com.android.settings.dashboard.SummaryLoader;
52 import com.android.settings.search.BaseSearchIndexProvider;
53 import com.android.settings.search.Indexable;
60 import static android.provider.Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED;
61 import static android.provider.Settings.Secure.CAMERA_GESTURE_DISABLED;
62 import static android.provider.Settings.Secure.DOUBLE_TAP_TO_WAKE;
63 import static android.provider.Settings.Secure.DOZE_ENABLED;
64 import static android.provider.Settings.Secure.WAKE_GESTURE_ENABLED;
65 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE;
66 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC;
67 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL;
68 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT;
224 int current = Settings.Secure.getIntForUser(c.getContentResolver(),
225 Settings.Secure.VR_DISPLAY_MODE,
226 /*default*/Settings.Secure.VR_DISPLAY_MODE_LOW_PERSISTENCE,
234 if (!Settings.Secure.putIntForUser(c.getContentResolver(),
235 Settings.Secure.VR_DISPLAY_MODE,
238 Settings.Secure.VR_DISPLAY_MODE);
333 final long currentTimeout = Settings.System.getLong(getActivity().getContentResolver(),
357 int brightnessMode = Settings.System.getInt(getContentResolver(),
364 int value = Settings.Secure.getInt(getContentResolver(), WAKE_GESTURE_ENABLED, 0);
370 int value = Settings.Secure.getInt(getContentResolver(), DOZE_ENABLED, 1);
376 int value = Settings.Secure.getInt(getContentResolver(), DOUBLE_TAP_TO_WAKE, 0);
382 int value = Settings.Secure.getInt(getContentResolver(), CAMERA_GESTURE_DISABLED, 0);
388 int value = Settings.Secure.getInt(
403 final float currentScale = Settings.System.getFloat(context.getContentResolver(),
404 Settings.System.FONT_SCALE, 1.0f);
419 Settings.System.putInt(getContentResolver(), SCREEN_OFF_TIMEOUT, value);
427 Settings.System.putInt(getContentResolver(), SCREEN_BRIGHTNESS_MODE,
432 Settings.Secure.putInt(getContentResolver(), WAKE_GESTURE_ENABLED, value ? 1 : 0);
436 Settings.Secure.putInt(getContentResolver(), DOZE_ENABLED, value ? 1 : 0);
440 Settings.Secure.putInt(getContentResolver(), DOUBLE_TAP_TO_WAKE, value ? 1 : 0);
444 Settings.Secure.putInt(getContentResolver(), CAMERA_GESTURE_DISABLED,
449 Settings.Secure.putInt(getContentResolver(), CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED,
500 boolean auto = Settings.System.getInt(mContext.getContentResolver(),