Lines Matching refs:fbHeight

389     int fbHeight = ctx->dpyAttr[dpy].yres;  in getActionSafePosition()  local
393 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
401 swap(fbWidth, fbHeight); in getActionSafePosition()
406 float asH = (float)fbHeight; in getActionSafePosition()
410 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f)); in getActionSafePosition()
412 asY = ((float)fbHeight - asH) / 2; in getActionSafePosition()
416 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
418 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
469 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition() local
474 float height = fbHeight; in getAspectRatioPosition()
477 float actualHeight = fbHeight; 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()
541 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
543 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
557 fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
560 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
562 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
580 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in isPrimaryPortrait() local
581 if(fbWidth < fbHeight) { in isPrimaryPortrait()
631 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in calcExtDisplayPosition() local
639 float hRatio = ((float)extH)/fbHeight; in calcExtDisplayPosition()