Searched refs:settings (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/base/cmds/settings/
H A DAndroid.mk7 LOCAL_MODULE := settings
12 LOCAL_MODULE := settings
13 LOCAL_SRC_FILES := settings
/frameworks/wilhelm/src/itf/
H A DIAudioEncoder.c31 SLAudioEncoderSettings settings = *pSettings; local
33 thiz->mSettings = settings;
52 SLAudioEncoderSettings settings = thiz->mSettings; local
54 *pSettings = settings;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java141 Settings settings = new Settings(getContext(), getContext().getFilesDir());
142 assertEquals(true, settings.readLPw(null));
143 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_3));
144 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_1));
146 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1);
150 ps = settings.peekPackageLPr(PACKAGE_NAME_2);
159 Settings settings = new Settings(getContext(), getContext().getFilesDir());
160 assertEquals(true, settings.readLPw(null));
163 settings = new Settings(getContext(), getContext().getFilesDir());
164 assertEquals(true, settings
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java529 public Settings(String settings) { argument
530 StringTokenizer st = new StringTokenizer(settings, "=;");
533 throw new IllegalArgumentException("settings: " + settings);
538 "invalid settings for EnvironmentalReverb: " + key);
621 * reverb settings must be saved by the application.
631 Settings settings = new Settings();
632 settings.roomLevel = byteArrayToShort(param, 0);
633 settings.roomHFLevel = byteArrayToShort(param, 2);
634 settings
653 setProperties(EnvironmentalReverb.Settings settings) argument
[all...]
H A DPresetReverb.java249 public Settings(String settings) { argument
250 StringTokenizer st = new StringTokenizer(settings, "=;");
253 throw new IllegalArgumentException("settings: " + settings);
258 "invalid settings for PresetReverb: " + key);
284 * preset reverb settings must be saved by the application.
292 Settings settings = new Settings();
295 settings.preset = value[0];
296 return settings;
300 * Sets the preset reverb properties. This method is useful when preset reverb settings hav
307 setProperties(PresetReverb.Settings settings) argument
[all...]
H A DEqualizer.java467 public Settings(String settings) { argument
468 StringTokenizer st = new StringTokenizer(settings, "=;");
471 throw new IllegalArgumentException("settings: " + settings);
476 "invalid settings for Equalizer: " + key);
490 throw new IllegalArgumentException("settings: " + settings);
523 * equalizer settings must be saved by the application.
533 Settings settings = new Settings();
534 settings
551 setProperties(Equalizer.Settings settings) argument
[all...]
H A DBassBoost.java232 public Settings(String settings) { argument
233 StringTokenizer st = new StringTokenizer(settings, "=;");
236 throw new IllegalArgumentException("settings: " + settings);
241 "invalid settings for BassBoost: " + key);
267 * bass boost settings must be saved by the application.
275 Settings settings = new Settings();
278 settings.strength = value[0];
279 return settings;
283 * Sets the bass boost properties. This method is useful when bass boost settings hav
290 setProperties(BassBoost.Settings settings) argument
[all...]
H A DVirtualizer.java234 public Settings(String settings) { argument
235 StringTokenizer st = new StringTokenizer(settings, "=;");
238 throw new IllegalArgumentException("settings: " + settings);
243 "invalid settings for Virtualizer: " + key);
269 * virtualizer settings must be saved by the application.
277 Settings settings = new Settings();
280 settings.strength = value[0];
281 return settings;
285 * Sets the virtualizer properties. This method is useful when virtualizer settings hav
292 setProperties(Virtualizer.Settings settings) argument
[all...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DProfiledWebView.java80 WebSettingsClassic settings = getWebViewClassic().getSettings();
81 settings.setJavaScriptEnabled(true);
82 settings.setSupportZoom(true);
83 settings.setEnableSmoothTransition(true);
84 settings.setBuiltInZoomControls(true);
85 settings.setLoadWithOverviewMode(true);
86 settings.setProperty("use_minimal_memory", "false"); // prefetch tiles, as browser does
93 WebSettingsClassic settings = getWebViewClassic().getSettings();
94 settings.setProperty("use_minimal_memory", minimal ? "true" : "false");
123 WebSettingsClassic settings
[all...]
/frameworks/base/core/java/android/webkit/
H A DZoomControlEmbedded.java44 WebSettingsClassic settings = mWebView.getSettings();
45 int count = settings.getDoubleTapToastCount();
47 settings.setDoubleTapToastCount(--count);
H A DZoomManager.java612 WebSettings settings = mWebView.getSettings();
613 return settings != null && settings.getUseWideViewPort();
635 WebSettingsClassic settings = mWebView.getSettings();
643 settings.setDoubleTapToastCount(0);
649 if (settings.getUseFixedViewport()) {
660 if (settings.isNarrowColumnLayout()
731 final WebSettings settings = mWebView.getSettings();
736 && settings.supportZoom() && settings
[all...]
H A DAccessibilityInjector.java574 * settings.
577 final WebSettings settings = mWebView.getSettings();
578 if (settings == null) {
582 return settings.getJavaScriptEnabled();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaBassBoostTest.java160 BassBoost.Settings settings = mBassBoost.getProperties();
161 String str = settings.toString();
162 settings = new BassBoost.Settings(str);
163 mBassBoost.setProperties(settings);
H A DMediaVirtualizerTest.java161 Virtualizer.Settings settings = mVirtualizer.getProperties();
162 String str = settings.toString();
163 settings = new Virtualizer.Settings(str);
164 mVirtualizer.setProperties(settings);
H A DMediaPresetReverbTest.java161 PresetReverb.Settings settings = mReverb.getProperties();
163 if (settings.preset == (short)PresetReverb.PRESET_LARGEROOM) {
166 String str = settings.toString();
167 settings = new PresetReverb.Settings(str);
168 settings.preset = newPreset;
169 mReverb.setProperties(settings);
170 settings = mReverb.getProperties();
171 assertEquals(msg +": setProperties failed", newPreset, settings.preset);
H A DMediaEnvReverbTest.java314 EnvironmentalReverb.Settings settings = mReverb.getProperties();
316 if (settings.roomLevel == 0) {
319 String str = settings.toString();
320 settings = new EnvironmentalReverb.Settings(str);
321 settings.roomLevel = newRoomLevel;
322 mReverb.setProperties(settings);
323 settings = mReverb.getProperties();
325 (settings.roomLevel > (newRoomLevel - MILLIBEL_TOLERANCE)) &&
326 (settings.roomLevel < (newRoomLevel + MILLIBEL_TOLERANCE)));
H A DMediaEqualizerTest.java229 Equalizer.Settings settings = mEqualizer.getProperties();
230 String str = settings.toString();
231 settings = new Equalizer.Settings(str);
232 mEqualizer.setProperties(settings);
/frameworks/base/services/java/com/android/server/usb/
H A DUsbService.java61 UsbSettingsManager settings = mSettingsByUser.get(userId);
62 if (settings == null) {
63 settings = new UsbSettingsManager(mContext, new UserHandle(userId));
64 mSettingsByUser.put(userId, settings);
66 return settings;
272 final UsbSettingsManager settings = mSettingsByUser.valueAt(i);
275 settings.dump(fd, pw);
H A DUsbHostManager.java58 public void setCurrentSettings(UsbSettingsManager settings) { argument
60 mCurrentSettings = settings;
/frameworks/wilhelm/tests/sandbox/
H A Dreverb.c31 // Table of I3DL2 named environmental reverb settings
91 // Compare two environmental reverb settings structures.
92 // Returns true if the settings are identical, or false if they are different.
111 // Print an environmental reverb settings structure.
113 void slesutPrintEnvironmentalReverbSettings(const SLEnvironmentalReverbSettings *settings) argument
115 printf("roomLevel: %d\n", settings->roomLevel);
116 printf("roomHFLevel: %d\n", settings->roomHFLevel);
117 printf("decayTime: %d\n", settings->decayTime);
118 printf("decayHFRatio: %d\n", settings->decayHFRatio);
119 printf("reflectionsLevel: %d\n", settings
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DTestShellActivity.java864 WebSettingsClassic settings = WebViewClassic.fromWebView(webview).getSettings();
865 settings.setAppCacheEnabled(true);
866 settings.setAppCachePath(getApplicationContext().getCacheDir().getPath());
867 settings.setAppCacheMaxSize(Long.MAX_VALUE);
868 settings.setJavaScriptEnabled(true);
869 settings.setJavaScriptCanOpenWindowsAutomatically(true);
870 settings.setSupportMultipleWindows(true);
871 settings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL);
872 settings.setDatabaseEnabled(true);
873 settings
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java17 package com.android.providers.settings;
58 * Performs backup and restore of the System and Secure settings.
59 * List of settings that are backed up are stored in the Settings.java file
411 // representation of the backed-up settings.
422 if (DEBUG_BACKUP) Log.d(TAG, systemSettingsData.length + " bytes of settings data");
425 if (DEBUG_BACKUP) Log.d(TAG, secureSettingsData.length + " bytes of secure settings data");
428 if (DEBUG_BACKUP) Log.d(TAG, globalSettingsData.length + " bytes of global settings data");
455 // Our data is actually a blob of flattened settings data identical to that
469 // system settings data first
471 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings dat
619 restoreSettings(byte[] settings, int bytes, Uri contentUri, HashSet<String> movedToGlobal) argument
697 extractRelevantValues(Cursor cursor, String[] settings) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java85 ToneSettings settings; field in class:PlayToneParams
91 this.settings = new ToneSettings(duration, tone, vibrate);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DSettingsView.java85 findViewById(R.id.settings).setOnClickListener(this);
101 case R.id.settings:
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java156 * @return an intent that can launch the settings activity for a given tts engine.
170 final String settings = settingsActivityFromServiceInfo(service, pm);
171 if (settings != null) {
173 i.setClassName(engine, settings);
213 final String settings = array.getString(
217 return settings;

Completed in 352 milliseconds

12