Searched refs:timeIdx (Results 1 – 2 of 2) sorted by relevance
142 int timeIdx = mHour / kTimeStep; in calculateScene() local143 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()
143 int timeIdx = mHour / kTimeStep; in calculateScene() local144 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()