HomeSort by relevance Sort by last modified time
    Searched refs:Settings (Results 26 - 50 of 477) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BootReceiver.java 23 import android.provider.Settings;
38 if (Settings.System.getInt(res, Settings.System.SHOW_PROCESSES, 0) != 0) {
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilitySettingsTest.java 22 import android.provider.Settings;
29 * accessibility settings has an activity that handles it.
35 Intent intent = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
39 // make sure accessibility settings exist
40 String message = "Accessibility settings activity must be launched via Intent " +
41 "Settings.ACTION_ACCESSIBILITY_SETTINGS";
  /external/webkit/Source/WebCore/page/
DOMTimer.h 37 class Settings;
40 friend class Settings;
64 // These are only modified via static methods in Settings.
  /frameworks/base/services/java/com/android/server/am/
CoreSettingsObserver.java 23 import android.provider.Settings;
24 import android.provider.Settings.SettingNotFoundException;
31 * Helper class for watching a set of core settings which the framework
33 * disk I/O operations. Note: This class assumes that all core settings reside
34 * in {@link Settings.Secure}.
43 sCoreSettingToTypeMap.put(Settings.Secure.LONG_PRESS_TIMEOUT, int.class);
44 // add other core settings here...
76 Uri uri = Settings.Secure.getUriFor(setting);
89 String value = Settings.Secure.getString(context.getContentResolver(),
93 int value = Settings.Secure.getInt(context.getContentResolver()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/preference/
ContactsPreferences.java 26 import android.provider.Settings;
27 import android.provider.Settings.SettingNotFoundException;
68 mSortOrder = Settings.System.getInt(mContext.getContentResolver(),
79 Settings.System.putInt(mContext.getContentResolver(),
102 mDisplayOrder = Settings.System.getInt(mContext.getContentResolver(),
113 Settings.System.putInt(mContext.getContentResolver(),
129 Settings.System.getUriFor(
132 Settings.System.getUriFor(
  /packages/apps/SpareParts/src/com/android/spare_parts/
SpareParts.java 1 /* //device/apps/Settings/src/com/android/settings/Keyguard.java
37 import android.provider.Settings;
38 import android.provider.Settings.SettingNotFoundException;
128 mCompatibilityMode.setChecked(Settings.System.getInt(getContentResolver(),
129 Settings.System.COMPATIBILITY_MODE, 1) != 0);
145 mFancyImeAnimationsPref.setChecked(Settings.System.getInt(
147 Settings.System.FANCY_IME_ANIMATIONS, 0) != 0);
148 mHapticFeedbackPref.setChecked(Settings.System.getInt(
150 Settings.System.HAPTIC_FEEDBACK_ENABLED, 0) != 0)
    [all...]
Enabler.java 25 import android.provider.Settings;
35 Settings.System.ADVANCED_SETTINGS_DEFAULT) != 0;
  /packages/apps/Settings/src/com/android/settings/
BrightnessPreference.java 17 package com.android.settings;
30 import android.provider.Settings;
31 import android.provider.Settings.SettingNotFoundException;
86 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS), true,
90 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE), true,
129 setMode(isChecked ? Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC
130 : Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL);
139 brightness = Settings.System.getInt(getContext().getContentResolver()
    [all...]
AirplaneModeEnabler.java 17 package com.android.settings;
27 import android.provider.Settings;
78 Settings.System.getUriFor(Settings.System.AIRPLANE_MODE_ON), true,
89 return Settings.System.getInt(context.getContentResolver(),
90 Settings.System.AIRPLANE_MODE_ON, 0) != 0;
95 Settings.System.putInt(mContext.getContentResolver(), Settings.System.AIRPLANE_MODE_ON,
SoundSettings.java 17 package com.android.settings;
43 import android.provider.Settings;
45 import android.provider.Settings.SettingNotFoundException;
157 mDtmfTone.setChecked(Settings.System.getInt(resolver,
158 Settings.System.DTMF_TONE_WHEN_DIALING, 1) != 0);
161 mSoundEffects.setChecked(Settings.System.getInt(resolver,
162 Settings.System.SOUND_EFFECTS_ENABLED, 1) != 0);
165 mHapticFeedback.setChecked(Settings.System.getInt(resolver,
166 Settings.System.HAPTIC_FEEDBACK_ENABLED, 1) != 0);
169 mLockSounds.setChecked(Settings.System.getInt(resolver
    [all...]
Settings.java 17 package com.android.settings;
19 import com.android.settings.accounts.AccountSyncSettings;
20 import com.android.settings.bluetooth.BluetoothEnabler;
21 import com.android.settings.fuelgauge.PowerUsageSummary;
22 import com.android.settings.wifi.WifiEnabler;
52 * Top-level settings activity to handle single pane and double pane UI layout.
54 public class Settings extends PreferenceActivity implements ButtonBarHandler {
56 private static final String LOG_TAG = "Settings";
58 "com.android.settings.TOP_LEVEL_HEADER_ID";
60 "com.android.settings.FRAGMENT_CLASS"
    [all...]
DevelopmentSettings.java 17 package com.android.settings;
44 import android.provider.Settings;
166 mEnableAdb.setChecked(Settings.Secure.getInt(cr,
167 Settings.Secure.ADB_ENABLED, 0) != 0);
168 mKeepScreenOn.setChecked(Settings.System.getInt(cr,
169 Settings.System.STAY_ON_WHILE_PLUGGED_IN, 0) != 0);
170 mAllowMockLocation.setChecked(Settings.Secure.getInt(cr,
171 Settings.Secure.ALLOW_MOCK_LOCATION, 0) != 0);
243 Settings.System.putInt(getActivity().getContentResolver(),
244 Settings.System.POINTER_LOCATION, mPointerLocation.isChecked() ? 1 : 0)
    [all...]
PointerSpeedPreference.java 17 package com.android.settings;
29 import android.provider.Settings;
30 import android.provider.Settings.SettingNotFoundException;
64 Settings.System.getUriFor(Settings.System.POINTER_SPEED), true,
99 speed = Settings.System.getInt(getContext().getContentResolver(),
100 Settings.System.POINTER_SPEED);
118 Settings.System.putInt(resolver, Settings.System.POINTER_SPEED,
  /frameworks/base/media/java/android/media/audiofx/
PresetReverb.java 234 * The Settings class regroups all preset reverb parameters. It is used in
238 public static class Settings {
241 public Settings() {
245 * Settings class constructor from a key=value; pairs formatted string. The string is
246 * typically returned by Settings.toString() method.
249 public Settings(String settings) {
250 StringTokenizer st = new StringTokenizer(settings, "=;");
253 throw new IllegalArgumentException("settings: " + settings);
292 Settings settings = new Settings(); local
    [all...]
  /frameworks/base/services/java/com/android/server/
DockObserver.java 32 import android.provider.Settings;
138 if (Settings.Secure.getInt(cr,
139 Settings.Secure.DEVICE_PROVISIONED, 0) == 0) {
156 if (Settings.System.getInt(cr,
157 Settings.System.DOCK_SOUNDS_ENABLED, 1) == 1)
164 whichSound = Settings.System.DESK_UNDOCK_SOUND;
166 whichSound = Settings.System.CAR_UNDOCK_SOUND;
172 whichSound = Settings.System.DESK_DOCK_SOUND;
174 whichSound = Settings.System.CAR_DOCK_SOUND;
179 final String soundPath = Settings.System.getString(cr, whichSound)
    [all...]
  /frameworks/base/core/java/android/util/
NtpTrustedTime.java 24 import android.provider.Settings;
62 final String secureServer = Settings.Secure.getString(
63 resolver, Settings.Secure.NTP_SERVER);
64 final long timeout = Settings.Secure.getLong(
65 resolver, Settings.Secure.NTP_TIMEOUT, defaultTimeout);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
AirplaneModeController.java 27 import android.provider.Settings;
76 return 0 != Settings.System.getInt(cr, Settings.System.AIRPLANE_MODE_ON, 0);
84 Settings.System.putInt(
86 Settings.System.AIRPLANE_MODE_ON,
  /frameworks/base/telephony/java/com/android/internal/telephony/
SmsUsageMonitor.java 20 import android.provider.Settings;
52 * @param resolver the ContentResolver to use to load from secure settings
55 mMaxAllowed = Settings.Secure.getInt(resolver,
56 Settings.Secure.SMS_OUTGOING_CHECK_MAX_COUNT,
59 mCheckPeriod = Settings.Secure.getInt(resolver,
60 Settings.Secure.SMS_OUTGOING_CHECK_INTERVAL_MS,
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 26 import android.provider.Settings;
61 mDefaultFormat = Settings.System.getString(mContext.getContentResolver(),
62 Settings.System.DATE_FORMAT);
68 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12");
73 Settings.System.putString(mContentResolver, Settings.System.DATE_FORMAT, mDefaultFormat);
84 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "24");
86 Settings.System.putString(mContentResolver, Settings.System.TIME_12_24, "12")
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
ClockBackActivity.java 22 import android.provider.Settings;
34 /** An intent for launching the system settings. */
36 new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
46 // Add a shortcut to the accessibility settings.
TaskListActivity.java 24 import android.provider.Settings;
31 /** An intent for launching the system settings. */
33 new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS);
50 // Add a shortcut to the accessibility settings.
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
ImePreferences.java 31 modIntent.putExtra(EXTRA_SHOW_FRAGMENT, Settings.class.getName());
44 public static class Settings extends InputMethodSettingsFragment {
  /external/webkit/Source/WebKit/android/WebCoreSupport/
CachedFramePlatformDataAndroid.cpp 29 #include "Settings.h"
33 CachedFramePlatformDataAndroid::CachedFramePlatformDataAndroid(WebCore::Settings* settings)
36 m_viewport_width = settings->viewportWidth();
37 m_viewport_height = settings->viewportHeight();
38 m_viewport_initial_scale = settings->viewportInitialScale();
39 m_viewport_minimum_scale = settings->viewportMinimumScale();
40 m_viewport_maximum_scale = settings->viewportMaximumScale();
41 m_viewport_target_densitydpi = settings->viewportTargetDensityDpi();
42 m_viewport_user_scalable = settings->viewportUserScalable()
    [all...]
  /packages/apps/Settings/tests/
Android.mk 15 LOCAL_INSTRUMENTATION_FOR := Settings
  /build/target/product/
large_emu_hw.mk 41 Settings \

Completed in 504 milliseconds

12 3 4 5 6 7 8 91011>>