Lines Matching refs:dpy

121     int dpy = inParcel->readInt32();  in getDisplayAttributes()  local
122 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period); in getDisplayAttributes()
123 if (ctx->dpyAttr[dpy].customFBSize) { in getDisplayAttributes()
124 outParcel->writeInt32(ctx->dpyAttr[dpy].xres_new); in getDisplayAttributes()
125 outParcel->writeInt32(ctx->dpyAttr[dpy].yres_new); in getDisplayAttributes()
127 outParcel->writeInt32(ctx->dpyAttr[dpy].xres); in getDisplayAttributes()
128 outParcel->writeInt32(ctx->dpyAttr[dpy].yres); in getDisplayAttributes()
130 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi); in getDisplayAttributes()
131 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi); in getDisplayAttributes()
136 int dpy = inParcel->readInt32(); in setHSIC() local
137 ALOGD_IF(0, "In %s: dpy = %d", __FUNCTION__, dpy); in setHSIC()
151 static status_t getDisplayVisibleRegion(hwc_context_t* ctx, int dpy, in getDisplayVisibleRegion() argument
154 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion()
156 if(dpy && (ctx->mExtOrientation || ctx->mBufferMirrorMode)) { in getDisplayVisibleRegion()
159 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.left); in getDisplayVisibleRegion()
160 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.top); in getDisplayVisibleRegion()
161 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.right); in getDisplayVisibleRegion()
162 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.bottom); in getDisplayVisibleRegion()
164 outParcel->writeInt32(ctx->mViewFrame[dpy].left); in getDisplayVisibleRegion()
165 outParcel->writeInt32(ctx->mViewFrame[dpy].top); in getDisplayVisibleRegion()
166 outParcel->writeInt32(ctx->mViewFrame[dpy].right); in getDisplayVisibleRegion()
167 outParcel->writeInt32(ctx->mViewFrame[dpy].bottom); in getDisplayVisibleRegion()
171 ALOGE("In %s: invalid dpy index %d", __FUNCTION__, dpy); in getDisplayVisibleRegion()
179 uint32_t dpy = inParcel->readInt32(); in setSecondaryDisplayStatus() local
182 dpy, getExternalDisplayState(status)); in setSecondaryDisplayStatus()
184 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setSecondaryDisplayStatus()
185 if(dpy == HWC_DISPLAY_VIRTUAL && status == qdutils::EXTERNAL_OFFLINE) { in setSecondaryDisplayStatus()
190 handle_pause(ctx, dpy); in setSecondaryDisplayStatus()
192 handle_resume(ctx, dpy); in setSecondaryDisplayStatus()
195 ALOGE("%s: Invalid dpy %d", __FUNCTION__, dpy); in setSecondaryDisplayStatus()
202 int dpy = inParcel->readInt32(); in setViewFrame() local
203 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame()
205 ctx->mViewFrame[dpy].left = inParcel->readInt32(); in setViewFrame()
206 ctx->mViewFrame[dpy].top = inParcel->readInt32(); in setViewFrame()
207 ctx->mViewFrame[dpy].right = inParcel->readInt32(); in setViewFrame()
208 ctx->mViewFrame[dpy].bottom = inParcel->readInt32(); in setViewFrame()
210 __FUNCTION__, dpy, in setViewFrame()
211 ctx->mViewFrame[dpy].left, ctx->mViewFrame[dpy].top, in setViewFrame()
212 ctx->mViewFrame[dpy].right, ctx->mViewFrame[dpy].bottom); in setViewFrame()
215 ALOGE("In %s: invalid dpy index %d", __FUNCTION__, dpy); in setViewFrame()
278 uint32_t dpy = HWC_DISPLAY_PRIMARY; in configureDynRefreshRate() local
286 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
290 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
300 setRefreshRate(ctx, dpy, rate); in configureDynRefreshRate()