Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:fbHeight

404     int fbHeight = ctx->dpyAttr[dpy].yres;
408 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight);
416 swap(fbWidth, fbHeight);
421 float asH = (float)fbHeight;
425 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f));
427 asY = ((float)fbHeight - asH) / 2;
431 yRatio = (float)y/(float)fbHeight;
433 hRatio = (float)h/(float)fbHeight;
456 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
461 float height = fbHeight;
464 float actualHeight = fbHeight;
470 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight};
477 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0);
485 getAspectRatioPosition((int)fbWidth, (int)fbHeight, (int)actualWidth,
528 outPos.y = uint32_t(yRatio * fbHeight);
530 outPos.h = uint32_t(hRatio * fbHeight);
544 fbHeight = (float)ctx->dpyAttr[dpy].yres;
547 yRatio = (float)outPos.y/fbHeight;
549 hRatio = (float)outPos.h/fbHeight;
567 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres;
568 if(fbWidth < fbHeight) {
618 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
626 float hRatio = ((float)extH)/fbHeight;