Searched refs:gammaOp (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/surround_view/service-impl/ |
D | AnimationModule.cpp | 84 for (const auto& gammaOp : animationInfo.gammaOpsMap) { in mapVhalToParts() local 85 if (mVhalToPartsMap.find(gammaOp.first) != mVhalToPartsMap.end()) { in mapVhalToParts() 86 mVhalToPartsMap.at(gammaOp.first).insert(partId); in mapVhalToParts() 89 std::make_pair(gammaOp.first, std::set<std::string>{partId})); in mapVhalToParts() 181 const GammaOp& gammaOp) { in performGammaOp() argument 186 if (0 == gammaOp.animationTime) { in performGammaOp() 187 currentCarPartStatus.gamma = gammaOp.gammaRange.start; in performGammaOp() 191 (mCurrentCallTime - mLastCallTime) / gammaOp.animationTime; in performGammaOp() 193 currentCarPartStatus.gamma = gammaOp.gammaRange.start; in performGammaOp() 197 getRationalNumber(gammaOp.gammaRange, currentProgress - progressDelta); in performGammaOp() [all …]
|
D | CarModelConfigReader.cpp | 202 bool ReadOp<GammaOp>(const XMLElement* gammaOpElem, GammaOp* gammaOp) { in ReadOp() argument 203 RETURN_IF_FALSE(ReadVhalProperty(gammaOpElem, "VhalProperty", &gammaOp->vhalProperty)); in ReadOp() 205 RETURN_IF_FALSE(ReadAnimationType(gammaOpElem, "AnimationType", &gammaOp->type)); in ReadOp() 207 RETURN_IF_FALSE(ReadValue(gammaOpElem, "AnimationTimeMs", &gammaOp->animationTime)); in ReadOp() 209 RETURN_IF_FALSE(ReadRange(gammaOpElem, "GammaRange", &gammaOp->gammaRange)); in ReadOp() 211 RETURN_IF_FALSE(ReadRange(gammaOpElem, "VhalRange", &gammaOp->vhalRange)); in ReadOp()
|
D | AnimationModule.h | 109 void performGammaOp(const std::string& partId, uint64_t vhalProperty, const GammaOp& gammaOp);
|