Lines Matching refs:fbHeight

404     int fbHeight = ctx->dpyAttr[dpy].yres;  in getActionSafePosition()  local
408 ctx->mExtDisplay->getAttributes(fbWidth, fbHeight); in getActionSafePosition()
416 swap(fbWidth, fbHeight); in getActionSafePosition()
421 float asH = (float)fbHeight; in getActionSafePosition()
425 asH = ((float)fbHeight * (1.0f - (float)asHeightRatio / 100.0f)); in getActionSafePosition()
427 asY = ((float)fbHeight - asH) / 2; in getActionSafePosition()
431 yRatio = (float)y/(float)fbHeight; in getActionSafePosition()
433 hRatio = (float)h/(float)fbHeight; in getActionSafePosition()
456 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition() local
461 float height = fbHeight; in getAspectRatioPosition()
464 float actualHeight = fbHeight; 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()
528 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
530 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
544 fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
547 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
549 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
567 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in isPrimaryPortrait() local
568 if(fbWidth < fbHeight) { in isPrimaryPortrait()
618 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in calcExtDisplayPosition() local
626 float hRatio = ((float)extH)/fbHeight; in calcExtDisplayPosition()