Lines Matching refs:primitive
843 ndk::ScopedAStatus Vibrator::getPrimitiveDuration(CompositePrimitive primitive, in getPrimitiveDuration() argument
847 if (primitive != CompositePrimitive::NOOP) { in getPrimitiveDuration()
848 status = getPrimitiveDetails(primitive, &effectIndex); in getPrimitiveDuration()
901 if (e_curr.primitive != CompositePrimitive::NOOP) { in compose()
903 status = getPrimitiveDetails(e_curr.primitive, &effectIndex); in compose()
909 if (effectScale > mPrimitiveMaxScale[static_cast<uint32_t>(e_curr.primitive)]) { in compose()
910 effectScale = mPrimitiveMaxScale[static_cast<uint32_t>(e_curr.primitive)]; in compose()
912 if (effectScale < mPrimitiveMinScale[static_cast<uint32_t>(e_curr.primitive)]) { in compose()
913 effectScale = mPrimitiveMinScale[static_cast<uint32_t>(e_curr.primitive)]; in compose()
1591 ndk::ScopedAStatus Vibrator::getPrimitiveDetails(CompositePrimitive primitive, in getPrimitiveDetails() argument
1594 uint32_t primitiveBit = 1 << int32_t(primitive); in getPrimitiveDetails()
1599 switch (primitive) { in getPrimitiveDetails()