Lines Matching refs:fbWidth

564     uint32_t fbWidth = ctx->dpyAttr[dpy].xres;  in getActionSafePosition()  local
569 ctx->mHDMIDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
577 swap(fbWidth, fbHeight); in getActionSafePosition()
581 float asW = (float)fbWidth; in getActionSafePosition()
585 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
587 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
591 xRatio = (float)x/(float)fbWidth; in getActionSafePosition()
593 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
616 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local
621 float width = fbWidth; in getAspectRatioPosition()
624 float actualWidth = fbWidth; in getAspectRatioPosition()
631 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition()
638 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0); in getAspectRatioPosition()
646 qdutils::getAspectRatioPosition((int)fbWidth, (int)fbHeight, in getAspectRatioPosition()
688 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition()
690 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
709 fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
712 xRatio = (float)outPos.x/fbWidth; in getAspectRatioPosition()
714 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
732 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in isPrimaryPortrait() local
734 if(fbWidth < fbHeight) { in isPrimaryPortrait()
783 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition() local
796 float wRatio = ((float)extW)/fbWidth; in calcExtDisplayPosition()