Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:fbHeight

565     uint32_t fbHeight = ctx->dpyAttr[dpy].yres;
569 ctx->mHDMIDisplay->getAttributes(fbWidth, fbHeight);
577 swap(fbWidth, fbHeight);
582 float asH = (float)fbHeight;
586 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f));
588 asY = ((float)fbHeight - asH) / 2;
592 yRatio = (float)y/(float)fbHeight;
594 hRatio = (float)h/(float)fbHeight;
617 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
622 float height = fbHeight;
625 float actualHeight = fbHeight;
631 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight};
638 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0);
646 qdutils::getAspectRatioPosition((int)fbWidth, (int)fbHeight,
689 outPos.y = uint32_t(yRatio * fbHeight);
691 outPos.h = uint32_t(hRatio * fbHeight);
710 fbHeight = (float)ctx->dpyAttr[dpy].yres;
713 yRatio = (float)outPos.y/fbHeight;
715 hRatio = (float)outPos.h/fbHeight;
733 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres;
734 if(fbWidth < fbHeight) {
784 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
797 float hRatio = ((float)extH)/fbHeight;