Home
last modified time | relevance | path

Searched refs:timeIdx (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/camera/fake-pipeline2/
DScene.cpp142 int timeIdx = mHour / kTimeStep; in calculateScene() local
143 int nextTimeIdx = (timeIdx + 1) % (24 / kTimeStep); in calculateScene()
145 nsecs_t timeSinceIdx = (mHour - timeIdx * kTimeStep) * kOneHourInNsec + time; in calculateScene()
150 kSunlight[timeIdx] * (1 - timeFrac) + in calculateScene()
162 if (kSunlight[timeIdx] == kSunsetIllum || in calculateScene()
163 kSunlight[timeIdx] == kTwilightIllum) { in calculateScene()
215 kMoonlight[timeIdx] * (1 - timeFrac) + in calculateScene()
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DScene.cpp143 int timeIdx = mHour / kTimeStep; in calculateScene() local
144 int nextTimeIdx = (timeIdx + 1) % (24 / kTimeStep); in calculateScene()
146 nsecs_t timeSinceIdx = (mHour - timeIdx * kTimeStep) * kOneHourInNsec + time; in calculateScene()
151 kSunlight[timeIdx] * (1 - timeFrac) + kSunlight[nextTimeIdx] * timeFrac; in calculateScene()
162 if (kSunlight[timeIdx] == kSunsetIllum || in calculateScene()
163 kSunlight[timeIdx] == kTwilightIllum) { in calculateScene()
206 kMoonlight[timeIdx] * (1 - timeFrac) + kMoonlight[nextTimeIdx] * timeFrac; in calculateScene()