Lines Matching refs:xres
78 bool isValidResolution(hwc_context_t *ctx, uint32_t xres, uint32_t yres) in isValidResolution() argument
80 return !((xres > qdutils::MAX_DISPLAY_DIM && in isValidResolution()
82 (xres < MIN_DISPLAY_XRES || yres < MIN_DISPLAY_YRES)); in isValidResolution()
95 int xres = atoi(property); in changeResolution() local
97 if (isValidResolution(ctx,xres,yres) && in changeResolution()
98 xres != xres_orig && yres != yres_orig) { in changeResolution()
99 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = xres; in changeResolution()
127 info.width = (int)(((float)info.xres * 25.4f)/160.0f + 0.5f); in openFramebufferDevice()
131 float xdpi = ((float)info.xres * 25.4f) / (float)info.width; in openFramebufferDevice()
162 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].stride = finfo.line_length /(info.xres/8); in openFramebufferDevice()
163 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres = info.xres; in openFramebufferDevice()
171 changeResolution(ctx, info.xres, info.yres); in openFramebufferDevice()
388 int fbWidth = ctx->dpyAttr[dpy].xres; in getActionSafePosition()
468 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
556 fbWidth = (float)ctx->dpyAttr[dpy].xres; in getAspectRatioPosition()
579 int fbWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in isPrimaryPortrait()
606 int dstWidth = ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
608 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calcExtDisplayPosition()
630 float fbWidth = (float)ctx->dpyAttr[dpy].xres; in calcExtDisplayPosition()
736 int hw_w = ctx->dpyAttr[dpy].xres; in needsScalingWithSplit()
806 int hw_w = ctx->dpyAttr[dpy].xres; in trimLayer()
833 int dstWidth = ctx->dpyAttr[dpy].xres; in calculateDisplayViewFrame()
835 int srcWidth = ctx->dpyAttr[HWC_DISPLAY_PRIMARY].xres; in calculateDisplayViewFrame()
1570 int w = ctx->dpyAttr[dpy].xres; in configColorLayer()
1747 int hw_w = ctx->dpyAttr[dpy].xres; in configureSplit()
2023 int lSplit = ctx->dpyAttr[dpy].xres / 2; in getLeftSplit()
2033 if(ctx->dpyAttr[dpy].xres > qdutils::MAX_DISPLAY_DIM) { in isDisplaySplit()
2222 const int fbXRes = (int)ctx->dpyAttr[dpy].xres; in resetROI()