Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/os/
H A DVibrationEffect.java833 ArrayList<VibrationEffectSegment> scaledSegments = new ArrayList<>(segmentCount); in scale() local
835 scaledSegments.add(mSegments.get(i).scale(scaleFactor)); in scale()
837 if (scaledSegments.equals(mSegments)) { in scale()
840 Composed scaled = new Composed(scaledSegments, mRepeatIndex); in scale()
850 ArrayList<VibrationEffectSegment> scaledSegments = new ArrayList<>(segmentCount); in applyEffectStrength() local
852 scaledSegments.add(mSegments.get(i).applyEffectStrength(effectStrength)); in applyEffectStrength()
854 if (scaledSegments.equals(mSegments)) { in applyEffectStrength()
857 Composed scaled = new Composed(scaledSegments, mRepeatIndex); in applyEffectStrength()