/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
OrientationManager.java | 24 import android.provider.Settings; 42 // This is true if "Settings -> Display -> Rotation Lock" is checked. We 53 mRotationLockedSetting = Settings.System.getInt( 54 resolver, Settings.System.ACCELEROMETER_ROTATION, 0) != 1;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 17 package com.android.settings.wifi; 19 import com.android.settings.R; 31 import android.provider.Settings; 80 Settings.Global.putInt(getContentResolver(), 81 Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 1);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
UserLogRingCharBuffer.java | 23 import com.android.inputmethod.latin.settings.Settings; 119 if (!Settings.getInstance().isWordSeparator(c)) { 125 if (!Settings.getInstance().isWordSeparator(c)) {
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketChannel.cpp | 37 #include "core/page/Settings.h" 66 Settings* settings = document->settings(); local 67 if (settings && settings->experimentalWebSocketEnabled()) {
|
/external/chromium_org/third_party/WebKit/Source/web/ |
PopupMenuChromium.cpp | 39 #include "core/page/Settings.h" 46 // The settings used for the drop down menu. 73 Settings* settings = m_frameView->frame()->page()->settings(); local 75 popupSettings.deviceSupportsTouch = settings->deviceSupportsTouch();
|
/external/chromium_org/tools/gn/ |
ninja_helper.h | 37 OutputFile GetNinjaFileForToolchain(const Settings* settings) const;
|
ninja_target_writer.h | 16 #include "tools/gn/settings.h" 62 const Settings* settings_; // Non-owning.
|
target.h | 22 class Settings; 39 Target(const Settings* settings, const Label& label); 54 const Settings* settings() const { return settings_; } function in class:Target 75 // List of configs that this class inherits settings from. 120 const Settings* settings_;
|
filesystem_utils.cc | 69 Settings::TargetOS os) { 79 case Settings::MAC: 86 case Settings::WIN: 101 Settings::TargetOS os) { 103 case Settings::MAC: 121 case Settings::WIN:
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraph.java | 28 import android.provider.Settings.System;
|
/frameworks/base/core/java/android/net/ |
CaptivePortalTracker.java | 32 import android.provider.Settings; 124 mServer = Settings.Global.getString(mContext.getContentResolver(), 125 Settings.Global.CAPTIVE_PORTAL_SERVER); 128 mIsCaptivePortalCheckEnabled = Settings.Global.getInt(mContext.getContentResolver(), 129 Settings.Global.CAPTIVE_PORTAL_DETECTION_ENABLED, 1) == 1; 141 mContext.getContentResolver().registerContentObserver(Settings.Global.getUriFor( 142 Settings.Global.DEVICE_PROVISIONED), false, this); 148 mDeviceProvisioned = Settings.Global.getInt(mContext.getContentResolver(), 149 Settings.Global.DEVICE_PROVISIONED, 0) != 0; 445 if (Settings.Global.getInt(mContext.getContentResolver() [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 17 package com.android.settings; 32 import android.provider.Settings; 33 import android.provider.Settings.SettingNotFoundException; 65 // Otherwise, we use the standard date time settings fragment. 188 Settings.Global.putInt(getContentResolver(), Settings.Global.AUTO_TIME, 212 Settings.Global.putInt(getContentResolver(), 213 Settings.Global.AUTO_TIME_ZONE, 223 Settings.Global.putInt(getContentResolver(), 224 Settings.Global.AUTO_TIME [all...] |
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 29 import android.provider.Settings; 30 import android.provider.Settings.SettingNotFoundException; 196 String format = Settings.System.getString(getContext().getContentResolver(), 197 Settings.System.DATE_FORMAT); 220 Uri uri = Settings.System.getUriFor(Settings.System.DATE_FORMAT);
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 25 import android.provider.Settings; 26 import android.provider.Settings.SettingNotFoundException; 42 * This methods are supposed to be used in both the framework and the Settings application. 486 * Utility class for putting and getting settings for InputMethod 487 * TODO: Move all putters and getters of settings to this class. 513 // Inputmethod and subtypes are saved in the settings as follows: 535 // IMMS settings are kept per user, so keep track of current user 587 // At the initial boot, the settings for input methods are not set, 698 Settings.Secure.putStringForUser( 699 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, str, mCurrentUserId) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsModel.java | 35 import android.provider.Settings; 36 import android.provider.Settings.SettingNotFoundException; 45 import com.android.systemui.settings.BrightnessController.BrightnessStateChangeCallback; 46 import com.android.systemui.settings.CurrentUserTracker; 157 Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED), false, this, 175 Settings.Global.getUriFor(Settings.Global.BUGREPORT_IN_POWER_MENU), false, this); 194 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE) [all...] |
/frameworks/base/services/java/com/android/server/ |
BluetoothManagerService.java | 45 import android.provider.Settings; 127 final String airplaneModeRadios = Settings.Global.getString(resolver, 128 Settings.Global.AIRPLANE_MODE_RADIOS); 129 final String toggleableRadios = Settings.Global.getString(resolver, 130 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); 132 airplaneModeRadios.contains(Settings.Global.RADIO_BLUETOOTH); 226 return Settings.Global.getInt(mContext.getContentResolver(), 227 Settings.Global.AIRPLANE_MODE_ON, 0) == 1; 234 return Settings.Global.getInt(mContentResolver, 235 Settings.Global.BLUETOOTH_ON, 0) != BLUETOOTH_OFF [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodAndLanguageSettings.java | 17 package com.android.settings.inputmethod; 19 import com.android.settings.R; 20 import com.android.settings.Settings.KeyboardLayoutPickerActivity; 21 import com.android.settings.Settings.SpellCheckersSettingsActivity; 22 import com.android.settings.SettingsPreferenceFragment; 23 import com.android.settings.UserDictionarySettings; 24 import com.android.settings.Utils; 25 import com.android.settings.VoiceInputOutputSettings [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 77 // This activity is reused 6 times with different settings to test each rotation direction 79 Settings settings = getSettings(stageIndex); local 88 mSensorListener = new SensorListener(settings.mSensorEventIndex, 89 settings.mExpectPositiveValue); 92 mGLSurfaceView.setRenderer(new RotationGuideRenderer(settings.mRotateX, settings.mRotateY, 93 settings.mRotateZ)); 97 settings.mStageIndex + 1, settings.mTotalStages)) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 42 import android.provider.Contacts.Settings; 595 * Test case for the behavior of the ContactsProvider's settings table 600 Settings._ID, Settings._SYNC_ACCOUNT, Settings._SYNC_ACCOUNT_TYPE, 601 Settings.KEY, Settings.VALUE}; 616 value.put(Settings.KEY, insertKey); 617 value.put(Settings.VALUE, insertValue); 620 mProvider.insert(Settings.CONTENT_URI, value) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 34 import android.provider.Settings; 52 * Utilities for the lock pattern and its settings. 144 private static final String LOCK_SCREEN_OWNER_INFO = Settings.Secure.LOCK_SCREEN_OWNER_INFO; 146 Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED; 171 * @param contentResolver Used to look up and save settings. 271 Log.e(TAG, "Couldn't remove lock settings for user " + userId); [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
EnvironmentalReverb.java | 505 * The Settings class regroups all environmental reverb parameters. It is used in 509 public static class Settings { 521 public Settings() { 525 * Settings class constructor from a key=value; pairs formatted string. The string is 526 * typically returned by Settings.toString() method. 529 public Settings(String settings) { 530 StringTokenizer st = new StringTokenizer(settings, "=;"); 533 throw new IllegalArgumentException("settings: " + settings); 631 Settings settings = new Settings(); local [all...] |
Equalizer.java | 450 * The Settings class regroups all equalizer parameters. It is used in 454 public static class Settings { 459 public Settings() { 463 * Settings class constructor from a key=value; pairs formatted string. The string is 464 * typically returned by Settings.toString() method. 467 public Settings(String settings) { 468 StringTokenizer st = new StringTokenizer(settings, "=;"); 471 throw new IllegalArgumentException("settings: " + settings); 533 Settings settings = new Settings(); local [all...] |
/frameworks/base/services/java/com/android/server/dreams/ |
DreamManagerService.java | 36 import android.provider.Settings; 134 Settings.Secure.putStringForUser(mContext.getContentResolver(), 135 Settings.Secure.SCREENSAVER_COMPONENTS, 150 String name = Settings.Secure.getStringForUser(mContext.getContentResolver(), 151 Settings.Secure.SCREENSAVER_DEFAULT_COMPONENT, 288 String names = Settings.Secure.getStringForUser(mContext.getContentResolver(), 289 Settings.Secure.SCREENSAVER_COMPONENTS,
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
PeopleActivityTest.java | 30 import android.provider.Settings; 164 .expectQuery(Settings.System.CONTENT_URI) 165 .withProjection(Settings.System.VALUE) 166 .withSelection(Settings.System.NAME + "=?", 171 .expectQuery(Settings.System.CONTENT_URI) 172 .withProjection(Settings.System.VALUE) 173 .withSelection(Settings.System.NAME + "=?",
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ToggleAccessibilityServicePreferenceFragment.java | 17 package com.android.settings.accessibility; 30 import android.provider.Settings; 39 import com.android.settings.R; 40 import com.android.settings.accessibility.ToggleSwitch.OnBeforeCheckedChangeListener; 57 String settingValue = Settings.Secure.getString(getContentResolver(), 58 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 115 // clean up not settings. 125 Settings.Secure.putString(getContentResolver(), 126 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 130 Settings.Secure.putInt(getContentResolver() [all...] |