Home
last modified time | relevance | path

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

/packages/services/Car/evs/app/
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()
/packages/services/Car/evs/sampleDriver/
DGlWrapper.cpp211 DisplayInfo mainDpyInfo; in initialize() local
212 err = SurfaceComposerClient::getDisplayInfo(mainDpy, &mainDpyInfo); in initialize()
218 if (mainDpyInfo.orientation != DISPLAY_ORIENTATION_0 && in initialize()
219 mainDpyInfo.orientation != DISPLAY_ORIENTATION_180) { in initialize()
221 mWidth = mainDpyInfo.h; in initialize()
222 mHeight = mainDpyInfo.w; in initialize()
224 mWidth = mainDpyInfo.w; in initialize()
225 mHeight = mainDpyInfo.h; in initialize()