Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp378 int fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
382 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
390 swap(fbWidth, fbHeight); in getActionSafePosition()
395 float asH = fbHeight; in getActionSafePosition()
399 asH = fbHeight * (1.0f - asHeightRatio / 100.0f); in getActionSafePosition()
401 asY = (fbHeight - asH) / 2; in getActionSafePosition()
405 yRatio = (float)y/fbHeight; in getActionSafePosition()
407 hRatio = (float)h/fbHeight; in getActionSafePosition()
431 float fbHeight = ctx->dpyAttr[dpy].yres; in getAspectRatioPosition() local
436 float height = fbHeight; in getAspectRatioPosition()
[all …]
Dhwc_virtual.cpp100 int fbWidth = 0, fbHeight = 0; in prepare() local
101 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
103 ctx->dpyAttr[dpy].yres = fbHeight; in prepare()
Dhwc_copybit.cpp97 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp389 int fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
401 swap(fbWidth, fbHeight); in getActionSafePosition()
406 float asH = (float)fbHeight; in getActionSafePosition()
410 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f)); in getActionSafePosition()
412 asY = ((float)fbHeight - asH) / 2; in getActionSafePosition()
416 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
418 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
469 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition() local
474 float height = fbHeight; in getAspectRatioPosition()
[all …]
Dhwc_virtual.cpp102 int fbWidth = 0, fbHeight = 0; in prepare() local
103 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
105 ctx->dpyAttr[dpy].yres = fbHeight; in prepare()
Dhwc_copybit.cpp97 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp327 float fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
332 float asH= fbHeight; in getActionSafePosition()
342 asH = fbHeight * (1.0f - asHeightRatio / 100.0f); in getActionSafePosition()
344 asY = (fbHeight - asH) / 2; in getActionSafePosition()
348 yRatio = (float)y/fbHeight; in getActionSafePosition()
350 hRatio = (float)h/fbHeight; in getActionSafePosition()
Dhwc_copybit.cpp101 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
102 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp275 float fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
280 float asH= fbHeight; in getActionSafePosition()
284 asH = fbHeight * (1.0f - asHeightRatio / 100.0f); in getActionSafePosition()
286 asY = (fbHeight - asH) / 2; in getActionSafePosition()
290 yRatio = (float)y/fbHeight; in getActionSafePosition()
292 hRatio = (float)h/fbHeight; in getActionSafePosition()
Dhwc.cpp220 int fbWidth = 0, fbHeight = 0; in hwc_prepare_virtual() local
221 getLayerResolution(fbLayer, fbWidth, fbHeight); in hwc_prepare_virtual()
223 ctx->dpyAttr[dpy].yres = fbHeight; in hwc_prepare_virtual()
Dhwc_copybit.cpp94 int fbHeight = ctx->dpyAttr[dpy].yres; in canUseCopybitForRGB() local
95 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()