Searched refs:newSegments (Results 1 – 2 of 2) sorted by relevance
82 List<VibrationEffectSegment> newSegments = new ArrayList<>(composed.getSegments()); in apply() local87 newRepeatIndex = adapters.get(i).apply(newSegments, newRepeatIndex, modifier); in apply()90 return new VibrationEffect.Composed(newSegments, newRepeatIndex); in apply()
1075 List<VibrationEffectSegment> newSegments = new ArrayList<>(effect.getSegments()); in replaceCurrentSegment() local1077 newSegments.remove(segmentIndex); in replaceCurrentSegment()1078 newSegments.addAll(segmentIndex, fallback.getSegments()); in replaceCurrentSegment()1082 return new VibrationEffect.Composed(newSegments, newRepeatIndex); in replaceCurrentSegment()