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()
211 DisplayInfo mainDpyInfo; in initialize() local212 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()