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.java254 float dstWidth = drawRect.right - drawRect.left + 1; in drawContents() local
256 float centerX = drawRect.left + dstWidth / 2; in drawContents()
262 float focalLength = focalLengthPixels(mFovDegrees, dstWidth); in drawContents()
264 float projectedMarkerLeft = dstWidth / 2 - dx; in drawContents()
265 float projectedMarkerRight = dstWidth / 2 + dx; in drawContents()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DVideoCodecTestBase.java460 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) { in imageUpscale1To2() argument
462 int dstOffset0 = 2 * i * dstWidth + dstByteOffset; in imageUpscale1To2()
463 int dstOffset1 = dstOffset0 + dstWidth; in imageUpscale1To2()
468 for (int j = 0; j < dstWidth/2 - 1; j++) { in imageUpscale1To2()
486 int dstOffset0 = (dstHeight - 2) * dstWidth + dstByteOffset; in imageUpscale1To2()
487 int dstOffset1 = dstOffset0 + dstWidth; in imageUpscale1To2()
490 for (int j = 0; j < dstWidth/2 - 1; j++) { in imageUpscale1To2()
513 int dstWidth, int dstHeight) throws Exception { in imageScale() argument
515 int dstYSize = dstWidth * dstHeight; in imageScale()
517 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()