Lines Matching refs:fbHeight
565 uint32_t fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition() local
569 ctx->mHDMIDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
577 swap(fbWidth, fbHeight); in getActionSafePosition()
582 float asH = (float)fbHeight; in getActionSafePosition()
586 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f)); in getActionSafePosition()
588 asY = ((float)fbHeight - asH) / 2; in getActionSafePosition()
592 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
594 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
617 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition() local
622 float height = fbHeight; in getAspectRatioPosition()
625 float actualHeight = fbHeight; 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()
689 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
691 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
710 fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
713 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
715 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
733 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in isPrimaryPortrait() local
734 if(fbWidth < fbHeight) { in isPrimaryPortrait()
784 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in calcExtDisplayPosition() local
797 float hRatio = ((float)extH)/fbHeight; in calcExtDisplayPosition()