Home
last modified time | relevance | path

Searched refs:asW (Results 1 – 5 of 5) 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()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp648 float asW = (float)fbWidth; in getActionSafePosition() local
652 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
654 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
664 x = int((xRatio * asW) + asX); in getActionSafePosition()
666 w = int(wRatio * asW); in getActionSafePosition()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp581 float asW = (float)fbWidth; in getActionSafePosition() local
585 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
587 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
597 x = int((xRatio * asW) + asX); in getActionSafePosition()
599 w = int(wRatio * asW); in getActionSafePosition()