Searched refs:currentIntensity (Results 1 – 1 of 1) sorted by relevance
76 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in getExternalVibrationScale() local78 if (currentIntensity == Vibrator.VIBRATION_INTENSITY_OFF) { in getExternalVibrationScale()83 int scaleLevel = currentIntensity - defaultIntensity; in getExternalVibrationScale()105 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in scale() local107 if (currentIntensity == Vibrator.VIBRATION_INTENSITY_OFF) { in scale()109 currentIntensity = defaultIntensity; in scale()112 int newEffectStrength = intensityToEffectStrength(currentIntensity); in scale()114 ScaleLevel scale = mScaleLevels.get(currentIntensity - defaultIntensity); in scale()135 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in scale() local137 if (currentIntensity == Vibrator.VIBRATION_INTENSITY_OFF) { in scale()[all …]