Searched refs:dimension (Results 1 – 6 of 6) sorted by relevance
6 // width-by-height is the dimension of a padded image with a margin.9 // The dimension of the original unpadded image is
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()
1377 int dimension = Math.max(metrics.widthPixels, metrics.heightPixels); in testFindAll() local1379 String p = "<p style=\"height:" + dimension + "px;\">" + in testFindAll()1399 int dimension = Math.max(metrics.widthPixels, metrics.heightPixels); in testFindNext() local1401 String p = "<p style=\"height:" + dimension + "px;\">" + in testFindNext()1526 int dimension = 2 * Math.max(metrics.widthPixels, metrics.heightPixels); in testPageScroll() local1527 String p = "<p style=\"height:" + dimension + "px;\">" + in testPageScroll()1681 final int dimension = 10 * Math.max(metrics.widthPixels, metrics.heightPixels); in testFlingScroll() local1682 String p = "<p style=\"height:" + dimension + "px;" + in testFlingScroll()1683 "width:" + dimension + "px\">Test fling scroll.</p>"; in testFlingScroll()1689 return mOnUiThread.getContentHeight() >= dimension; in testFlingScroll()[all …]
586 @Nullable FieldMatcher.Builder dimension) throws Exception { in addGaugeAtomWithDimensions() argument592 if (dimension != null) { in addGaugeAtomWithDimensions()593 gaugeMetric.setDimensionsInWhat(dimension.build()); in addGaugeAtomWithDimensions()
378 FieldMatcher.Builder dimension = FieldMatcher.newBuilder() in testCpuActiveTime() local382 addGaugeAtomWithDimensions(config, Atom.CPU_ACTIVE_TIME_FIELD_NUMBER, dimension); in testCpuActiveTime()