HomeSort by relevance Sort by last modified time
    Searched defs:preset (Results 1 - 25 of 46) sorted by null

1 2

  /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 if (preset < 0) {
367 *pPreset = (SLuint16) preset;
447 // FIXME query preset name rather than retrieve it from the engine.
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
RagdollPreset.java 48 JointPreset preset = boneMap.get(resultName); local
50 if (preset != null && resultScore >= 50) {
52 preset.setupJoint(joint);
  /external/sonivox/arm-fm-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:__anon13717
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...]
  /external/sonivox/arm-hybrid-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:__anon13767
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...]
  /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:__anon13820
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/cache/
BitmapCache.java 66 public Bitmap put(ImagePreset preset) {
68 return put(preset, pos);
71 public Bitmap put(ImagePreset preset, int pos) {
74 bitmap = preset.apply(bitmap);
75 mKeys[pos] = preset;
80 public int reservePosition(ImagePreset preset) {
82 if (mKeys[i] == preset && mBusyStatus[i]) {
88 mKeys[pos] = preset;
93 ImagePreset preset = (ImagePreset) mKeys[pos]; local
96 bitmap = preset.apply(bitmap)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
PresetReverbTest.java 46 // 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());
107 short preset = (settings.preset == PresetReverb.PRESET_SMALLROOM) ? local
109 settings.preset = preset
    [all...]
EqualizerTest.java 146 short preset = mEqualizer.getCurrentPreset(); local
147 assertEquals("usePreset failed", preset, (short)(numPresets - 1));
148 String name = mEqualizer.getPresetName(preset);
  /frameworks/av/media/libeffects/testlibs/
EffectEqualizer.cpp 508 ALOGV("Equalizer_getParameter() EQ_PARAM_GET_PRESET_NAME preset %d, name %s len %d",
553 int32_t preset; local
561 preset = (int32_t)(*(uint16_t *)pValue);
563 ALOGV("setParameter() EQ_PARAM_CUR_PRESET %d", preset);
564 if (preset < 0 || preset >= pEqualizer->getNumPresets()) {
568 pEqualizer->setPreset(preset);
  /frameworks/base/media/java/android/media/audiofx/
PresetReverb.java 40 * The PresetReverb class allows an application to configure the global reverb using a reverb preset.
69 * Preset. Parameter ID for
79 * Reverb preset representing a small room less than five meters in length
83 * Reverb preset representing a medium room with a length of ten meters or less
87 * Reverb preset representing a large-sized room suitable for live performances
91 * Reverb preset representing a medium-sized hall
95 * Reverb preset representing a large-sized hall suitable for a full orchestra
99 * Reverb preset representing a synthesis of the traditional plate reverb
140 * Enables a preset on the reverb.
144 * @param preset this must be one of the the preset constants defined in this class
239 public short preset; field in class:PresetReverb.Settings
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaEqualizerTest.java 202 short preset = mEqualizer.getCurrentPreset(); local
203 assertEquals(msg + ": usePreset failed", preset, (short)(numPresets - 1));
204 String name = mEqualizer.getPresetName(preset);
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);
  /frameworks/wilhelm/src/android/
android_Effect.cpp 295 // initialize preset number and names, store in IEngine
366 // initialize preset
367 uint16_t preset; local
368 if (android::NO_ERROR == android_prev_getPreset(ipr->mPresetReverbEffect, &preset)) {
369 ipr->mPreset = preset;
370 // enable the effect if it has a preset loaded
371 ipr->mPresetReverbEffect->setEnabled(SL_REVERBPRESET_NONE != preset);
376 android::status_t android_prev_setPreset(android::sp<android::AudioEffect> pFx, uint16_t preset) {
378 PRESETREVERB_PARAM_SIZE_MAX, &preset, sizeof(uint16_t));
379 // enable the effect if the preset is different from SL_REVERBPRESET_NON
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterTinyPlanet.java 84 ImagePreset preset = getImagePreset(); local
86 if (preset != null) {
87 XMPMeta xmp = preset.getImageLoader().getXmpObject();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageSmallFilter.java 168 ImagePreset preset = getImagePreset(); local
169 if (preset == null) {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
SaveCopyTask.java 228 ImagePreset preset = params[0]; local
231 Bitmap bitmap = preset.apply(loadMutableBitmap());
235 if (preset.isPanoramaSafe()) {

Completed in 819 milliseconds

1 2