Home
last modified time | relevance | path

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

/base/useriam/fingerprint_auth/services_ex/src/
Dsensor_illumination_task.cpp49 constexpr uint32_t BRIGHTNESS_INDEX = 0; variable
61 if (currScreenBrightness > BRIGHTNESS_AND_ALPHA[i][BRIGHTNESS_INDEX]) { in GetBackgroundAlpha()
63 } else if (currScreenBrightness == BRIGHTNESS_AND_ALPHA[i][BRIGHTNESS_INDEX] || i == 0) { in GetBackgroundAlpha()
68 … BRIGHTNESS_AND_ALPHA[i][BRIGHTNESS_INDEX] - BRIGHTNESS_AND_ALPHA[i - 1][BRIGHTNESS_INDEX]; in GetBackgroundAlpha()
71 … float currBrightnessDiff = currScreenBrightness - BRIGHTNESS_AND_ALPHA[i - 1][BRIGHTNESS_INDEX]; in GetBackgroundAlpha()