Home
last modified time | relevance | path

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

/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java337 Point sizeDifference = new Point(); in calculateScaledMirroredActivitySize() local
341 sizeDifference.set(widthDifference, heightDifference); in calculateScaledMirroredActivitySize()
350 int adjustedHorizontalInsets = Math.round(sizeDifference.x / aspectRatio); in calculateScaledMirroredActivitySize()
351 int adjustedVerticalInsets = Math.round(sizeDifference.y / aspectRatio); in calculateScaledMirroredActivitySize()
360 int adjustedHorizontalInsets = Math.round(sizeDifference.x * aspectRatio); in calculateScaledMirroredActivitySize()
361 int adjustedVerticalInsets = Math.round(sizeDifference.y * aspectRatio); in calculateScaledMirroredActivitySize()