Searched refs:getWidth (Results 1 – 5 of 5) sorted by relevance
61 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()
28 int croppedSize = (int)(0.875f * Math.min(origBitmap.getWidth(), origBitmap.getHeight())); in preprocess()29 int x = origBitmap.getWidth() / 2 - croppedSize / 2; in preprocess()
134 int[][] pixels = new int[image.getHeight()][image.getWidth()]; in getPixels()215 / ((double) mScreenImage.getHeight() * mScreenImage.getWidth()); in getBlankScreenPercent()
145 if (resolution.getWidth() > MediaPreparer.RESOLUTIONS[1].getWidth()) { in testCopyMediaFiles()266 if (resolution.getWidth() > MediaPreparer.RESOLUTIONS[1].getWidth()) { in testMediaDownloadOnly_existsOnDevice()
224 public int getWidth() { in getWidth() method in MediaPreparer.Resolution