Lines Matching refs:disp
733 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs() argument
737 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayConfigs()
740 switch(disp) { in hwc_getDisplayConfigs()
751 if(ctx->dpyAttr[disp].connected) { in hwc_getDisplayConfigs()
763 int hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayAttributes() argument
767 disp = getDpyforExternalDisplay(ctx, disp); in hwc_getDisplayAttributes()
769 if( (disp != HWC_DISPLAY_PRIMARY) && !ctx->dpyAttr[disp].connected) { in hwc_getDisplayAttributes()
789 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
792 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
793 ALOGD("%s disp = %d, width = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
794 ctx->dpyAttr[disp].xres); in hwc_getDisplayAttributes()
797 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
798 ALOGD("%s disp = %d, height = %d",__FUNCTION__, disp, in hwc_getDisplayAttributes()
799 ctx->dpyAttr[disp].yres); in hwc_getDisplayAttributes()
802 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
805 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()