Lines Matching refs:fbWidth

388     int fbWidth = ctx->dpyAttr[dpy].xres;  in getActionSafePosition()  local
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
401 swap(fbWidth, fbHeight); in getActionSafePosition()
405 float asW = (float)fbWidth; in getActionSafePosition()
409 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
411 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
415 xRatio = (float)x/(float)fbWidth; in getActionSafePosition()
417 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
468 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local
473 float width = fbWidth; in getAspectRatioPosition()
476 float actualWidth = fbWidth; in getAspectRatioPosition()
483 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition()
490 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0); in getAspectRatioPosition()
498 getAspectRatioPosition((int)fbWidth, (int)fbHeight, (int)actualWidth, in getAspectRatioPosition()
540 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition()
542 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
556 fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
559 xRatio = (float)outPos.x/fbWidth; in getAspectRatioPosition()
561 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
579 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in isPrimaryPortrait() local
581 if(fbWidth < fbHeight) { in isPrimaryPortrait()
630 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition() local
638 float wRatio = ((float)extW)/fbWidth; in calcExtDisplayPosition()