• Home
  • Raw
  • Download

Lines Matching refs:fbWidth

403     int fbWidth = ctx->dpyAttr[dpy].xres;  in getActionSafePosition()  local
408 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
416 swap(fbWidth, fbHeight); in getActionSafePosition()
420 float asW = (float)fbWidth; in getActionSafePosition()
424 asW = ((float)fbWidth * (1.0f - (float)asWidthRatio / 100.0f)); in getActionSafePosition()
426 asX = ((float)fbWidth - asW) / 2; in getActionSafePosition()
430 xRatio = (float)x/(float)fbWidth; in getActionSafePosition()
432 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
455 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition() local
460 float width = fbWidth; in getAspectRatioPosition()
463 float actualWidth = fbWidth; in getAspectRatioPosition()
470 hwc_rect_t rect = {0, 0, (int)fbWidth, (int)fbHeight}; in getAspectRatioPosition()
477 Whf whf((uint32_t)fbWidth, (uint32_t)fbHeight, 0); in getAspectRatioPosition()
485 getAspectRatioPosition((int)fbWidth, (int)fbHeight, (int)actualWidth, in getAspectRatioPosition()
527 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition()
529 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
543 fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
546 xRatio = (float)outPos.x/fbWidth; in getAspectRatioPosition()
548 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
566 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in isPrimaryPortrait() local
568 if(fbWidth < fbHeight) { in isPrimaryPortrait()
617 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition() local
625 float wRatio = ((float)extW)/fbWidth; in calcExtDisplayPosition()