/frameworks/wilhelm/src/itf/ |
IPresetReverb.cpp | 30 static SLresult IPresetReverb_SetPreset(SLPresetReverbItf self, SLuint16 preset) 35 switch (preset) { 44 thiz->mPreset = preset; 51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); 74 SLuint16 preset = SL_REVERBPRESET_NONE; local 76 preset = thiz->mPreset; 80 preset = thiz->mPreset; 83 android::status_t status = android_prev_getPreset(thiz->mPresetReverbEffect, &preset); 92 *pPreset = preset;
|
IEqualizer.cpp | 349 SLuint16 preset = thiz->mPreset; local 351 *pPreset = preset; 354 uint16_t preset = 0; local 359 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_CUR_PRESET, 0, &preset); 364 *pPreset = (SLuint16) preset; 443 // FIXME query preset name rather than retrieve it from the engine.
|
/hardware/qcom/audio/post_proc/ |
equalizer.h | 31 int preset; member in struct:equalizer_context_s
|
reverb.h | 48 bool preset; member in struct:reverb_context_s
|
equalizer.c | 62 3, 0, 0, 0, 3, /* Normal Preset */ 63 5, 3, -2, 4, 4, /* Classical Preset */ 64 6, 0, 2, 4, 1, /* Dance Preset */ 65 0, 0, 0, 0, 0, /* Flat Preset */ 66 3, 0, 0, 2, -1, /* Folk Preset */ 67 4, 1, 9, 3, 0, /* Heavy Metal Preset */ 68 5, 3, 0, 1, 3, /* Hip Hop Preset */ 69 4, 2, -2, 2, 5, /* Jazz Preset */ 70 -1, 2, 5, 1, -2, /* Pop Preset */ 71 5, 3, -1, 3, 5}; /* Rock Preset */ 377 int32_t preset; local [all...] |
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
PresetSettingsListener.java | 34 if (!TextUtils.equals(key, "preset")) { 37 final String preset = sharedPreferences.getString(key, "standard"); local 40 switch (preset) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
UpdatePreviewTask.java | 58 SharedPreset preset = MasterImage.getImage().getPreviewPreset(); local 59 ImagePreset renderingPreset = preset.dequeuePreset(); 62 // set the preset we used in the buffer for later inspection UI-side
|
CachingPipeline.java | 163 private void setupEnvironment(ImagePreset preset, boolean highResPreview) { 173 mEnvironment.setImagePreset(preset); 180 ImagePreset preset = MasterImage.getImage().getPreset(); local 181 setupEnvironment(preset, false); 182 updateOriginalAllocation(preset); 185 private synchronized boolean updateOriginalAllocation(ImagePreset preset) { 186 if (preset == null) { 205 mResizedOriginalBitmap = preset.applyGeometry(originalBitmap, mEnvironment); 220 ImagePreset preset = request.getImagePreset(); local 221 setupEnvironment(preset, false) 245 ImagePreset preset = request.getImagePreset(); local 267 ImagePreset preset = request.getImagePreset(); local 302 ImagePreset preset = request.getImagePreset(); local [all...] |
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 63 NotificationPreset preset = NotificationPresets.PRESETS[presetIndex]; local 64 Notification notif = preset.buildNotification(this);
|
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 63 NotificationPreset preset = NotificationPresets.PRESETS[presetIndex]; local 64 Notification notif = preset.buildNotification(this);
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
MainActivity.java | 63 NotificationPreset preset = NotificationPresets.PRESETS[presetIndex]; local 64 Notification notif = preset.buildNotification(this);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
AccessibilityUtil.java | 274 AccessibilityCheckPreset preset = AccessibilityCheckPreset.VERSION_1_0_CHECKS; local 276 preset = AccessibilityCheckPreset.VERSION_2_0_CHECKS; 278 return preset;
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_chorus.c | 112 pChorusData->preset = EAS_CHORUS_PRESET_DEFAULT; 117 //chorus rate and depth need some massaging from preset value (which is sample rate independent) 159 //now copy from the new preset into Chorus 521 * Purpose: sets global Chorus preset bank to defaults 532 int preset = 0; local 536 for (defaultPreset = preset; defaultPreset < CHORUS_MAX_TYPE; defaultPreset++) 573 * Update the Chorus preset parameters as required
|
eas_chorusdata.h | 94 EAS_I8 preset; member in struct:__anon35112 96 EAS_I16 m_nCurrentChorus; // preset number for current Chorus 97 EAS_I16 m_nNextChorus; // preset number for next Chorus 130 * Purpose: sets global Chorus preset bank to defaults 144 * Update the Chorus preset parameters as required
|
eas_reverb.c | 212 //now copy from the new preset into the reverb 281 //if bypassed or the preset forces the signal to be completely dry 902 * Update the room's preset parameters as required 971 int preset = 0; local [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestEqFdPath.cpp | 199 SLuint16 nbPresets, preset, nbBands = 0; local 204 /* Start from a preset */ 205 preset = nbPresets > 2 ? 2 : 0; 206 result = (*eqItf)->UsePreset(eqItf, preset); 208 preset = 1977; 209 result = (*eqItf)->GetCurrentPreset(eqItf, &preset); 211 if (SL_EQUALIZER_UNDEFINED == preset) { 212 fprintf(stderr, "Using SL_EQUALIZER_UNDEFINED preset, unexpected here!\n"); 214 fprintf(stdout, "Using preset %d\n", preset); [all...] |
slesTestEqOutputPath.cpp | 203 SLuint16 nbPresets, preset, nbBands = 0; local 208 /* Start from a preset */ 209 preset = nbPresets > 2 ? 2 : 0; 210 result = (*eqOutputItf)->UsePreset(eqOutputItf, preset); 212 preset = 1977; 213 result = (*eqOutputItf)->GetCurrentPreset(eqOutputItf, &preset); 215 if (SL_EQUALIZER_UNDEFINED == preset) { 216 fprintf(stderr, "Using SL_EQUALIZER_UNDEFINED preset, unexpected here!\n"); 218 fprintf(stdout, "Using preset %d\n", preset); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
XmpPresets.java | 47 public ImagePreset preset; field in class:XmpPresets.XMresults 61 Context context, Uri srcUri, File dstFile, ImagePreset preset) { 80 XMP_FILTERSTACK, preset.getJsonString(ImagePreset.JASON_SAVED)); 120 ret.preset = new ImagePreset(); 122 boolean ok = ret.preset.readJsonFromString(filterString);
|
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 82 NotificationPreset preset = NotificationPresets.PRESETS[ local 84 updateTextEditors(preset); 172 private void updateTextEditors(NotificationPreset preset) { 173 mTitleEditText.setText(getString(preset.titleResId)); 174 mTextEditText.setText(getString(preset.textResId)); 183 if (preset == NotificationPresets.BASIC) { 248 NotificationPreset preset = NotificationPresets.PRESETS[ local 252 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) { 253 // If actions are required, but the no-actions preset was selected, change presets. 268 return preset.buildNotifications(this, options) 284 NotificationPreset preset = NotificationPresets.PRESETS[position]; local [all...] |
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
MainActivity.java | 82 NotificationPreset preset = NotificationPresets.PRESETS[ local 84 updateTextEditors(preset); 172 private void updateTextEditors(NotificationPreset preset) { 173 mTitleEditText.setText(getString(preset.titleResId)); 174 mTextEditText.setText(getString(preset.textResId)); 183 if (preset == NotificationPresets.BASIC) { 248 NotificationPreset preset = NotificationPresets.PRESETS[ local 252 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) { 253 // If actions are required, but the no-actions preset was selected, change presets. 268 return preset.buildNotifications(this, options) 284 NotificationPreset preset = NotificationPresets.PRESETS[position]; local [all...] |
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
MainActivity.java | 82 NotificationPreset preset = NotificationPresets.PRESETS[ local 84 updateTextEditors(preset); 172 private void updateTextEditors(NotificationPreset preset) { 173 mTitleEditText.setText(getString(preset.titleResId)); 174 mTextEditText.setText(getString(preset.textResId)); 175 if (preset == NotificationPresets.BASIC) { 218 NotificationPreset preset = NotificationPresets.PRESETS[ local 226 if (preset.actionsRequired() && actionsPreset == ActionsPresets.NO_ACTIONS_PRESET) { 227 // If actions are required, but the no-actions preset was selected, change presets. 242 Notification[] notifications = preset.buildNotifications(this, options) 268 NotificationPreset preset = NotificationPresets.PRESETS[position]; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
PresetReverbTest.java | 41 // PRESET REVERB TESTS: 83 for (short preset = FIRST_PRESET; 84 preset <= LAST_PRESET; 85 preset++) { 86 mReverb.setPreset(preset); 87 assertEquals("got incorrect preset", preset, mReverb.getPreset()); 110 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? local 112 settings.preset = preset [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
ArrayFieldVector.java | 71 * Construct an (size)-length vector with preset values. 73 * @param preset fill the vector with this scalar value 75 public ArrayFieldVector(int size, T preset) { 76 this(preset.getField(), size); 77 Arrays.fill(data, preset);
|
/external/libcups/cups/ |
ppd-mark.c | 164 * Map output-mode and print-quality to a preset... 169 cups_option_t *preset;/* Current preset option */ local 190 * Try to find a preset that works so that we maximize the chances of us 208 * Copy the preset options as long as the corresponding names are not 213 preset = cache->presets[pwg_pcm][pwg_pq]; 215 i --, preset ++) 217 if (!cupsGetOption(preset->name, num_options, options)) 218 ppd_mark_option(ppd, preset->name, preset->value) [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 493 ALOGV("Equalizer_getParameter() EQ_PARAM_GET_PRESET_NAME preset %d, name %s len %d", 538 int32_t preset; local 546 preset = (int32_t)(*(uint16_t *)pValue); 548 ALOGV("setParameter() EQ_PARAM_CUR_PRESET %d", preset); 549 if (preset < 0 || preset >= pEqualizer->getNumPresets()) { 553 pEqualizer->setPreset(preset);
|