Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:fbWidth

388     int fbWidth = ctx->dpyAttr[dpy].xres;
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight);
401 swap(fbWidth, fbHeight);
405 float asW = (float)fbWidth;
409 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f));
411 asX = ((float)fbWidth - asW) / 2;
415 xRatio = (float)x/(float)fbWidth;
417 wRatio = (float)w/(float)fbWidth;
468 float fbWidth = (float)ctx->dpyAttr[dpy].xres;
473 float width = fbWidth;
476 float actualWidth = fbWidth;
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,
540 outPos.x = uint32_t(xRatio * fbWidth);
542 outPos.w = uint32_t(wRatio * fbWidth);
556 fbWidth = (float)ctx->dpyAttr[dpy].xres;
559 xRatio = (float)outPos.x/fbWidth;
561 wRatio = (float)outPos.w/fbWidth;
579 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres;
581 if(fbWidth < fbHeight) {
630 float fbWidth = (float)ctx->dpyAttr[dpy].xres;
638 float wRatio = ((float)extW)/fbWidth;