Lines Matching refs:disp
489 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
495 switch(disp) { in hwc_getDisplayConfigs()
517 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
522 if(disp == HWC_DISPLAY_EXTERNAL && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
542 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
545 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
546 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
547 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes()
550 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
551 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
552 ctx->dpyAttr[disp].yres); in hwc_getDisplayAttributes()
555 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
558 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()