Lines Matching refs:yres
78 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) in isValidResolution() argument
82 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution()
96 int yres = atoi(yptr + 1); in changeResolution() local
97 if (isValidResolution(ctx,xres,yres) && in changeResolution()
98 xres != xres_orig && yres != yres_orig) { in changeResolution()
100 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = yres; in changeResolution()
128 info.height = (int)(((float)info.yres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
132 float ydpi = ((float)info.yres * 25.4f) / (float)info.height; in openFramebufferDevice()
164 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres = info.yres; in openFramebufferDevice()
171 changeResolution(ctx, info.xres, info.yres); in openFramebufferDevice()
389 int fbHeight = ctx->dpyAttr[dpy].yres; in getActionSafePosition()
469 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
557 fbHeight = (float)ctx->dpyAttr[dpy].yres; in getAspectRatioPosition()
580 int fbHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in isPrimaryPortrait()
607 int dstHeight = ctx->dpyAttr[dpy].yres;; in calcExtDisplayPosition()
609 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calcExtDisplayPosition()
631 float fbHeight = (float)ctx->dpyAttr[dpy].yres; in calcExtDisplayPosition()
737 int hw_h = ctx->dpyAttr[dpy].yres; in needsScalingWithSplit()
807 int hw_h = ctx->dpyAttr[dpy].yres; in trimLayer()
834 int dstHeight = ctx->dpyAttr[dpy].yres; in calculateDisplayViewFrame()
836 int srcHeight = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].yres; in calculateDisplayViewFrame()
1571 int h = ctx->dpyAttr[dpy].yres; in configColorLayer()
1748 int hw_h = ctx->dpyAttr[dpy].yres; in configureSplit()
2223 const int fbYRes = (int)ctx->dpyAttr[dpy].yres; in resetROI()