Lines Matching refs:Settings
17 package com.android.settings;
46 import android.provider.Settings;
66 import com.android.settings.AccessibilitySettings.ToggleSwitch.OnBeforeCheckedChangeListener;
75 * Activity with the accessibility settings.
199 Settings.Secure.putInt(getContentResolver(),
200 Settings.Secure.LONG_PRESS_TIMEOUT, Integer.parseInt(stringValue));
235 Settings.Secure.putInt(getContentResolver(),
236 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR,
238 ? Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_HANGUP
239 : Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_SCREEN_OFF));
257 Settings.Secure.putInt(getContentResolver(),
258 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD,
329 final boolean accessibilityEnabled = Settings.Secure.getInt(getContentResolver(),
330 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1;
432 final int incallPowerBehavior = Settings.Secure.getInt(getContentResolver(),
433 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR,
434 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_DEFAULT);
436 (incallPowerBehavior == Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_HANGUP);
441 final boolean autoRotationEnabled = Settings.System.getInt(getContentResolver(),
442 Settings.System.ACCELEROMETER_ROTATION, 0) != 0;
446 final boolean speakPasswordEnabled = Settings.Secure.getInt(getContentResolver(),
447 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, 0) != 0;
453 final boolean touchExplorationEnabled = (Settings.Secure.getInt(getContentResolver(),
454 Settings.Secure.TOUCH_EXPLORATION_ENABLED, 0) == 1);
470 final int longPressTimeout = Settings.Secure.getInt(getContentResolver(),
471 Settings.Secure.LONG_PRESS_TIMEOUT, mLongPressTimeoutDefault);
477 final boolean scriptInjectionAllowed = (Settings.Secure.getInt(getContentResolver(),
478 Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, 0) == 1);
545 String enabledServicesSetting = Settings.Secure.getString(context.getContentResolver(),
546 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
668 // In general the system should be responsible for the clean up not settings.
677 Settings.Secure.putString(getContentResolver(),
678 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
682 Settings.Secure.putInt(getContentResolver(),
683 Settings.Secure.ACCESSIBILITY_ENABLED, accessibilityEnabled ? 1 : 0);
690 Settings.Secure.putInt(getContentResolver(),
691 Settings.Secure.TOUCH_EXPLORATION_ENABLED, enabled ? 1 : 0);
893 // Settings title and intent.