Searched refs:shouldFallback (Results 1 – 8 of 8) sorted by relevance
47 assertTrue(prebaked.shouldFallback()); in testCreation()88 assertEquals(medium.shouldFallback(), light.shouldFallback()); in testApplyEffectStrength()94 assertEquals(medium.shouldFallback(), strong.shouldFallback()); in testApplyEffectStrength()
46 public PrebakedSegment(int effectId, boolean shouldFallback, int effectStrength) { in PrebakedSegment() argument48 mFallback = shouldFallback; in PrebakedSegment()61 public boolean shouldFallback() { in shouldFallback() method in PrebakedSegment
837 if (prebaked.shouldFallback() && fallback != null) { in fillVibrationFallbacks()1669 boolean shouldFallback = false; in addPrebakedToComposition()1676 shouldFallback = true; in addPrebakedToComposition()1683 composition.addEffect(VibrationEffect.get(effectId, shouldFallback), delay); in addPrebakedToComposition()
382 proto.write(PrebakedSegmentProto.FALLBACK, segment.shouldFallback()); in dumpEffect()
1010 if (mVibratorOnResult == 0 && prebaked.shouldFallback() in play()
1420 private Drawable getTintTarget(int layerId, boolean shouldFallback) { in getTintTarget() argument1431 if (shouldFallback && layer == null) { in getTintTarget()
1979 method public boolean shouldFallback();
43462 Landroid/os/VibrationEffect$Prebaked;->shouldFallback()Z