Lines Matching refs:mode
405 int mode)
412 ALOGD_IF(POWER_MODE_DEBUG, "%s: Setting mode %d on display: %d",
413 __FUNCTION__, mode, dpy);
415 switch(mode) {
447 if(mode == HWC_POWER_MODE_NORMAL) {
453 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF);
454 //Deliberate fall through since there is no explicit power mode for
459 if(mode == HWC_POWER_MODE_OFF and
466 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF);
470 if(mode == HWC_POWER_MODE_OFF) {
476 ctx->dpyAttr[dpy].isActive = not(mode == HWC_POWER_MODE_OFF);
482 ALOGD_IF(POWER_MODE_DEBUG, "%s: Done setting mode %d on display %d",
483 __FUNCTION__, mode, dpy);
498 ALOGD("%s: setting power mode off", __FUNCTION__);
505 ALOGD("%s: setting power mode normal and enabling vsync", __FUNCTION__);
559 int fd = -1; //FenceFD from the Copybit(valid in async mode)
639 int fd = -1; //FenceFD from the Copybit(valid in async mode)