Searched refs:fbWidth (Results 1 – 11 of 11) sorted by relevance
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 388 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 …]
|
D | hwc_virtual.cpp | 102 int fbWidth = 0, fbHeight = 0; in prepare() local 103 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare() 104 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
|
D | hwc_copybit.cpp | 96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 403 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 …]
|
D | hwc_virtual.cpp | 113 int fbWidth = 0, fbHeight = 0; in prepare() local 114 getLayerResolution(fbLayer, fbWidth, fbHeight); in prepare() 115 ctx->dpyAttr[dpy].xres = fbWidth; in prepare()
|
D | hwc_copybit.cpp | 96 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 98 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 326 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()
|
D | hwc_copybit.cpp | 100 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 102 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc_utils.cpp | 274 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()
|
D | hwc.cpp | 220 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()
|
D | hwc_copybit.cpp | 93 int fbWidth = ctx->dpyAttr[dpy].xres; in canUseCopybitForRGB() local 95 unsigned int fbArea = (fbWidth * fbHeight); in canUseCopybitForRGB()
|