/frameworks/wilhelm/src/itf/ |
IPresetReverb.c | 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.c | 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 */ 352 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/opencv3/3rdparty/libtiff/ |
tif_lzma.c | 52 int preset; /* compression level */ member in struct:__anon20385 370 sp->preset = (int) va_arg(ap, int); 371 lzma_lzma_preset(&sp->opt_lzma, sp->preset); 396 *va_arg(ap, int*) = sp->preset; 406 FIELD_PSEUDO, TRUE, FALSE, "LZMA2 Compression Preset", NULL }, 445 sp->preset = LZMA_PRESET_DEFAULT; /* default comp. level */ 460 lzma_lzma_preset(&sp->opt_lzma, sp->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:__anon22654 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)); 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...] |
/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)); 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...] |
/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 | 39 // PRESET REVERB TESTS: 81 for (short preset = FIRST_PRESET; 82 preset <= LAST_PRESET; 83 preset++) { 84 mReverb.setPreset(preset); 85 assertEquals("got incorrect preset", preset, mReverb.getPreset()); 108 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? local 110 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);
|
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 490 ALOGV("Equalizer_getParameter() EQ_PARAM_GET_PRESET_NAME preset %d, name %s len %d", 535 int32_t preset; local 543 preset = (int32_t)(*(uint16_t *)pValue); 545 ALOGV("setParameter() EQ_PARAM_CUR_PRESET %d", preset); 546 if (preset < 0 || preset >= pEqualizer->getNumPresets()) { 550 pEqualizer->setPreset(preset);
|
/frameworks/base/media/java/android/media/audiofx/ |
PresetReverb.java | 32 * The PresetReverb class allows an application to configure the global reverb using a reverb preset. 61 * Preset. Parameter ID for 71 * Reverb preset representing a small room less than five meters in length 75 * Reverb preset representing a medium room with a length of ten meters or less 79 * Reverb preset representing a large-sized room suitable for live performances 83 * Reverb preset representing a medium-sized hall 87 * Reverb preset representing a large-sized hall suitable for a full orchestra 91 * Reverb preset representing a synthesis of the traditional plate reverb 132 * Enables a preset on the reverb. 136 * @param preset this must be one of the the preset constants defined in this class 231 public short preset; field in class:PresetReverb.Settings [all...] |