/frameworks/base/media/java/android/media/audiofx/ |
D | EnvironmentalReverb.java | 521 public Settings(String settings) { in Settings() argument 522 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings() 525 throw new IllegalArgumentException("settings: " + settings); in Settings() 623 Settings settings = new Settings(); in getProperties() local 624 settings.roomLevel = byteArrayToShort(param, 0); in getProperties() 625 settings.roomHFLevel = byteArrayToShort(param, 2); in getProperties() 626 settings.decayTime = byteArrayToInt(param, 4); in getProperties() 627 settings.decayHFRatio = byteArrayToShort(param, 8); in getProperties() 628 settings.reflectionsLevel = byteArrayToShort(param, 10); in getProperties() 629 settings.reflectionsDelay = byteArrayToInt(param, 12); in getProperties() [all …]
|
D | Equalizer.java | 460 public Settings(String settings) { in Settings() argument 461 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings() 464 throw new IllegalArgumentException("settings: " + settings); in Settings() 483 throw new IllegalArgumentException("settings: " + settings); in Settings() 526 Settings settings = new Settings(); in getProperties() local 527 settings.curPreset = byteArrayToShort(param, 0); in getProperties() 528 settings.numBands = byteArrayToShort(param, 2); in getProperties() 529 settings.bandLevels = new short[mNumBands]; in getProperties() 531 settings.bandLevels[i] = byteArrayToShort(param, 4 + 2*i); in getProperties() 533 return settings; in getProperties() [all …]
|
D | BassBoost.java | 225 public Settings(String settings) { in Settings() argument 226 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings() 229 throw new IllegalArgumentException("settings: " + settings); in Settings() 268 Settings settings = new Settings(); in getProperties() local 271 settings.strength = value[0]; in getProperties() 272 return settings; in getProperties() 283 public void setProperties(BassBoost.Settings settings) in setProperties() argument 285 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
|
D | PresetReverb.java | 241 public Settings(String settings) { in Settings() argument 242 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings() 245 throw new IllegalArgumentException("settings: " + settings); in Settings() 284 Settings settings = new Settings(); in getProperties() local 287 settings.preset = value[0]; in getProperties() 288 return settings; in getProperties() 299 public void setProperties(PresetReverb.Settings settings) in setProperties() argument 301 checkStatus(setParameter(PARAM_PRESET, settings.preset)); in setProperties()
|
D | LoudnessEnhancer.java | 226 public Settings(String settings) { in Settings() argument 227 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings() 230 throw new IllegalArgumentException("settings: " + settings); in Settings() 270 Settings settings = new Settings(); in getProperties() local 273 settings.targetGainmB = value[0]; in getProperties() 274 return settings; in getProperties() 286 public void setProperties(LoudnessEnhancer.Settings settings) in setProperties() argument 288 checkStatus(setParameter(PARAM_TARGET_GAIN_MB, settings.targetGainmB)); in setProperties()
|
D | Virtualizer.java | 566 public Settings(String settings) { in Settings() argument 567 StringTokenizer st = new StringTokenizer(settings, "=;"); in Settings() 570 throw new IllegalArgumentException("settings: " + settings); in Settings() 609 Settings settings = new Settings(); in getProperties() local 612 settings.strength = value[0]; in getProperties() 613 return settings; in getProperties() 624 public void setProperties(Virtualizer.Settings settings) in setProperties() argument 626 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraCapabilities.java | 572 public boolean supports(final CameraSettings settings) { in supports() argument 573 if (zoomCheck(settings) && exposureCheck(settings) && focusCheck(settings) && in supports() 574 flashCheck(settings) && photoSizeCheck(settings) && previewSizeCheck(settings) && in supports() 575 videoStabilizationCheck(settings)) { in supports() 679 private boolean zoomCheck(final CameraSettings settings) { in zoomCheck() argument 680 final float ratio = settings.getCurrentZoomRatio(); in zoomCheck() 687 if (settings.getCurrentZoomRatio() > getMaxZoomRatio()) { in zoomCheck() 689 settings.getCurrentZoomRatio()); in zoomCheck() 696 private boolean exposureCheck(final CameraSettings settings) { in exposureCheck() argument 697 final int index = settings.getExposureCompensationIndex(); in exposureCheck() [all …]
|
D | AndroidCameraAgentImpl.java | 537 CameraSettings settings = (CameraSettings) msg.obj; in handleMessage() local 538 applySettingsToParameters(settings, parameters); in handleMessage() 621 private void applySettingsToParameters(final CameraSettings settings, in applySettingsToParameters() argument 624 Size photoSize = settings.getCurrentPhotoSize(); in applySettingsToParameters() 626 Size previewSize = settings.getCurrentPreviewSize(); in applySettingsToParameters() 628 if (settings.getPreviewFrameRate() == -1) { in applySettingsToParameters() 629 parameters.setPreviewFpsRange(settings.getPreviewFpsRangeMin(), in applySettingsToParameters() 630 settings.getPreviewFpsRangeMax()); in applySettingsToParameters() 632 parameters.setPreviewFrameRate(settings.getPreviewFrameRate()); in applySettingsToParameters() 634 parameters.setPreviewFormat(settings.getCurrentPreviewFormat()); in applySettingsToParameters() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiScanningServiceImpl.java | 494 void addScanRequest(ScanSettings settings, int id) { in addScanRequest() argument 495 mScanSettings.put(id, settings); in addScanRequest() 519 ScanSettings settings = mScanSettings.get(handler); in reportScanResults() local 520 WifiScanner.ChannelSpec desiredChannels[] = settings.channels; in reportScanResults() 521 if (settings.band != WifiScanner.WIFI_BAND_UNSPECIFIED in reportScanResults() 523 desiredChannels = getChannelsForBand(settings.band); in reportScanResults() 570 ScanSettings settings = mScanSettings.get(handler); in reportFullScanResult() local 571 WifiScanner.ChannelSpec desiredChannels[] = settings.channels; in reportFullScanResult() 572 if (settings.band != WifiScanner.WIFI_BAND_UNSPECIFIED in reportFullScanResult() 574 desiredChannels = getChannelsForBand(settings.band); in reportFullScanResult() [all …]
|
D | WifiNative.java | 409 public String setBatchedScanSettings(BatchedScanSettings settings) { in setBatchedScanSettings() argument 410 if (settings == null) { in setBatchedScanSettings() 413 String cmd = "DRIVER WLS_BATCHING SET SCANFREQ=" + settings.scanIntervalSec; in setBatchedScanSettings() 414 cmd += " MSCAN=" + settings.maxScansPerBatch; in setBatchedScanSettings() 415 if (settings.maxApPerScan != BatchedScanSettings.UNSPECIFIED) { in setBatchedScanSettings() 416 cmd += " BESTN=" + settings.maxApPerScan; in setBatchedScanSettings() 418 if (settings.channelSet != null && !settings.channelSet.isEmpty()) { in setBatchedScanSettings() 421 for (String channel : settings.channelSet) { in setBatchedScanSettings() 427 if (settings.maxApForDistance != BatchedScanSettings.UNSPECIFIED) { in setBatchedScanSettings() 428 cmd += " RTT=" + settings.maxApForDistance; in setBatchedScanSettings() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 192 ScanSettings settings = new ScanSettings(); 193 settings.band = in.readInt(); 194 settings.periodInMs = in.readInt(); 195 settings.reportEvents = in.readInt(); 196 settings.numBssidsPerScan = in.readInt(); 198 settings.channels = new ChannelSpec[num_channels]; 205 settings.channels[i] = spec; 208 return settings; 292 public void startBackgroundScan(ScanSettings settings, ScanListener listener) { in startBackgroundScan() argument 294 sAsyncChannel.sendMessage(CMD_START_BACKGROUND_SCAN, 0, putListener(listener), settings); in startBackgroundScan() [all …]
|
D | BatchedScanSettings.java | 244 BatchedScanSettings settings = new BatchedScanSettings(); 245 settings.maxScansPerBatch = in.readInt(); 246 settings.maxApPerScan = in.readInt(); 247 settings.scanIntervalSec = in.readInt(); 248 settings.maxApForDistance = in.readInt(); 251 settings.channelSet = new ArrayList(channelCount); 253 settings.channelSet.add(in.readString()); 256 return settings;
|
D | ScanSettings.java | 72 ScanSettings settings = new ScanSettings(); 75 settings.channelSet = new ArrayList<WifiChannel>(size); 77 settings.channelSet.add(WifiChannel.CREATOR.createFromParcel(in)); 79 return settings;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 141 Settings settings = new Settings(getContext(), getContext().getFilesDir()); in testSettingsReadOld() local 142 assertEquals(true, settings.readLPw(null, null, 0, false)); in testSettingsReadOld() 143 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_3)); in testSettingsReadOld() 144 assertNotNull(settings.peekPackageLPr(PACKAGE_NAME_1)); in testSettingsReadOld() 146 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1); in testSettingsReadOld() 150 ps = settings.peekPackageLPr(PACKAGE_NAME_2); in testSettingsReadOld() 159 Settings settings = new Settings(getContext(), getContext().getFilesDir()); in testNewPackageRestrictionsFile() local 160 assertEquals(true, settings.readLPw(null, null, 0, false)); in testNewPackageRestrictionsFile() 163 settings = new Settings(getContext(), getContext().getFilesDir()); in testNewPackageRestrictionsFile() 164 assertEquals(true, settings.readLPw(null, null, 0, false)); in testNewPackageRestrictionsFile() [all …]
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 99 public void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument 101 startScan(filters, settings, callback, null); in startScan() 104 private void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() argument 107 if (settings == null || callback == null) { in startScan() 125 if (!isSettingsConfigAllowedForScan(settings)) { in startScan() 131 settings, callback, resultStorages); in startScan() 183 public void startTruncatedScan(List<TruncatedFilter> truncatedFilters, ScanSettings settings, in startTruncatedScan() argument 193 startScan(scanFilters, settings, callback, scanStorages); in startTruncatedScan() 223 List<ScanFilter> filters, ScanSettings settings, in BleScanCallbackWrapper() argument 227 mSettings = settings; in BleScanCallbackWrapper() [all …]
|
D | BluetoothLeAdvertiser.java | 88 public void startAdvertising(AdvertiseSettings settings, in startAdvertising() argument 90 startAdvertising(settings, advertiseData, null, callback); in startAdvertising() 106 public void startAdvertising(AdvertiseSettings settings, in startAdvertising() argument 138 scanResponse, settings, gatt); in startAdvertising() 245 AdvertiseSettings settings, in AdvertiseCallbackWrapper() argument 250 mSettings = settings; in AdvertiseCallbackWrapper() 326 AdvertiseSettings settings) { in onMultiAdvertiseCallback() argument 332 postStartSuccess(mAdvertiseCallback, settings); in onMultiAdvertiseCallback() 364 final AdvertiseSettings settings) { in postStartSuccess() argument 369 callback.onStartSuccess(settings); in postStartSuccess()
|
/frameworks/wilhelm/src/itf/ |
D | IAudioEncoder.c | 31 SLAudioEncoderSettings settings = *pSettings; in IAudioEncoder_SetEncoderSettings() local 33 thiz->mSettings = settings; in IAudioEncoder_SetEncoderSettings() 52 SLAudioEncoderSettings settings = thiz->mSettings; in IAudioEncoder_GetEncoderSettings() local 54 *pSettings = settings; in IAudioEncoder_GetEncoderSettings()
|
/frameworks/base/cmds/settings/ |
D | settings | 1 # Script to start "settings" on the device 4 export CLASSPATH=$base/framework/settings.jar 5 exec app_process $base/bin com.android.commands.settings.SettingsCmd "$@"
|
D | Android.mk | 7 LOCAL_MODULE := settings 12 LOCAL_MODULE := settings 13 LOCAL_SRC_FILES := settings
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/ |
D | gradle.properties | 1 # Project-wide Gradle settings. 4 # Settings specified in this file will override any Gradle settings 11 # The setting is particularly useful for tweaking memory settings.
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaPresetReverbTest.java | 161 PresetReverb.Settings settings = mReverb.getProperties(); in test1_1Properties() local 163 if (settings.preset == (short)PresetReverb.PRESET_LARGEROOM) { in test1_1Properties() 166 String str = settings.toString(); in test1_1Properties() 167 settings = new PresetReverb.Settings(str); in test1_1Properties() 168 settings.preset = newPreset; in test1_1Properties() 169 mReverb.setProperties(settings); in test1_1Properties() 170 settings = mReverb.getProperties(); in test1_1Properties() 171 assertEquals(msg +": setProperties failed", newPreset, settings.preset); in test1_1Properties()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 86 UsbSettingsManager settings = mSettingsByUser.get(userId); in getSettingsForUser() local 87 if (settings == null) { in getSettingsForUser() 88 settings = new UsbSettingsManager(mContext, new UserHandle(userId)); in getSettingsForUser() 89 mSettingsByUser.put(userId, settings); in getSettingsForUser() 91 return settings; in getSettingsForUser() 312 final UsbSettingsManager settings = mSettingsByUser.valueAt(i); in dump() local 315 settings.dump(fd, pw); in dump()
|
/frameworks/base/docs/html/design/patterns/ |
D | settings.jd | 5 <a class="notice-developers" href="{@docRoot}guide/topics/ui/settings.html"> 17 arise. The settings predetermine what will always happen in those situations (see design 26 <h4 id="settings-access">Provide access to Settings in the action overflow</h4> 47 they do everywhere else in your app. More settings means more choices to make, and too many are 61 <h4 id="group-settings">If you still have lots of settings, group related settings together</h4> 64 present a list of 10 or more settings (even after applying the criteria above), users will have 67 <p>You can remedy this by dividing some or all of the settings into groups, effectively turning 68 one long list into multiple shorter lists. A group of related settings can be presented in one of 76 <p>You can use one or both these grouping techniques to organize your app's settings.</p> 79 to a subscreen of related settings. In addition, the items themselves are grouped under section [all …]
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | settings.jd | 61 href="{@docRoot}design/patterns/settings.html">Settings design guide</a></li> 69 <p>Applications often include settings that allow users to modify app features and behaviors. For 73 <p>If you want to provide settings for your app, you should use 75 the user experience in other Android apps (including the system settings). This document describes 76 how to build your app settings using {@link android.preference.Preference} APIs.</p> 80 <p>For information about how to design your settings, read the <a 81 href="{@docRoot}design/patterns/settings.html">Settings</a> design guide.</p> 85 <img src="{@docRoot}images/ui/settings/settings.png" alt="" width="435" /> 87 settings. Selecting an item defined by a {@link android.preference.Preference} 95 <p>Instead of using {@link android.view.View} objects to build the user interface, settings are [all …]
|
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/ |
D | SimpleWebViewActivity.java | 41 WebSettings settings = mainWebView.getSettings(); in onCreate() local 42 settings.setJavaScriptEnabled(true); in onCreate()
|