Lines Matching refs:Settings
17 package com.android.settings;
36 import android.provider.Settings;
48 * Activity with the accessibility settings.
99 String settingValue = Settings.Secure.getString(getContentResolver(),
100 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
118 int serviceState = Settings.Secure.getInt(getContentResolver(),
119 Settings.Secure.ACCESSIBILITY_ENABLED, 0);
131 Settings.Secure.putInt(getContentResolver(),
132 Settings.Secure.ACCESSIBILITY_ENABLED, 0);
141 int incallPowerBehavior = Settings.Secure.getInt(getContentResolver(),
142 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR,
143 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_DEFAULT);
148 (incallPowerBehavior == Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_HANGUP);
194 Settings.Secure.putInt(getContentResolver(),
195 Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR,
196 (isChecked ? Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_HANGUP
197 : Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR_SCREEN_OFF));
212 Settings.Secure.putInt(getContentResolver(),
213 Settings.Secure.ACCESSIBILITY_ENABLED, 1);
225 Settings.Secure.putInt(getContentResolver(),
226 Settings.Secure.ACCESSIBILITY_ENABLED, 0);
277 * Persists the Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES setting.
293 Settings.Secure.putString(getContentResolver(),
294 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, builder.toString());