Lines Matching refs:xres

79 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres)  in isValidResolution()  argument
81 return !((xres > qdutils::MAX_DISPLAY_DIM && in isValidResolution()
83 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution()
134 info.width = (int)(((float)info.xres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
138 float xdpi = ((float)info.xres * 25.4f) / (float)info.width; in openFramebufferDevice()
169 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
170 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice()
178 changeResolution(ctx, info.xres, info.yres, info.width, info.height); in openFramebufferDevice()
239 (int)ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in initContext()
403 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition()
455 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
543 fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
566 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in isPrimaryPortrait()
593 int dstWidth = ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
595 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calcExtDisplayPosition()
617 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
723 int hw_w = ctx->dpyAttr[dpy].xres; in needsScalingWithSplit()
793 int hw_w = ctx->dpyAttr[dpy].xres; in trimLayer()
1576 int w = ctx->dpyAttr[dpy].xres; in configColorLayer()
1752 int hw_w = ctx->dpyAttr[dpy].xres; in configureSplit()
2027 int lSplit = ctx->dpyAttr[dpy].xres / 2; in getLeftSplit()
2037 if(ctx->dpyAttr[dpy].xres > qdutils::MAX_DISPLAY_DIM) { in isDisplaySplit()
2233 const int fbXRes = (int)ctx->dpyAttr[dpy].xres; in resetROI()