Home
last modified time | relevance | path

Searched refs:mainDpyInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/tests/lib/
DWindowSurface.cpp43 DisplayInfo mainDpyInfo; in WindowSurface() local
44 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()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp269 const DisplayInfo& mainDpyInfo) { in setDisplayProjection() argument
273 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() argument
343 setDisplayProjection(t, dpy, mainDpyInfo); in prepareVirtualDisplay()
370 DisplayInfo mainDpyInfo; in runEncoder() local
427 &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 …]