Lines Matching refs:dpy
110 int dpy = inParcel->readInt32(); in getDisplayAttributes() local
111 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period); in getDisplayAttributes()
112 if (ctx->dpyAttr[dpy].customFBSize) { in getDisplayAttributes()
113 outParcel->writeInt32(ctx->dpyAttr[dpy].xres_new); in getDisplayAttributes()
114 outParcel->writeInt32(ctx->dpyAttr[dpy].yres_new); in getDisplayAttributes()
116 outParcel->writeInt32(ctx->dpyAttr[dpy].xres); in getDisplayAttributes()
117 outParcel->writeInt32(ctx->dpyAttr[dpy].yres); in getDisplayAttributes()
119 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi); in getDisplayAttributes()
120 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi); in getDisplayAttributes()
125 int dpy = inParcel->readInt32(); in setHSIC() local
126 ALOGD_IF(0, "In %s: dpy = %d", __FUNCTION__, dpy); in setHSIC()
140 static status_t getDisplayVisibleRegion(hwc_context_t* ctx, int dpy, in getDisplayVisibleRegion() argument
143 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion()
145 if(dpy && (ctx->mExtOrientation || ctx->mBufferMirrorMode)) { in getDisplayVisibleRegion()
148 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.left); in getDisplayVisibleRegion()
149 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.top); in getDisplayVisibleRegion()
150 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.right); in getDisplayVisibleRegion()
151 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.bottom); in getDisplayVisibleRegion()
153 outParcel->writeInt32(ctx->mViewFrame[dpy].left); in getDisplayVisibleRegion()
154 outParcel->writeInt32(ctx->mViewFrame[dpy].top); in getDisplayVisibleRegion()
155 outParcel->writeInt32(ctx->mViewFrame[dpy].right); in getDisplayVisibleRegion()
156 outParcel->writeInt32(ctx->mViewFrame[dpy].bottom); in getDisplayVisibleRegion()
160 ALOGE("In %s: invalid dpy index %d", __FUNCTION__, dpy); in getDisplayVisibleRegion()
169 int dpy = HWC_DISPLAY_VIRTUAL; in pauseWFD() local
172 handle_pause(ctx, dpy); in pauseWFD()
175 handle_resume(ctx, dpy); in pauseWFD()
184 int dpy = HWC_DISPLAY_VIRTUAL; in setWfdStatus() local
191 handle_pause(ctx, dpy); in setWfdStatus()
193 handle_resume(ctx, dpy); in setWfdStatus()
199 int dpy = inParcel->readInt32(); in setViewFrame() local
200 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame()
202 ctx->mViewFrame[dpy].left = inParcel->readInt32(); in setViewFrame()
203 ctx->mViewFrame[dpy].top = inParcel->readInt32(); in setViewFrame()
204 ctx->mViewFrame[dpy].right = inParcel->readInt32(); in setViewFrame()
205 ctx->mViewFrame[dpy].bottom = inParcel->readInt32(); in setViewFrame()
207 __FUNCTION__, dpy, in setViewFrame()
208 ctx->mViewFrame[dpy].left, ctx->mViewFrame[dpy].top, in setViewFrame()
209 ctx->mViewFrame[dpy].right, ctx->mViewFrame[dpy].bottom); in setViewFrame()
212 ALOGE("In %s: invalid dpy index %d", __FUNCTION__, dpy); in setViewFrame()