Home
last modified time | relevance | path

Searched refs:viewportW (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/ui/include_vndk/ui/
DDisplayInfo.h38 uint32_t viewportW{0};
/frameworks/native/libs/ui/include/ui/
DDisplayInfo.h38 uint32_t viewportW{0};
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp273 Rect layerStackRect(mainDpyInfo.viewportW, mainDpyInfo.viewportH); in setDisplayProjection()
276 float displayAspect = (float) mainDpyInfo.viewportH / (float) mainDpyInfo.viewportW; in setDisplayProjection()
609 mainDpyInfo.viewportW, mainDpyInfo.viewportH, mainDpyInfo.fps, in recordScreen()
616 gVideoWidth = floorToEven(mainDpyInfo.viewportW); in recordScreen()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java1797 final float viewportW = viewportBounds.width(); in calculateCompatBoundsTransformation() local
1800 mSizeCompatScale = (contentW <= viewportW && contentH <= viewportH) in calculateCompatBoundsTransformation()
1801 ? 1 : Math.min(viewportW / contentW, viewportH / contentH); in calculateCompatBoundsTransformation()
1802 final int offsetX = (int) ((viewportW - contentW * mSizeCompatScale + 1) * 0.5f) in calculateCompatBoundsTransformation()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp623 Rect(mainDisplayInfo.viewportW, mainDisplayInfo.viewportH), in getScreenCapture()
5840 createDisplay({mMainDisplayInfo.viewportW, mMainDisplayInfo.viewportH}, 1 /* layerStack */); in TEST_F()
5863 createDisplay({mMainDisplayInfo.viewportW, mMainDisplayInfo.viewportH}, 0 /* layerStack */); in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp836 info.viewportW = info.w; in getDisplayConfigs()
862 info.viewportW = uint32_t(viewport.getWidth()); in getDisplayConfigs()