Lines Matching defs:fbHeight
632 uint32_t fbHeight = ctx->dpyAttr[dpy].yres;
636 ctx->mHDMIDisplay->getAttributes(fbWidth, fbHeight);
644 swap(fbWidth, fbHeight);
649 float asH = (float)fbHeight;
653 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f));
655 asY = ((float)fbHeight - asH) / 2;
659 yRatio = (float)y/(float)fbHeight;
661 hRatio = (float)h/(float)fbHeight;
684 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
689 float height = fbHeight;
692 float actualHeight = fbHeight;
698 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight};
705 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0);
713 qdutils::getAspectRatioPosition((int)fbWidth, (int)fbHeight,
756 outPos.y = uint32_t(yRatio * fbHeight);
758 outPos.h = uint32_t(hRatio * fbHeight);
777 fbHeight = (float)ctx->dpyAttr[dpy].yres;
780 yRatio = (float)outPos.y/fbHeight;
782 hRatio = (float)outPos.h/fbHeight;
800 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres;
801 if(fbWidth < fbHeight) {
851 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
864 float hRatio = ((float)extH)/fbHeight;