Home
last modified time | relevance | path

Searched refs:ScaleLevel (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DVibratorService.java120 private final SparseArray<ScaleLevel> mScaleLevels;
340 private static final class ScaleLevel { class in VibratorService
344 public ScaleLevel(float gamma) { in ScaleLevel() method in VibratorService.ScaleLevel
348 public ScaleLevel(float gamma, int maxAmplitude) { in ScaleLevel() method in VibratorService.ScaleLevel
417 new ScaleLevel(SCALE_VERY_LOW_GAMMA, SCALE_VERY_LOW_MAX_AMPLITUDE)); in VibratorService()
418 mScaleLevels.put(SCALE_LOW, new ScaleLevel(SCALE_LOW_GAMMA, SCALE_LOW_MAX_AMPLITUDE)); in VibratorService()
419 mScaleLevels.put(SCALE_NONE, new ScaleLevel(SCALE_NONE_GAMMA)); in VibratorService()
420 mScaleLevels.put(SCALE_HIGH, new ScaleLevel(SCALE_HIGH_GAMMA)); in VibratorService()
421 mScaleLevels.put(SCALE_VERY_HIGH, new ScaleLevel(SCALE_VERY_HIGH_GAMMA)); in VibratorService()
906 final ScaleLevel scale = mScaleLevels.get(intensity - defaultIntensity); in applyVibrationIntensityScalingLocked()
/frameworks/base/services/
Dart-profile18479 Lcom/android/server/VibratorService$ScaleLevel;