Lines Matching refs:dpy

122     int dpy = inParcel->readInt32();  in getDisplayAttributes()  local
123 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period); in getDisplayAttributes()
124 if (ctx->dpyAttr[dpy].customFBSize) { in getDisplayAttributes()
125 outParcel->writeInt32(ctx->dpyAttr[dpy].xres_new); in getDisplayAttributes()
126 outParcel->writeInt32(ctx->dpyAttr[dpy].yres_new); in getDisplayAttributes()
128 outParcel->writeInt32(ctx->dpyAttr[dpy].xres); in getDisplayAttributes()
129 outParcel->writeInt32(ctx->dpyAttr[dpy].yres); in getDisplayAttributes()
131 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi); in getDisplayAttributes()
132 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi); in getDisplayAttributes()
137 int dpy = inParcel->readInt32(); in setHSIC() local
138 ALOGD_IF(0, "In %s: dpy = %d", __FUNCTION__, dpy); in setHSIC()
152 static status_t getDisplayVisibleRegion(hwc_context_t* ctx, int dpy, in getDisplayVisibleRegion() argument
155 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion()
157 if(dpy && (ctx->mExtOrientation || ctx->mBufferMirrorMode)) { in getDisplayVisibleRegion()
160 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.left); in getDisplayVisibleRegion()
161 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.top); in getDisplayVisibleRegion()
162 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.right); in getDisplayVisibleRegion()
163 outParcel->writeInt32(ctx->dpyAttr[dpy].mDstRect.bottom); in getDisplayVisibleRegion()
165 outParcel->writeInt32(ctx->mViewFrame[dpy].left); in getDisplayVisibleRegion()
166 outParcel->writeInt32(ctx->mViewFrame[dpy].top); in getDisplayVisibleRegion()
167 outParcel->writeInt32(ctx->mViewFrame[dpy].right); in getDisplayVisibleRegion()
168 outParcel->writeInt32(ctx->mViewFrame[dpy].bottom); in getDisplayVisibleRegion()
172 ALOGE("In %s: invalid dpy index %d", __FUNCTION__, dpy); in getDisplayVisibleRegion()
180 uint32_t dpy = inParcel->readInt32(); in setSecondaryDisplayStatus() local
183 dpy, getExternalDisplayState(status)); in setSecondaryDisplayStatus()
185 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setSecondaryDisplayStatus()
186 if(dpy == HWC_DISPLAY_VIRTUAL && status == qdutils::EXTERNAL_OFFLINE) { in setSecondaryDisplayStatus()
191 handle_pause(ctx, dpy); in setSecondaryDisplayStatus()
193 handle_resume(ctx, dpy); in setSecondaryDisplayStatus()
196 ALOGE("%s: Invalid dpy %d", __FUNCTION__, dpy); in setSecondaryDisplayStatus()
203 int dpy = inParcel->readInt32(); in setViewFrame() local
204 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame()
206 ctx->mViewFrame[dpy].left = inParcel->readInt32(); in setViewFrame()
207 ctx->mViewFrame[dpy].top = inParcel->readInt32(); in setViewFrame()
208 ctx->mViewFrame[dpy].right = inParcel->readInt32(); in setViewFrame()
209 ctx->mViewFrame[dpy].bottom = inParcel->readInt32(); in setViewFrame()
211 __FUNCTION__, dpy, in setViewFrame()
212 ctx->mViewFrame[dpy].left, ctx->mViewFrame[dpy].top, in setViewFrame()
213 ctx->mViewFrame[dpy].right, ctx->mViewFrame[dpy].bottom); in setViewFrame()
216 ALOGE("In %s: invalid dpy index %d", __FUNCTION__, dpy); in setViewFrame()
261 uint32_t dpy = HWC_DISPLAY_PRIMARY; in configureDynRefreshRate() local
269 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
273 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate()
283 setRefreshRate(ctx, dpy, rate); in configureDynRefreshRate()