Searched refs:originalSize (Results 1 – 5 of 5) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 499 @NonNull UsbEndpoint in, @NonNull UsbEndpoint out, int size, int originalSize, in echoUsbRequestLegacy() argument 518 bufferSent = ByteBuffer.allocateDirect(originalSize); in echoUsbRequestLegacy() 520 bufferSent = ByteBuffer.allocate(originalSize); in echoUsbRequestLegacy() 522 for (int i = 0; i < originalSize; i++) { in echoUsbRequestLegacy() 532 bufferSent.limit(originalSize); in echoUsbRequestLegacy() 536 bufferReceived = ByteBuffer.allocateDirect(originalSize); in echoUsbRequestLegacy() 538 bufferReceived = ByteBuffer.allocate(originalSize); in echoUsbRequestLegacy() 547 bufferReceived.limit(originalSize); in echoUsbRequestLegacy() 635 @NonNull UsbEndpoint out, int originalSize, int sliceStart, int sliceEnd, in echoUsbRequest() argument 654 bufferSent = ByteBuffer.allocateDirect(originalSize); in echoUsbRequest() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayTestBase.java | 298 final Size originalSize = mInitialDisplayMetrics.physicalSize; in changeAspectRatio() local 299 final int smaller = Math.min(originalSize.getWidth(), originalSize.getHeight()); in changeAspectRatio() 314 final Size originalSize; in changeDisplayMetrics() local 317 originalSize = mInitialDisplayMetrics.overrideSize; in changeDisplayMetrics() 319 originalSize = mInitialDisplayMetrics.physicalSize; in changeDisplayMetrics() 328 final Size overrideSize = new Size((int)(originalSize.getWidth() * sizeRatio), in changeDisplayMetrics() 329 (int)(originalSize.getHeight() * sizeRatio)); in changeDisplayMetrics()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 413 int originalSize = start.getByteCount(); in testDecodeReuseBasic() local 414 assertEquals(originalSize, start.getAllocationByteCount()); in testDecodeReuseBasic() 421 assertEquals(originalSize, pass.getByteCount()); in testDecodeReuseBasic() 422 assertEquals(originalSize, pass.getAllocationByteCount()); in testDecodeReuseBasic() 555 int originalSize = original.getByteCount(); in testDecodeReuseScaling() local 556 assertEquals(originalSize, original.getAllocationByteCount()); in testDecodeReuseScaling() 563 assertEquals(originalSize, reduced.getAllocationByteCount()); in testDecodeReuseScaling() 564 assertEquals(originalSize, reduced.getByteCount() * 16); in testDecodeReuseScaling() 574 int originalSize = original.getByteCount(); in testDecodeReuseDoubleScaling() local 586 assertEquals(originalSize, doubleScaled.getByteCount()); in testDecodeReuseDoubleScaling()
|
D | ImageDecoderTest.java | 1435 Size originalSize = info.getSize(); in testScaleAndCrop() local 1436 int scaledWidth = originalSize.getWidth() * 2 / 3; in testScaleAndCrop() 1437 int scaledHeight = originalSize.getHeight() * 2 / 3; in testScaleAndCrop()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 2471 Size originalSize = parameters.getPreviewSize(); in testInvalidParametersByCamera() local 2480 assertEquals(originalSize, parameters.getPreviewSize()); in testInvalidParametersByCamera()
|