Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp388 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
401 swap(fbWidth, fbHeight); in getActionSafePosition()
405 float asW = (float)fbWidth; in getActionSafePosition()
409 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
411 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
415 xRatio = (float)x/(float)fbWidth; in getActionSafePosition()
417 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
468 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local
473 float width = fbWidth; in getAspectRatioPosition()
[all …]
Dhwc_virtual.cpp102 int fbWidth = 0, fbHeight = 0; in prepare() local
103 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
104 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
Dhwc_copybit.cpp96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp403 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local
408 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
416 swap(fbWidth, fbHeight); in getActionSafePosition()
420 float asW = (float)fbWidth; in getActionSafePosition()
424 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
426 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
430 xRatio = (float)x/(float)fbWidth; in getActionSafePosition()
432 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
455 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local
460 float width = fbWidth; in getAspectRatioPosition()
[all …]
Dhwc_virtual.cpp113 int fbWidth = 0, fbHeight = 0; in prepare() local
114 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare()
115 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
Dhwc_copybit.cpp96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp326 float fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local
331 float asW = fbWidth; in getActionSafePosition()
341 asW = fbWidth * (1.0f - asWidthRatio / 100.0f); in getActionSafePosition()
343 asX = (fbWidth - asW) / 2; in getActionSafePosition()
347 xRatio = (float)x/fbWidth; in getActionSafePosition()
349 wRatio = (float)w/fbWidth; in getActionSafePosition()
Dhwc_copybit.cpp100 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
102 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp274 float fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition() local
279 float asW = fbWidth; in getActionSafePosition()
283 asW = fbWidth * (1.0f - asWidthRatio / 100.0f); in getActionSafePosition()
285 asX = (fbWidth - asW) / 2; in getActionSafePosition()
289 xRatio = (float)x/fbWidth; in getActionSafePosition()
291 wRatio = (float)w/fbWidth; in getActionSafePosition()
Dhwc.cpp220 int fbWidth = 0, fbHeight = 0; in hwc_prepare_virtual() local
221 getLayerResolution(fbLayer, fbWidth, fbHeight); in hwc_prepare_virtual()
222 ctx->dpyAttr[dpy].xres = fbWidth; in hwc_prepare_virtual()
Dhwc_copybit.cpp93 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local
95 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()