Searched refs:isPrimitiveSupported (Results 1 – 7 of 7) sorted by relevance
299 if (mVibratorInfo.isPrimitiveSupported(primitiveId)) { in getVibration()312 if (mVibratorInfo.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_QUICK_RISE) in getAssistantButtonVibration()313 && mVibratorInfo.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)) { in getAssistantButtonVibration()350 if (mVibratorInfo.isPrimitiveSupported(primitiveId)) { in getKeyboardVibration()367 return mVibratorInfo.isPrimitiveSupported( in shouldBypassIntensityScale()370 return mVibratorInfo.isPrimitiveSupported( in shouldBypassIntensityScale()
647 supported[i] = info.isPrimitiveSupported(primitiveIds[i]); in arePrimitivesSupported()668 if (!info.isPrimitiveSupported(primitiveId)) { in areAllPrimitivesSupported()
340 public boolean isPrimitiveSupported( in isPrimitiveSupported() method in VibratorInfo
81 return vibratorInfo.isPrimitiveSupported(mPrimitiveId); in areVibrationFeaturesSupported()
99 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()100 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in testIsPrimitiveSupported()106 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()
108 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported_unsupportedInOneVibrator_returnsFalse()125 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported_supportedInAllVibrators_returnsTrue()
455 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()456 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()