Searched refs:newEffect (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | HalVibration.java | 117 CombinedVibration newEffect = in resolveEffects() local 119 if (!Objects.equals(mEffectToPlay, newEffect)) { in resolveEffects() 120 mEffectToPlay = newEffect; in resolveEffects() 139 CombinedVibration newEffect = mEffectToPlay.transform(scaler::scale, vibrationUsage); in scaleEffects() local 140 if (!Objects.equals(mEffectToPlay, newEffect)) { in scaleEffects() 141 mEffectToPlay = newEffect; in scaleEffects() 157 CombinedVibration newEffect = mEffectToPlay.adapt(deviceAdapter); in adaptToDevice() local 158 if (!Objects.equals(mEffectToPlay, newEffect)) { in adaptToDevice() 159 mEffectToPlay = newEffect; in adaptToDevice()
|
/frameworks/base/core/java/android/os/ |
D | CombinedVibration.java | 396 VibrationEffect newEffect = transformation.transform(mEffect, param); in transform() local 397 if (mEffect.equals(newEffect)) { in transform() 401 return CombinedVibration.createParallel(newEffect); in transform() 410 VibrationEffect newEffect = adapter.adaptToVibrator(vibratorId, mEffect); in adapt() local 411 combination.addVibrator(vibratorId, newEffect); in adapt() 412 hasSameEffects &= mEffect.equals(newEffect); in adapt() 572 VibrationEffect newEffect = transformation.transform(effect, param); 573 combination.addVibrator(vibratorId, newEffect); 574 hasSameEffects &= effect.equals(newEffect); 591 VibrationEffect newEffect = adapter.adaptToVibrator(vibratorId, effect); [all …]
|