Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp330 float asW = fbWidth; in getActionSafePosition() local
340 asW = fbWidth * (1.0f - asWidthRatio / 100.0f); in getActionSafePosition()
342 asX = (fbWidth - asW) / 2; in getActionSafePosition()
352 x = (xRatio * asW) + asX; in getActionSafePosition()
354 w = (wRatio * asW); in getActionSafePosition()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp405 float asW = (float)fbWidth; in getActionSafePosition() local
409 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
411 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
421 x = int((xRatio * asW) + asX); in getActionSafePosition()
423 w = int(wRatio * asW); in getActionSafePosition()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp420 float asW = (float)fbWidth; in getActionSafePosition() local
424 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
426 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
436 x = int((xRatio * asW) + asX); in getActionSafePosition()
438 w = int(wRatio * asW); in getActionSafePosition()