/frameworks/wilhelm/tests/examples/ |
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...] |
slesTestSendToPresetReverb.cpp | 73 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, 141 /* Select the reverb preset */ 142 fprintf(stdout, "\nUsing preset "); 143 switch(preset) { 156 result = (*reverbItf)->SetPreset(reverbItf, preset); 282 /* Disable preset reverb every TIME_S_BETWEEN_SETTING_CHANGE seconds unless always on */ 293 result = (*reverbItf)->SetPreset(reverbItf, enabled ? preset : SL_REVERBPRESET_NONE); 294 fprintf(stdout, "SetPreset(%d)=%d\n", enabled ? preset : SL_REVERBPRESET_NONE, result); 362 fprintf(stdout, "Usage: \t%s [--always-on] [--fd] [--loop] path preset directLevel "
|
/frameworks/base/media/java/android/media/audiofx/ |
Equalizer.java | 82 * Current preset. Parameter ID for OnParameterChangeListener 90 * Request preset name. Parameter ID for OnParameterChangeListener 96 * Maximum size for preset name 169 Log.e(TAG, "preset name decode error"); 318 * Gets current preset. 319 * @return the preset that is set at the moment. 332 * Sets the equalizer according to the given preset. 333 * @param preset new preset that will be taken into use. The valid range is [0, 340 public void usePreset(short preset) [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
config.c | 25 WebPPreset preset, float quality, int version) { 56 switch (preset) {
|
/external/webp/src/enc/ |
config.c | 25 WebPPreset preset, float quality, int version) { 56 switch (preset) {
|
/external/valgrind/main/none/tests/amd64/ |
gen_insn_test.pl | 232 foreach my $preset (split(/\s+/, $presets)) 234 if ($preset =~ /^([abcd][lh]|[abcd]x|e[abcd]x|r[abcd]x)\.(sb|ub|sw|uw|sd|ud|sq|uq|ps|pd)\[([^\]]+)\]$/) 236 my $name = "preset$presetc"; 245 my $preset = { 254 push @presets, $preset; 271 elsif ($preset =~ /^st([0-9]+)\.(ps|pd)\[([^\]]+)\]$/) 273 my $name = "preset$presetc"; 282 my $preset = { 291 push @presets, $preset; 308 elsif ($preset =~ /^(eflags)\[([^\]]+)\]$/ [all...] |
/external/valgrind/main/none/tests/x86/ |
gen_insn_test.pl | 209 foreach my $preset (split(/\s+/, $presets)) 211 if ($preset =~ /^([abcd][lh]|[abcd]x|e[abcd]x)\.(sb|ub|sw|uw|sd|ud|sq|uq|ps|pd)\[([^\]]+)\]$/) 213 my $name = "preset$presetc"; 222 my $preset = { 231 push @presets, $preset; 248 elsif ($preset =~ /^st([0-9]+)\.(ps|pd)\[([^\]]+)\]$/) 250 my $name = "preset$presetc"; 259 my $preset = { 268 push @presets, $preset; 285 elsif ($preset =~ /^(eflags)\[([^\]]+)\]$/ [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 55 /* Preset definitions */ 101 // NXP SW auxiliary preset reverb 109 "Auxiliary Preset Reverb", 113 // NXP SW insert preset reverb 121 "Insert Preset Reverb", 153 bool preset; member in struct:android::__anon29503::ReverbContext 232 pContext->preset = false; 234 pContext->preset = true; 235 // force reloading preset at first call to process() 238 ALOGV("\tEffectCreate - PRESET"); 1497 const t_reverb_settings *preset = &sReverbPresets[pContext->curPreset]; local 1767 uint16_t preset = *(uint16_t *)pValue; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioEffectTest.java | 75 // Virtualizer, Environmental reverb and Preset reverb effects 106 assertTrue("test0_0QueryEffects: preset reverb not found", hasPresetReverb); 437 short preset = PresetReverb.PRESET_SMALLROOM; local 438 if (mEffect.byteArrayToShort(value) == preset) { 439 preset = PresetReverb.PRESET_MEDIUMROOM; 441 value = mEffect.shortToByteArray(preset); 446 assertEquals("get/set Parameter failed", preset, 499 short preset = PresetReverb.PRESET_SMALLROOM; local 500 if (value[0] == preset) { 501 preset = PresetReverb.PRESET_MEDIUMROOM 596 short[] preset = new short[1]; local [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_chorusdata.h | 94 EAS_I8 preset; member in struct:__anon26240 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
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_chorusdata.h | 94 EAS_I8 preset; member in struct:__anon26290 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
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_chorusdata.h | 94 EAS_I8 preset; member in struct:__anon26343 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
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaPresetReverbTest.java | 51 // Implementor UUID for preset reverb effect defined in 87 // PRESET REVEB TESTS: 126 //Test case 1.0: test preset 134 short preset = mReverb.getPreset(); local 135 assertEquals(msg +": got incorrect preset", 137 preset); 163 if (settings.preset == (short)PresetReverb.PRESET_LARGEROOM) { 168 settings.preset = newPreset; 171 assertEquals(msg +": setProperties failed", newPreset, settings.preset);
|
MediaEqualizerTest.java | 202 short preset = mEqualizer.getCurrentPreset(); local 203 assertEquals(msg + ": usePreset failed", preset, (short)(numPresets - 1)); 204 String name = mEqualizer.getPresetName(preset);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
Editor.java | 197 ImagePreset preset = MasterImage.getImage().getPreset(); local 199 mLocalRepresentation = preset.getFilterRepresentationCopyFrom(filterRepresentation); 210 * Call this to update the preset in MasterImage with the current representation 219 * Call this to update the preset in MasterImage with a given representation. 229 * Call this to update the preset in MasterImage with a collection of FilterRepresentations. 233 ImagePreset preset = MasterImage.getImage().getPreset(); local 234 preset.updateFilterRepresentations(reps); 244 preset.fillImageStateAdapter(MasterImage.getImage().getState());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
SaveImage.java | 221 public Object getPanoramaXMPData(Uri source, ImagePreset preset) { 223 if (preset.isPanoramaSafe()) { 288 private Uri resetToOriginalImageIfNeeded(ImagePreset preset, boolean doAuxBackup) { 290 if (!preset.hasModifications()) { 291 // This can happen only when preset has no modification but save 328 public Uri processAndSaveImage(ImagePreset preset, boolean flatten, 333 uri = resetToOriginalImageIfNeeded(preset, !flatten); 356 Object xmp = getPanoramaXMPData(newSourceUri, preset); 368 Object xmp = getPanoramaXMPData(newSourceUri, preset); 378 mDestinationFile, preset); [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/ |
example.js | 25 [], // Placeholder for the palette of the currently selected preset. 215 $('preset').addEventListener('change', loadSelectedPreset); 279 loadPreset($('preset').value); 283 var preset = presets[index]; 287 setKernel.apply(null, preset[0]); 288 setSmoother.apply(null, preset[1]); 290 // the preset default palette. 292 setPalette.apply(null, preset[2]); 296 palettePresets[0] = preset[2];
|
/frameworks/wilhelm/src/itf/ |
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 if (preset < 0) { 367 *pPreset = (SLuint16) preset; 447 // FIXME query preset name rather than retrieve it from the engine.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
BaseFiltersManager.java | 97 public void freeFilterResources(ImagePreset preset) { 98 if (preset == null) { 101 Vector<ImageFilter> usedFilters = preset.getUsedFilters(this); 279 ImagePreset preset = new ImagePreset(); local 280 preset.addFilter(fx); 282 context.getString(fxNameid[i]), preset, -1);
|
ImageFilterTinyPlanet.java | 80 ImagePreset preset = getEnvironment().getImagePreset(); local 82 if (preset != null) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
UserPresetsManager.java | 89 public void save(ImagePreset preset, String name) { 92 op.json = preset.getJsonString(ImagePreset.JASON_SAVED);
|
/frameworks/wilhelm/src/android/ |
android_Effect.h | 56 uint16_t preset); 59 uint16_t* preset);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
soundfont.h | 42 /* The following deals with preset numbers (programs) */ 116 int preset, int bank,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
soundfont.h | 42 /* The following deals with preset numbers (programs) */ 116 int preset, int bank,
|
/frameworks/base/core/java/android/view/accessibility/ |
CaptioningManager.java | 47 /** Default style preset as an index into {@link CaptionStyle#PRESETS}. */ 116 * @return the raw preset number, or the first preset if not specified 129 final int preset = getRawUserStyle(); local 130 if (preset == CaptionStyle.PRESET_CUSTOM) { 134 return CaptionStyle.PRESETS[preset];
|