Searched refs:dimension (Results 1 – 7 of 7) sorted by relevance
137 private static int computeWindowSize(int start, int dimension) { in computeWindowSize() argument138 if (start + WINDOW_SIZE <= dimension) { in computeWindowSize()141 return dimension - start; in computeWindowSize()
6 // width-by-height is the dimension of a padded image with a margin.9 // The dimension of the original unpadded image is
80 final int dimension = 100; in testPocCVE_2023_21139() local81 Bitmap testBitmap = Bitmap.createBitmap(dimension, dimension, Bitmap.Config.ARGB_8888); in testPocCVE_2023_21139()
47 private int computeWindowSize(int coordinateStart, int dimension) { in computeWindowSize() argument48 if (coordinateStart + WINDOW_SIZE <= dimension) { in computeWindowSize()51 return dimension - coordinateStart; in computeWindowSize()
109 SetupAllocationCopyTests(int dimension, in SetupAllocationCopyTests() argument115 assertTrue(dimension == 1 || dimension == 2); in SetupAllocationCopyTests()123 if (dimension == 1) { in SetupAllocationCopyTests()131 if (dimension == 1) in SetupAllocationCopyTests()158 if (dimension == 1) { in SetupAllocationCopyTests()
174 // Handle RenderScript's distinction between Y or Z dimension being absent
1364 int dimension = Math.max(metrics.widthPixels, metrics.heightPixels); in testFindAll() local1368 + dimension in testFindAll()1387 int dimension = Math.max(metrics.widthPixels, metrics.heightPixels); in testFindNext() local1391 + dimension in testFindNext()1520 int dimension = 2 * Math.max(metrics.widthPixels, metrics.heightPixels); in testPageScroll() local1523 + dimension in testPageScroll()1678 final int dimension = 10 * Math.max(metrics.widthPixels, metrics.heightPixels); in testFlingScroll() local1681 + dimension in testFlingScroll()1684 + dimension in testFlingScroll()1691 return mOnUiThread.getContentHeight() >= dimension; in testFlingScroll()[all …]