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/
DVp8CodecTestBase.java386 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) { in imageUpscale1To2() argument
388 int dstOffset0 = 2 * i * dstWidth + dstByteOffset; in imageUpscale1To2()
389 int dstOffset1 = dstOffset0 + dstWidth; in imageUpscale1To2()
394 for (int j = 0; j < dstWidth/2 - 1; j++) { in imageUpscale1To2()
412 int dstOffset0 = (dstHeight - 2) * dstWidth + dstByteOffset; in imageUpscale1To2()
413 int dstOffset1 = dstOffset0 + dstWidth; in imageUpscale1To2()
416 for (int j = 0; j < dstWidth/2 - 1; j++) { in imageUpscale1To2()
439 int dstWidth, int dstHeight) throws Exception { in imageScale() argument
441 int dstYSize = dstWidth * dstHeight; in imageScale()
443 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()