Home
last modified time | relevance | path

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

/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java405 int size1 = 0; in assertFileContent() local
413 size1 = Os.read(pfd1.getFileDescriptor(), bytes1, 0, len); in assertFileContent()
416 assertTrue(size1 >= 0); in assertFileContent()
419 isSame = (size1 == size2) && Arrays.equals(bytes1, bytes2); in assertFileContent()
423 } while (size1 > 0 && size2 > 0); in assertFileContent()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java882 Size size1 = new Size(mTextureView[1].getWidth(), mTextureView[1].getHeight()); in testTextureImageWriterReaderOperation() local
884 Log.v(TAG, "Size0: " + size0 + ", Size1: " + size1 + ", size2: " + size2); in testTextureImageWriterReaderOperation()
888 if (!size0.equals(size1)) { in testTextureImageWriterReaderOperation()
890 ", Size1: " + size1 + ", size2: " + size2, in testTextureImageWriterReaderOperation()
891 size0.equals(size2) || size1.equals(size2)); in testTextureImageWriterReaderOperation()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2055 int size1 = (int) (75 * density + 0.5); in testMeasure() local
2059 assertEquals(size1, view.getMeasuredWidth()); in testMeasure()
2066 assertEquals(size1, view.getMeasuredWidth()); in testMeasure()
2070 final LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(size2, size1); in testMeasure()
2075 assertEquals(size1, view.getMeasuredHeight()); in testMeasure()
2820 int size1 = (int) (75 * density + 0.5); in testGetLocalVisibleRect() local
2826 assertEquals(size1, rect.right); in testGetLocalVisibleRect()