Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/vibrator/
DPrebakedSegmentTest.java47 assertTrue(prebaked.shouldFallback()); in testCreation()
88 assertEquals(medium.shouldFallback(), light.shouldFallback()); in testApplyEffectStrength()
94 assertEquals(medium.shouldFallback(), strong.shouldFallback()); in testApplyEffectStrength()
/frameworks/base/core/java/android/os/vibrator/
DPrebakedSegment.java46 public PrebakedSegment(int effectId, boolean shouldFallback, int effectStrength) { in PrebakedSegment() argument
48 mFallback = shouldFallback; in PrebakedSegment()
61 public boolean shouldFallback() { in shouldFallback() method in PrebakedSegment
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java837 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()
DVibration.java382 proto.write(PrebakedSegmentProto.FALLBACK, segment.shouldFallback()); in dumpEffect()
DVibrationThread.java1010 if (mVibratorOnResult == 0 && prebaked.shouldFallback() in play()
/frameworks/base/core/java/android/widget/
DProgressBar.java1420 private Drawable getTintTarget(int layerId, boolean shouldFallback) { in getTintTarget() argument
1431 if (shouldFallback && layer == null) { in getTintTarget()
/frameworks/base/core/api/
Dtest-current.txt1979 method public boolean shouldFallback();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt43462 Landroid/os/VibrationEffect$Prebaked;->shouldFallback()Z