/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 166 AudioEffect effect = new AudioEffect(desc[0].type, in test1_0ConstructorFromType() local 170 assertNotNull(msg + ": could not create AudioEffect", effect); in test1_0ConstructorFromType() 172 assertTrue(msg +": invalid effect ID", (effect.getId() != 0)); in test1_0ConstructorFromType() 177 effect.release(); in test1_0ConstructorFromType() 208 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_NULL, in test1_1ConstructorFromUuid() local 212 assertNotNull(msg + ": could not create AudioEffect", effect); in test1_1ConstructorFromUuid() 213 effect.release(); in test1_1ConstructorFromUuid() 234 AudioEffect effect = new AudioEffect(UUID.randomUUID(), in test1_2ConstructorUnknownType() local 239 if (effect != null) { in test1_2ConstructorUnknownType() 240 effect.release(); in test1_2ConstructorUnknownType() [all …]
|
/frameworks/base/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 227 int AgcInit (preproc_effect_t *effect) in AgcInit() argument 230 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcInit() 238 int AgcCreate(preproc_effect_t *effect) in AgcCreate() argument 240 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate() 246 effect->engine = static_cast<preproc_fx_handle_t>(agc); in AgcCreate() 247 AgcInit(effect); in AgcCreate() 251 int AgcGetParameter(preproc_effect_t *effect, in AgcGetParameter() argument 259 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcGetParameter() 315 int AgcSetParameter (preproc_effect_t *effect, void *pParam, void *pValue) in AgcSetParameter() argument 320 webrtc::GainControl *agc = static_cast<webrtc::GainControl *>(effect->engine); in AgcSetParameter() [all …]
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | MediaItem.java | 292 public void addEffect(Effect effect) { in addEffect() argument 294 if (effect == null) { in addEffect() 298 if (effect.getMediaItem() != this) { in addEffect() 302 if (mEffects.contains(effect)) { in addEffect() 303 throw new IllegalArgumentException("Effect already exists: " + effect.getId()); in addEffect() 306 if (effect.getStartTime() + effect.getDuration() > getDuration()) { in addEffect() 313 mEffects.add(effect); in addEffect() 315 invalidateTransitions(effect.getStartTime(), effect.getDuration()); in addEffect() 317 if (effect instanceof EffectKenBurns) { in addEffect() 334 for (Effect effect : mEffects) { in removeEffect() [all …]
|
D | MediaImageItem.java | 357 for (Effect effect : effects) { in invalidateBeginTransition() 361 if (effect.getStartTime() < transitionDurationMs) { in invalidateBeginTransition() 398 for (Effect effect : effects) { in invalidateEndTransition() 402 if (effect.getStartTime() + effect.getDuration() > in invalidateEndTransition() 437 for (Effect effect : effects) { in adjustEffects() 442 if (effect.getStartTime() > getDuration()) { in adjustEffects() 445 effectStartTimeMs = effect.getStartTime(); in adjustEffects() 452 if (effectStartTimeMs + effect.getDuration() > getDuration()) { in adjustEffects() 455 effectDurationMs = effect.getDuration(); in adjustEffects() 458 if (effectStartTimeMs != effect.getStartTime() || in adjustEffects() [all …]
|
D | VideoEditorImpl.java | 1041 final Effect effect = parseEffect(parser, currentMediaItem); in load() local 1042 currentMediaItem.addEffect(effect); in load() 1044 if (effect instanceof EffectKenBurns) { in load() 1299 final Effect effect; in parseEffect() local 1310 effect = new EffectColor(mediaItem, effectId, startTimeMs, in parseEffect() 1323 effect = new EffectKenBurns(mediaItem, effectId, startRect, endRect, in parseEffect() 1329 return effect; in parseEffect() 1470 for (Effect effect : effects) { in save() 1472 serializer.attribute("", ATTR_ID, effect.getId()); in save() 1474 ATTR_TYPE, effect.getClass().getSimpleName()); in save() [all …]
|
D | Transition.java | 308 for (Effect effect : effects) { in isEffectandOverlayOverlapping() 309 if (effect instanceof EffectColor) { in isEffectandOverlayOverlapping() 310 tmpEffectSettings = mNativeHelper.getEffectSettings((EffectColor)effect); in isEffectandOverlayOverlapping()
|
D | MediaVideoItem.java | 272 public void addEffect(Effect effect) { in addEffect() argument 273 if (effect instanceof EffectKenBurns) { in addEffect() 276 super.addEffect(effect); in addEffect()
|
/frameworks/base/services/audioflinger/ |
D | AudioFlinger.cpp | 1330 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, in checkSuspendOnEffectEnabled() argument 1335 checkSuspendOnEffectEnabled_l(effect, enabled, sessionId); in checkSuspendOnEffectEnabled() 1338 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect, in checkSuspendOnEffectEnabled_l() argument 1353 chain->checkSuspendOnEffectEnabled(effect, enabled); in checkSuspendOnEffectEnabled_l() 5225 sp<EffectModule> effect = ec->mEffects[0]; in purgeStaleEffects_l() local 5226 effect->unPin(); in purgeStaleEffects_l() 5228 t->removeEffect_l(effect); in purgeStaleEffects_l() 5229 for (size_t j = 0; j < effect->mHandles.size(); j++) { in purgeStaleEffects_l() 5230 sp<EffectHandle> handle = effect->mHandles[j].promote(); in purgeStaleEffects_l() 5234 t->checkSuspendOnEffectEnabled_l(effect, false, effect->sessionId()); in purgeStaleEffects_l() [all …]
|
D | AudioPolicyService.cpp | 338 EffectDesc *effect = effects[i]; in getInput() local 339 sp<AudioEffect> fx = new AudioEffect(NULL, &effect->mUuid, -1, 0, 0, audioSession, input); in getInput() 342 LOGW("Failed to create Fx %s on input %d", effect->mName, input); in getInput() 346 for (size_t j = 0; j < effect->mParams.size(); j++) { in getInput() 347 fx->setParameter(effect->mParams[j]); in getInput() 1244 EffectDesc *effect = new EffectDesc(*effects[i]); in loadInputSource() local 1245 loadEffectParameters(node, effect->mParams); in loadInputSource() 1246 LOGV("loadInputSource() adding effect %s uuid %08x", effect->mName, effect->mUuid.timeLow); in loadInputSource() 1247 source->mEffects.add(effect); in loadInputSource() 1295 EffectDesc *effect = new EffectDesc(); in loadEffect() local [all …]
|
D | AudioFlinger.h | 443 void disconnectEffect(const sp< EffectModule>& effect, 475 status_t addEffect_l(const sp< EffectModule>& effect); 478 void removeEffect_l(const sp< EffectModule>& effect); 495 void checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, 498 void checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect, 1174 EffectHandle(const sp<EffectModule>& effect, 1212 sp<EffectModule> effect() { return mEffect; } in effect() function 1304 void checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,
|
/frameworks/media/libvideoeditor/lvpp/ |
D | PreviewPlayer.cpp | 1406 uint32_t effect = VIDEO_EFFECT_NONE; in setVideoPostProcessingNode() local 1411 effect = VIDEO_EFFECT_FADEFROMBLACK; in setVideoPostProcessingNode() 1415 effect = VIDEO_EFFECT_FADETOBLACK; in setVideoPostProcessingNode() 1419 effect = VIDEO_EFFECT_BLACKANDWHITE; in setVideoPostProcessingNode() 1423 effect = VIDEO_EFFECT_PINK; in setVideoPostProcessingNode() 1427 effect = VIDEO_EFFECT_GREEN; in setVideoPostProcessingNode() 1431 effect = VIDEO_EFFECT_SEPIA; in setVideoPostProcessingNode() 1435 effect = VIDEO_EFFECT_NEGATIVE; in setVideoPostProcessingNode() 1439 effect = VIDEO_EFFECT_FRAMING; in setVideoPostProcessingNode() 1443 effect = VIDEO_EFFECT_FIFTIES; in setVideoPostProcessingNode() [all …]
|
D | VideoEditorPreviewController.cpp | 1298 M4OSA_UInt32 effect = VIDEO_EFFECT_NONE; in setVideoEffectType() local 1303 effect = VIDEO_EFFECT_FADEFROMBLACK; in setVideoEffectType() 1307 effect = VIDEO_EFFECT_FADETOBLACK; in setVideoEffectType() 1311 effect = VIDEO_EFFECT_BLACKANDWHITE; in setVideoEffectType() 1315 effect = VIDEO_EFFECT_PINK; in setVideoEffectType() 1319 effect = VIDEO_EFFECT_GREEN; in setVideoEffectType() 1323 effect = VIDEO_EFFECT_SEPIA; in setVideoEffectType() 1327 effect = VIDEO_EFFECT_NEGATIVE; in setVideoEffectType() 1331 effect = VIDEO_EFFECT_FRAMING; in setVideoEffectType() 1335 effect = VIDEO_EFFECT_FIFTIES; in setVideoEffectType() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AudioEffect.java | 925 void onEnableStatusChange(AudioEffect effect, boolean enabled); in onEnableStatusChange() argument 940 void onControlStatusChange(AudioEffect effect, boolean controlGranted); in onControlStatusChange() argument 956 void onParameterChange(AudioEffect effect, int status, byte[] param, in onParameterChange() argument 1158 AudioEffect effect = (AudioEffect) ((WeakReference) effect_ref).get(); in postEventFromNative() local 1159 if (effect == null) { in postEventFromNative() 1162 if (effect.mNativeEventHandler != null) { in postEventFromNative() 1163 Message m = effect.mNativeEventHandler.obtainMessage(what, arg1, in postEventFromNative() 1165 effect.mNativeEventHandler.sendMessage(m); in postEventFromNative()
|
D | PresetReverb.java | 183 void onParameterChange(PresetReverb effect, int status, int param, short value); in onParameterChange() argument 194 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange() argument
|
D | Virtualizer.java | 168 void onParameterChange(Virtualizer effect, int status, int param, short value); in onParameterChange() argument 179 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange() argument
|
D | BassBoost.java | 166 void onParameterChange(BassBoost effect, int status, int param, short value); in onParameterChange() argument 177 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange() argument
|
D | Equalizer.java | 392 void onParameterChange(Equalizer effect, int status, int param1, int param2, int value); in onParameterChange() argument 403 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange() argument
|
D | EnvironmentalReverb.java | 452 void onParameterChange(EnvironmentalReverb effect, int status, int param, int value); in onParameterChange() argument 463 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | PathEffect.cpp | 14 static void destructor(JNIEnv* env, jobject, SkPathEffect* effect) { in destructor() argument 15 SkSafeUnref(effect); in destructor()
|
/frameworks/base/include/media/ |
D | AudioEffect.h | 411 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient() argument
|
/frameworks/base/media/java/android/media/ |
D | AudioService.java | 1061 for (int effect = 0; effect < AudioManager.NUM_SOUND_EFFECTS; effect++) { in loadSoundEffects() 1063 if (SOUND_EFFECT_FILES_MAP[effect][1] == 0) { in loadSoundEffects() 1066 if (poolId[SOUND_EFFECT_FILES_MAP[effect][0]] == -1) { in loadSoundEffects() 1069 + SOUND_EFFECT_FILES[SOUND_EFFECT_FILES_MAP[effect][0]]; in loadSoundEffects() 1074 SOUND_EFFECT_FILES_MAP[effect][1] = sampleId; in loadSoundEffects() 1075 poolId[SOUND_EFFECT_FILES_MAP[effect][0]] = sampleId; in loadSoundEffects() 1079 SOUND_EFFECT_FILES_MAP[effect][1] = poolId[SOUND_EFFECT_FILES_MAP[effect][0]]; in loadSoundEffects() 1107 for (int effect = 0; effect < AudioManager.NUM_SOUND_EFFECTS; effect++) { in loadSoundEffects() 1108 if (SOUND_EFFECT_FILES_MAP[effect][1] > 0) { in loadSoundEffects() 1109 SOUND_EFFECT_FILES_MAP[effect][1] = -1; in loadSoundEffects() [all …]
|
/frameworks/base/libs/rs/scriptc/ |
D | rs_time.rsh | 45 * tm_isdst - Flag to indicate whether daylight saving time is in effect. The 46 * value is positive if it is in effect, zero if it is not, and
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 896 public PathEffect setPathEffect(PathEffect effect) { in setPathEffect() argument 898 if (effect != null) { in setPathEffect() 899 effectNative = effect.native_instance; in setPathEffect() 902 mPathEffect = effect; in setPathEffect() 903 return effect; in setPathEffect() 2133 int effect); in native_setPathEffect() argument
|
/frameworks/base/media/libmedia/ |
D | IAudioFlinger.cpp | 616 sp<IEffect> effect; in createEffect() local 619 return effect; in createEffect() 646 effect = interface_cast<IEffect>(reply.readStrongBinder()); in createEffect() 653 return effect; in createEffect() 997 …sp<IEffect> effect = createEffect(pid, &desc, client, priority, output, sessionId, &status, &id, &… in onTransact() local 1001 reply->writeStrongBinder(effect->asBinder()); in onTransact()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 821 /*package*/ static int native_setPathEffect(int native_object, int effect) { in native_setPathEffect() argument 825 return effect; in native_setPathEffect() 828 delegate.mPathEffect = PathEffect_Delegate.getDelegate(effect); in native_setPathEffect() 830 return effect; in native_setPathEffect()
|