-
@Deprecated(message = Replaced by wear compose) public final class SnapParameters
Parameters used for snapping
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegersnapOffsetprivate final FloatthresholdDividerprivate final FloatresistanceFactor
-
Constructor Summary
Constructors Constructor Description SnapParameters(Integer snapOffset, Float thresholdDivider, Float resistanceFactor)
-
Method Summary
Modifier and Type Method Description final IntegergetSnapOffset()final FloatgetThresholdDivider()final FloatgetResistanceFactor()final DpsnapOffsetDp()Returns a snapping offset in Dp Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getSnapOffset
final Integer getSnapOffset()
-
getThresholdDivider
final Float getThresholdDivider()
-
getResistanceFactor
final Float getResistanceFactor()
-
snapOffsetDp
final Dp snapOffsetDp()
Returns a snapping offset in Dp
-
-
-
-