Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:fbHeight

389     int fbHeight = ctx->dpyAttr[dpy].yres;
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight);
401 swap(fbWidth, fbHeight);
406 float asH = (float)fbHeight;
410 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f));
412 asY = ((float)fbHeight - asH) / 2;
416 yRatio = (float)y/(float)fbHeight;
418 hRatio = (float)h/(float)fbHeight;
469 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
474 float height = fbHeight;
477 float actualHeight = fbHeight;
483 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight};
490 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0);
498 getAspectRatioPosition((int)fbWidth, (int)fbHeight, (int)actualWidth,
541 outPos.y = uint32_t(yRatio * fbHeight);
543 outPos.h = uint32_t(hRatio * fbHeight);
557 fbHeight = (float)ctx->dpyAttr[dpy].yres;
560 yRatio = (float)outPos.y/fbHeight;
562 hRatio = (float)outPos.h/fbHeight;
580 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres;
581 if(fbWidth < fbHeight) {
631 float fbHeight = (float)ctx->dpyAttr[dpy].yres;
639 float hRatio = ((float)extH)/fbHeight;