Home
last modified time | relevance | path

Searched refs:primitive (Results 1 – 5 of 5) sorted by relevance

/device/google/felix/vibrator/cs40l26/
DVibrator.cpp843 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
[all …]
DVibrator.h157 ndk::ScopedAStatus getPrimitiveDuration(CompositePrimitive primitive,
193 ndk::ScopedAStatus getPrimitiveDetails(CompositePrimitive primitive, uint32_t *outEffectIndex);
/device/google/felix/vibrator/cs40l26/tests/
Dtest-vibrator.cpp577 CompositePrimitive primitive; member
584 return toString(info.param.primitive); in PrintParam()
597 auto primitive = param.primitive; in TEST_P() local
601 EXPECT_EQ(EX_NONE, mVibrator->getPrimitiveDuration(primitive, &duration).getExceptionCode()); in TEST_P()
/device/google/barbet/vibrator/drv2624/
DVibrator.h169 ndk::ScopedAStatus getPrimitiveDuration(CompositePrimitive primitive,
/device/google/redfin/vibrator/drv2624/
DVibrator.h175 ndk::ScopedAStatus getPrimitiveDuration(CompositePrimitive primitive,