Lines Matching refs:rotationOp
100 for (const auto& rotationOp : animationInfo.rotationOpsMap) { in mapVhalToParts() local
101 if (mVhalToPartsMap.find(rotationOp.first) != mVhalToPartsMap.end()) { in mapVhalToParts()
102 mVhalToPartsMap.at(rotationOp.first).insert(partId); in mapVhalToParts()
105 std::make_pair(rotationOp.first, std::set<std::string>{partId})); in mapVhalToParts()
336 const RotationOp& rotationOp) { in performRotationOp() argument
342 if (0 == rotationOp.animationTime) { in performRotationOp()
348 (mCurrentCallTime - mLastCallTime) / rotationOp.animationTime; in performRotationOp()
354 float anlgeInDegree = getRationalNumber(rotationOp.rotationRange, in performRotationOp()
357 rotationAboutPoint(anlgeInDegree, rotationOp.axis.rotationPoint, in performRotationOp()
358 rotationOp.axis.axisVector); in performRotationOp()
369 if (rotationOp.type == ROTATION_ANGLE) { in performRotationOp()
370 if (0 == rotationOp.animationTime) { in performRotationOp()
372 getRationalNumber(rotationOp.rotationRange, rotationOp.vhalRange, in performRotationOp()
375 rotationAboutPoint(angleInDegree, rotationOp.axis.rotationPoint, in performRotationOp()
376 rotationOp.axis.axisVector); in performRotationOp()
381 float progressDelta = (mCurrentCallTime - mLastCallTime) / rotationOp.animationTime; in performRotationOp()
383 float angleInDegree = rotationOp.rotationRange.end; in performRotationOp()
385 rotationAboutPoint(angleInDegree, rotationOp.axis.rotationPoint, in performRotationOp()
386 rotationOp.axis.axisVector); in performRotationOp()
392 float anlgeInDegree = getRationalNumber(rotationOp.rotationRange, in performRotationOp()
395 rotationAboutPoint(anlgeInDegree, rotationOp.axis.rotationPoint, in performRotationOp()
396 rotationOp.axis.axisVector); in performRotationOp()
403 } else if (rotationOp.type == ROTATION_SPEED) { in performRotationOp()
405 getRationalNumber(rotationOp.rotationRange, rotationOp.vhalRange, in performRotationOp()
410 appendMat(rotationAboutPoint(angleDelta, rotationOp.axis.rotationPoint, in performRotationOp()
411 rotationOp.axis.axisVector), in performRotationOp()
417 LOG(ERROR) << "Error type of rotation op: " << rotationOp.type; in performRotationOp()
490 for (const auto& rotationOp : animationInfo.rotationOpsMap.at(vhalProperty)) { in getUpdatedAnimationParams() local
491 performRotationOp(partId, vhalProperty, rotationOp); in getUpdatedAnimationParams()