Searched refs:shouldFallback (Results 1 – 8 of 8) sorted by relevance
47 public PrebakedSegment(int effectId, boolean shouldFallback, int effectStrength) { in PrebakedSegment() argument49 mFallback = shouldFallback; in PrebakedSegment()62 public boolean shouldFallback() { in shouldFallback() method in PrebakedSegment
53 assertTrue(prebaked.shouldFallback()); in testCreation()94 assertEquals(medium.shouldFallback(), light.shouldFallback()); in testApplyEffectStrength()100 assertEquals(medium.shouldFallback(), strong.shouldFallback()); in testApplyEffectStrength()
69 if (vibratorOnResult == 0 && prebaked.shouldFallback() in play()
1116 if (prebaked.shouldFallback() && fallback != null) { in fillVibrationFallbacks()2121 boolean shouldFallback = false; in addPrebakedToComposition()2128 shouldFallback = true; in addPrebakedToComposition()2136 composition.addEffect(VibrationEffect.get(effectId, shouldFallback)); in addPrebakedToComposition()
370 proto.write(PrebakedSegmentProto.FALLBACK, segment.shouldFallback()); in dumpEffect()
1421 private Drawable getTintTarget(int layerId, boolean shouldFallback) { in getTintTarget() argument1432 if (shouldFallback && layer == null) { in getTintTarget()
2588 method public boolean shouldFallback();
40139 Landroid/os/VibrationEffect$Prebaked;->shouldFallback()Z