Home
last modified time | relevance | path

Searched refs:getWidth (Results 1 – 5 of 5) sorted by relevance

/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DBlankScreenDetectorWithSameColorRectangleTest.java61 assertThat(subRectangle.getWidth() * subRectangle.getHeight()).isEqualTo(9); in maxSubRectangle_withWideThinRectangle_returnsBiggestSubRectangle()
74 assertThat(subRectangle.getWidth() * subRectangle.getHeight()).isEqualTo(6); in maxSubRectangle_withOffsetIndex_returnsBiggestSubRectangle()
88 assertThat(maxRectangle.getWidth() * rectangle.getHeight()).isEqualTo(100 * 50); in maxSameColorRectangle_withFullSameColorRectangle_returnsSameSize()
106 assertThat(rectangle.getWidth() * rectangle.getHeight()) in maxSameColorRectangle_withBottomScreenBand_returnsLargestRectangle()
125 assertThat(rectangle.getWidth() * rectangle.getHeight()) in maxSameColorRectangle_withTopScreenBand_returnsLargestRectangle()
143 assertThat(rectangle.getWidth() * rectangle.getHeight()) in maxSameColorRectangle_withLowerLeftRectangle_returnsLargestRectangle()
164 assertThat(rectangle.getWidth() * rectangle.getHeight()).isEqualTo(50 * 40); in maxSameColorRectangle_withFourRectangles_returnsLargestRectangle()
/test/mlts/benchmark/src/com/android/nn/benchmark/imageprocessors/
DInception.java28 int croppedSize = (int)(0.875f * Math.min(origBitmap.getWidth(), origBitmap.getHeight())); in preprocess()
29 int x = origBitmap.getWidth() / 2 - croppedSize / 2; in preprocess()
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DBlankScreenDetectorWithSameColorRectangle.java134 int[][] pixels = new int[image.getHeight()][image.getWidth()]; in getPixels()
215 / ((double) mScreenImage.getHeight() * mScreenImage.getWidth()); in getBlankScreenPercent()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DMediaPreparerTest.java145 if (resolution.getWidth() > MediaPreparer.RESOLUTIONS[1].getWidth()) { in testCopyMediaFiles()
266 if (resolution.getWidth() > MediaPreparer.RESOLUTIONS[1].getWidth()) { in testMediaDownloadOnly_existsOnDevice()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DMediaPreparer.java224 public int getWidth() { in getWidth() method in MediaPreparer.Resolution