Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java230 float dstWidth = drawRect.right - drawRect.left + 1; in drawContents() local
232 float centerX = drawRect.left + dstWidth / 2; in drawContents()
238 float focalLength = focalLengthPixels(mFovDegrees, dstWidth); in drawContents()
240 float projectedMarkerLeft = dstWidth / 2 - dx; in drawContents()
241 float projectedMarkerRight = dstWidth / 2 + dx; in drawContents()
/cts/tests/tests/media/src/android/media/cts/
DVideoCodecTestBase.java413 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) { in imageUpscale1To2() argument
415 int dstOffset0 = 2 * i * dstWidth + dstByteOffset; in imageUpscale1To2()
416 int dstOffset1 = dstOffset0 + dstWidth; in imageUpscale1To2()
421 for (int j = 0; j < dstWidth/2 - 1; j++) { in imageUpscale1To2()
439 int dstOffset0 = (dstHeight - 2) * dstWidth + dstByteOffset; in imageUpscale1To2()
440 int dstOffset1 = dstOffset0 + dstWidth; in imageUpscale1To2()
443 for (int j = 0; j < dstWidth/2 - 1; j++) { in imageUpscale1To2()
466 int dstWidth, int dstHeight) throws Exception { in imageScale() argument
468 int dstYSize = dstWidth * dstHeight; in imageScale()
470 if (dstWidth == 2 * srcWidth && dstHeight <= 2 * srcHeight) { in imageScale()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java309 int dstWidth = c.getWidth(); in draw() local
313 new Rect(10, 10, dstWidth - 10, dstHeight - 10), null); in draw()