Home
last modified time | relevance | path

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

/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DPrebakedSegmentTest.java46 assertTrue(prebaked.shouldFallback()); in testCreation()
87 assertEquals(medium.shouldFallback(), light.shouldFallback()); in testApplyEffectStrength()
93 assertEquals(medium.shouldFallback(), strong.shouldFallback()); in testApplyEffectStrength()
/frameworks/base/core/java/android/os/vibrator/
DPrebakedSegment.java55 public PrebakedSegment(int effectId, boolean shouldFallback, int effectStrength) { in PrebakedSegment() argument
57 mFallback = shouldFallback; in PrebakedSegment()
70 public boolean shouldFallback() { in shouldFallback() method in PrebakedSegment
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DVibrationEffectXmlSerializer.java142 prebaked.shouldFallback() == PrebakedSegment.DEFAULT_SHOULD_FALLBACK, in serializePrebakedSegment()
144 prebaked.shouldFallback()); in serializePrebakedSegment()
147 return new SerializedPredefinedEffect(effectName, prebaked.shouldFallback()); in serializePrebakedSegment()
DSerializedPredefinedEffect.java47 SerializedPredefinedEffect(PredefinedEffectName effectName, boolean shouldFallback) { in SerializedPredefinedEffect() argument
49 mShouldFallback = shouldFallback; in SerializedPredefinedEffect()
/frameworks/base/services/core/java/com/android/server/vibrator/
DPerformPrebakedVibratorStep.java69 if (vibratorOnResult == 0 && prebaked.shouldFallback() in play()
DVibratorManagerService.java1272 if (prebaked.shouldFallback() && fallback != null) { in fillVibrationFallbacks()
2411 boolean shouldFallback = false; in addPrebakedToComposition()
2418 shouldFallback = true; in addPrebakedToComposition()
2426 composition.addEffect(VibrationEffect.get(effectId, shouldFallback)); in addPrebakedToComposition()
DVibration.java447 proto.write(PrebakedSegmentProto.FALLBACK, segment.shouldFallback()); in dumpEffect()
/frameworks/base/core/java/android/widget/
DProgressBar.java1430 private Drawable getTintTarget(int layerId, boolean shouldFallback) { in getTintTarget() argument
1441 if (shouldFallback && layer == null) { in getTintTarget()
/frameworks/base/core/api/
Dtest-current.txt2709 method public boolean shouldFallback();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39496 Landroid/os/VibrationEffect$Prebaked;->shouldFallback()Z