/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogControllerImpl.java | 328 public void vibrate(VibrationEffect effect) { argument 330 mVibrator.vibrate(effect, SONIFICIATION_VIBRATION_ATTRIBUTES);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | VibratorService.java | 148 native static long vibratorPerformEffect(long effect, long strength); argument 162 // The actual effect to be played. 163 public VibrationEffect effect; field in class:VibratorService.Vibration 164 // The original effect that was requested. This is non-null only when the original effect 165 // differs from the effect that's being played. Typically these two things differ because 166 // the effect was scaled based on the users vibration intensity settings. 169 private Vibration(IBinder token, VibrationEffect effect, argument 172 this.effect = effect; 248 VibrationInfo(long startTimeDebug, VibrationEffect effect, VibrationEffect originalEffect, int usageHint, int uid, String opPkg) argument 457 verifyVibrationEffect(VibrationEffect effect) argument 485 vibrate(int uid, String opPkg, VibrationEffect effect, int usageHint, IBinder token) argument 550 isRepeatingVibration(VibrationEffect effect) argument [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 877 /*package*/ static long nSetPathEffect(long native_object, long effect) { argument 881 return effect; 884 delegate.mPathEffect = PathEffect_Delegate.getDelegate(effect); 886 return effect;
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 657 ff_effect effect; local 658 memset(&effect, 0, sizeof(effect)); 659 effect.type = FF_RUMBLE; 660 effect.id = device->ffEffectId; 661 effect.u.rumble.strong_magnitude = 0xc000; 662 effect.u.rumble.weak_magnitude = 0xc000; 663 effect.replay.length = (duration + 999999LL) / 1000000LL; 664 effect.replay.delay = 0; 665 if (ioctl(device->fd, EVIOCSFF, &effect)) { [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 848 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); local 849 obj->setPathEffect(sk_ref_sp(effect));
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | DynamicsProcessing.java | 31 * DynamicsProcessing is an audio effect for equalizing and changing dynamic range properties of the 36 * <p>The effect is instantiated and controlled by channels. Each channel has the same basic 75 * effect in the audio framework. A DynamicsProcessor.Config and DynamicsProcessor.Config.Builder 80 * specify the audio session ID of this AudioTrack or MediaPlayer when constructing the effect 118 * Maximum expected channels to be reported by effect 123 * Number of channels in effect architecture 154 * Class constructor for the DynamicsProcessing audio effect. 157 * this parameter indicates how much the requesting application needs control of effect 168 * Class constructor for the DynamicsProcessing audio effect 171 * this parameter indicates how much the requesting application needs control of effect 2226 onParameterChange(DynamicsProcessing effect, int param, int value) argument 2244 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 80 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 115 // we define a minimum time during which a global effect is considered enabled. 524 // dump orphan effect chains 739 // check if an effect chain with the same session ID is present on another 771 // move effect chain to this output thread if an effect on same session was waiting 1739 // Check if one effect chain was awaiting for an AudioRecord to be created on this 2499 // If we still have effect chains, it means that a client still holds a handle 2500 // on at least one effect. We must either move the chain to an existing thread with the 2524 ALOGV("closeInput() found thread %d for effect sessio 2723 sp<EffectModule> effect = ec->mEffects[0]; local 3237 sp<EffectModule> effect = chain->getEffectFromId_l(0); local 3355 updateOrphanEffectChains(const sp<AudioFlinger::EffectModule>& effect) argument [all...] |
H A D | Threads.cpp | 87 // 0; but one side effect of this is to turn all LOGV's as well. Some messages 1074 ALOGV("updateSuspendedSessions_l() suspend adding effect %08x", key); 1083 ALOGV("updateSuspendedSessions_l() restore removing effect %08x", key); 1097 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect, argument 1102 checkSuspendOnEffectEnabled_l(effect, enabled, sessionId); 1105 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect, argument 1110 // suspend all effects in AUDIO_SESSION_OUTPUT_MIX when enabling any effect on 1111 // another session. This gives the priority to well behaved effect control panels 1122 chain->checkSuspendOnEffectEnabled(effect, enabled); 1130 // No global effect session 1280 sp<EffectModule> effect; local 1375 sp<EffectModule> effect; local 1414 addEffect_l(const sp<EffectModule>& effect) argument 1459 removeEffect_l(const sp<EffectModule>& effect, bool release) argument 3097 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 160 * Paint flag that applies a synthetic bolding effect to drawn text. 163 * simulated bold effect when drawing a {@link Typeface} that is not 1203 * @param effect May be null. The patheffect to be installed in the paint 1204 * @return effect 1206 public PathEffect setPathEffect(PathEffect effect) { argument 1208 if (effect != null) { 1209 effectNative = effect.native_instance; 1212 mPathEffect = effect; 1213 return effect; 2368 * other characters in the cluster. In effect, suc 2918 nSetPathEffect(long paintPtr, long effect) argument [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 298 /* Sound effect file names */ 302 /* Sound effect file name mapping sound effect id (AudioManager.FX_xxx) to 303 * file index in SOUND_EFFECT_FILES[] (first column) and indicating if effect 2529 VibrationEffect effect = null; 2543 effect = VibrationEffect.get(VibrationEffect.EFFECT_DOUBLE_CLICK); 2548 effect = VibrationEffect.get(VibrationEffect.EFFECT_HEAVY_CLICK); 2553 maybeVibrate(effect); 2558 private boolean maybeVibrate(VibrationEffect effect) { argument 2568 if (effect [all...] |