Searched refs:mainDpyInfo (Results 1 – 2 of 2) sorted by relevance
43 DisplayInfo mainDpyInfo; in WindowSurface() local44 err = SurfaceComposerClient::getDisplayInfo(mainDpy, &mainDpyInfo); in WindowSurface()51 if (mainDpyInfo.orientation != DISPLAY_ORIENTATION_0 && in WindowSurface()52 mainDpyInfo.orientation != DISPLAY_ORIENTATION_180) { in WindowSurface()54 width = mainDpyInfo.h; in WindowSurface()55 height = mainDpyInfo.w; in WindowSurface()57 width = mainDpyInfo.w; in WindowSurface()58 height = mainDpyInfo.h; in WindowSurface()
269 const DisplayInfo& mainDpyInfo) { in setDisplayProjection() argument273 Rect layerStackRect(mainDpyInfo.viewportW, mainDpyInfo.viewportH); in setDisplayProjection()276 float displayAspect = (float) mainDpyInfo.viewportH / (float) mainDpyInfo.viewportW; in setDisplayProjection()335 static status_t prepareVirtualDisplay(const DisplayInfo& mainDpyInfo, in prepareVirtualDisplay() argument343 setDisplayProjection(t, dpy, mainDpyInfo); in prepareVirtualDisplay()370 DisplayInfo mainDpyInfo; in runEncoder() local427 &mainDpyInfo); in runEncoder()430 } else if (orientation != mainDpyInfo.orientation) { in runEncoder()431 ALOGD("orientation changed, now %d", mainDpyInfo.orientation); in runEncoder()433 setDisplayProjection(t, virtualDpy, mainDpyInfo); in runEncoder()[all …]