Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DGraphicBuffer_test.cpp56 const size_t targetArea = std::numeric_limits<size_t>::max() / bytesPerPixel(format); in TEST_F() local
57 const size_t widthCandidate = targetArea / std::numeric_limits<uint32_t>::max(); in TEST_F()
63 height = (targetArea / width) + 1; in TEST_F()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeUtils.kt110 targetArea: Size, in maximumSizeMaintainingAspectRatio()
113 val targetHeight = targetArea.height in maximumSizeMaintainingAspectRatio()
114 val targetWidth = targetArea.width in maximumSizeMaintainingAspectRatio()