Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/lib/
DWindowSurface.cpp39 DisplayInfo mainDpyInfo; in WindowSurface() local
40 err = SurfaceComposerClient::getDisplayInfo(mainDpy, &mainDpyInfo); in WindowSurface()
47 if (mainDpyInfo.orientation != DISPLAY_ORIENTATION_0 && in WindowSurface()
48 mainDpyInfo.orientation != DISPLAY_ORIENTATION_180) { in WindowSurface()
50 width = mainDpyInfo.h; in WindowSurface()
51 height = mainDpyInfo.w; in WindowSurface()
53 width = mainDpyInfo.w; in WindowSurface()
54 height = mainDpyInfo.h; in WindowSurface()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp215 const DisplayInfo& mainDpyInfo) { in setDisplayProjection() argument
221 bool deviceRotated = isDeviceRotated(mainDpyInfo.orientation); in setDisplayProjection()
224 sourceWidth = mainDpyInfo.w; in setDisplayProjection()
225 sourceHeight = mainDpyInfo.h; in setDisplayProjection()
228 sourceHeight = mainDpyInfo.w; in setDisplayProjection()
229 sourceWidth = mainDpyInfo.h; in setDisplayProjection()
291 static status_t prepareVirtualDisplay(const DisplayInfo& mainDpyInfo, in prepareVirtualDisplay() argument
299 setDisplayProjection(dpy, mainDpyInfo); in prepareVirtualDisplay()
326 DisplayInfo mainDpyInfo; in runEncoder() local
376 &mainDpyInfo); in runEncoder()
[all …]