Lines Matching refs:Settings
17 package com.android.settings;
30 import android.provider.Settings;
31 import android.provider.Settings.SettingNotFoundException;
92 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS), true,
96 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE), true,
114 mAutomaticMode = mOldAutomatic == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC;
137 setMode(isChecked ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC
138 : Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL);
147 if (false && mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC) {
148 brightness = Settings.System.getFloat(getContext().getContentResolver(),
149 Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ, 0);
153 brightness = Settings.System.getInt(getContext().getContentResolver(),
154 Settings.System.SCREEN_BRIGHTNESS, 100);
167 brightnessMode = Settings.System.getInt(getContext().getContentResolver(),
168 Settings.System.SCREEN_BRIGHTNESS_MODE);
180 == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC;
225 Settings.System.putFloat(resolver,
226 Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ, valf);
243 Settings.System.putInt(resolver,
244 Settings.System.SCREEN_BRIGHTNESS, brightness);
254 mAutomaticMode = mode == Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC;
255 Settings.System.putInt(getContext().getContentResolver(),
256 Settings.System.SCREEN_BRIGHTNESS_MODE, mode);