/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | splay.js | 58 right: GeneratePayloadTree(depth - 1, tag) 174 node.right = this.root_.right; 175 this.root_.right = null; 177 node.right = this.root_; 203 this.root_ = this.root_.right; 205 var right = this.root_.right; 211 this.root_.right = right; 241 while (current.right) { 242 current = current.right; 302 var dummy, left, right; [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 53 assertEquals(21, mOutRect.right); in testApply() 58 assertEquals(26, mOutRect.right); in testApply() 63 assertEquals(21, mOutRect.right); in testApply() 68 assertEquals(21, mOutRect.right); in testApply() 74 assertEquals(21, mOutRect.right); in testApply() 79 assertEquals(26, mOutRect.right); in testApply() 84 assertEquals(21, mOutRect.right); in testApply() 89 assertEquals(21, mOutRect.right); in testApply() 95 assertEquals(12, mOutRect.right); in testApply() 100 assertEquals(17, mOutRect.right); in testApply() [all …]
|
D | SurfaceViewTest.java | 68 final int right = 320; in testSurfaceView() local 91 region.set(left, top, right, bottom); in testSurfaceView() 110 final int right = 320; in testOnSizeChanged() local 118 mMockSurfaceView.layout(left, top, right, bottom); in testOnSizeChanged() 122 assertEquals(right - left, mMockSurfaceView.getWidth()); in testOnSizeChanged()
|
D | View_LayoutPositionTest.java | 68 int right = left + vRect.width(); in testPositionInParent() local 73 assertEquals(right, view.getRight()); in testPositionInParent() 100 assertEquals(right + h_offset, nright); in testPositionInParent()
|
D | ActionModeCallback2Test.java | 44 assertEquals(VIEW_WIDTH, outRect.right); in testCallbackOnGetContentRectDefaultWithView() 55 assertEquals(0, outRect.right); in testCallbackOnGetContentRectDefaultWithoutView()
|
D | TouchDelegateTest.java | 73 int right = mButton.getRight(); in setUp() local 75 mXInside = (mButton.getLeft() + right) / 3; in setUp()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RectFTest.java | 62 assertEquals(5.0f, mRectF.right); in testSort() 68 assertEquals(10.0f, mRectF.right); in testSort() 79 assertEquals(3.0f, mRectF.right); in testSet1() 91 assertEquals(3.0f, mRectF.right); in testSet2() 103 assertEquals(3.0f, mRectF.right); in testSet3() 114 assertEquals(10.0f, mRectF.right); in testIntersects1() 121 assertEquals(10.0f, mRectF.right); in testIntersects1() 147 assertEquals(10.0f, mRectF.right); in testIntersect1() 154 assertEquals(10.0f, mRectF.right); in testIntersect1() 168 assertEquals(10.0f, mRectF.right); in testIntersect2() [all …]
|
D | RegionIteratorTest.java | 44 assertEquals(10, rect.right); in testNext() 50 assertEquals(1, rect.right); in testNext() 61 assertEquals(10, rect.right); in testNext() 66 assertEquals(15, rect.right); in testNext() 71 assertEquals(15, rect.right); in testNext() 77 assertEquals(1, rect.right); in testNext() 88 assertEquals(10, rect.right); in testNext() 93 assertEquals(5, rect.right); in testNext() 99 assertEquals(1, rect.right); in testNext() 110 assertEquals(10, rect.right); in testNext() [all …]
|
D | RectTest.java | 55 assertEquals(3, mRect.right); in testSet1() 67 assertEquals(3, mRect.right); in testSet2() 77 assertEquals(10, mRect.right); in testIntersects1() 84 assertEquals(10, mRect.right); in testIntersects1() 115 assertEquals(6, mRect.right); in testOffsetTo() 130 assertEquals(10, mRect.right); in testSetIntersect() 138 assertEquals(10, mRect.right); in testSetIntersect() 152 assertEquals(2, mRect.right); in testUnion1() 162 assertEquals(2, mRect.right); in testUnion1() 172 assertEquals(1, mRect.right); in testUnion1() [all …]
|
D | EmbossMaskFilterTest.java | 62 Rect right = new Rect(CENTER_X, 0, BITMAP_WIDTH, BITMAP_HEIGHT); in testEmbossMaskFilter() local 65 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); in testEmbossMaskFilter() 72 left.right = START_X; in testEmbossMaskFilter() 74 right.left = END_X; in testEmbossMaskFilter() 75 assertEquals(0, brightness(bitmap, right)); in testEmbossMaskFilter() 85 for (int x = rect.left; x < rect.right; x++) { in brightness()
|
D | BlurMaskFilterTest.java | 63 int right = bitmap.getWidth() - 1; in checkQuadrants() local 67 checkColor(color, bitmap.getPixel(right - x, y), alphaTolerance); in checkQuadrants() 69 checkColor(color, bitmap.getPixel(right - x, bottom - y), alphaTolerance); in checkQuadrants()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 56 long right = widthB * (long) heightB; in compareSizes() local 57 if (left == right) { in compareSizes() 59 right = widthB; in compareSizes() 61 return (left < right) ? -1 : (left > right ? 1 : 0); in compareSizes()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
D | GLArrowSensorTestRenderer.java | 203 public static void crossProduct(float[] left, float[] right, float[] out) { in crossProduct() argument 204 out[0] = left[1] * right[2] - left[2] * right[1]; in crossProduct() 205 out[1] = left[2] * right[0] - left[0] * right[2]; in crossProduct() 206 out[2] = left[0] * right[1] - left[1] * right[0]; in crossProduct() 216 public static float dotProduct(float[] left, float[] right) { in dotProduct() argument 217 return left[0] * right[0] + left[1] * right[1] + left[2] * right[2]; in dotProduct()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 267 int right = 30; in testSetLayerInset() local 269 layerDrawable.setLayerInset(0, left, top, right, bottom); in testSetLayerInset() 270 assertEquals(layerDrawable.getDrawable(0).getIntrinsicWidth() + left + right, in testSetLayerInset() 278 right += 10; in testSetLayerInset() 280 layerDrawable.setLayerInset(1, left, top, right, bottom); in testSetLayerInset() 281 assertEquals(layerDrawable.getDrawable(1).getIntrinsicWidth() + left + right, in testSetLayerInset() 287 layerDrawable.setLayerInset(-1, left, top, right, bottom); in testSetLayerInset() 450 assertEquals(0, rc.right); in testGetPadding() 458 assertEquals(padding0.right, rc.right); in testGetPadding() 466 assertEquals(padding0.right + padding1.right, rc.right); in testGetPadding() [all …]
|
D | ShapeDrawableTest.java | 140 assertEquals(0, padding.right); in testAccessPadding() 147 assertEquals(100, padding.right); in testAccessPadding() 154 assertEquals(0, padding.right); in testAccessPadding() 161 assertEquals(80, padding.right); in testAccessPadding() 168 assertEquals(0, padding.right); in testAccessPadding() 232 assertEquals(3, padding.right); in testInflate()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | RationalTest.java | 420 private static <T extends Comparable<? super T>> void assertLessThan(T left, T right) { in assertLessThan() argument 421 assertTrue("Expected (LR) left " + left + " to be less than right " + right, in assertLessThan() 422 left.compareTo(right) < 0); in assertLessThan() 423 assertTrue("Expected (RL) left " + left + " to be less than right " + right, in assertLessThan() 424 right.compareTo(left) > 0); in assertLessThan() 427 private static <T extends Comparable<? super T>> void assertGreaterThan(T left, T right) { in assertGreaterThan() argument 428 assertTrue("Expected (LR) left " + left + " to be greater than right " + right, in assertGreaterThan() 429 left.compareTo(right) > 0); in assertGreaterThan() 430 assertTrue("Expected (RL) left " + left + " to be greater than right " + right, in assertGreaterThan() 431 right.compareTo(left) < 0); in assertGreaterThan() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | AssertHelpers.java | 61 public static void assertArrayNotGreater(String message, float[] left, float[] right) { in assertArrayNotGreater() argument 62 assertEquals("Array lengths did not match", left.length, right.length); in assertArrayNotGreater() 65 String rightString = Arrays.toString(right); in assertArrayNotGreater() 71 message, left[i], right[i], i, leftString, rightString); in assertArrayNotGreater() 73 assertTrue(msg, left[i] <= right[i]); in assertArrayNotGreater()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsSpinnerTest.java | 191 Rect rcChild1 = new Rect(rcChild0.right, 0, 70, rc.bottom); in testPointToPosition() 192 Rect rcChild2 = new Rect(rcChild1.right, 0, rc.right, rc.bottom); in testPointToPosition() 193 absSpinner.layout(rc.left, rc.top, rc.right, rc.bottom); in testPointToPosition() 195 rcChild0.right, rcChild0.bottom); in testPointToPosition() 197 rcChild1.right, rcChild1.bottom); in testPointToPosition() 199 rcChild2.right, rcChild2.bottom); in testPointToPosition() 206 absSpinner.pointToPosition(rc.right + 1, rc.bottom - 1)); in testPointToPosition()
|
/cts/apps/CtsVerifier/src/android/support/wearable/view/ |
D | BoxInsetLayout.java | 155 + getPaddingRight() + mForegroundPadding.right; in onMeasure() 184 int prwf = getPaddingRight() + mForegroundPadding.right; in onMeasure() 239 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument 240 layoutBoxChildren(left, top, right, bottom, false /* no force left gravity */); in onLayout() 243 private void layoutBoxChildren(int left, int top, int right, int bottom, in layoutBoxChildren() argument 246 int boxInset = (int)(FACTOR * Math.max(right - left, bottom - top)); in layoutBoxChildren() 249 final int parentRight = right - left - getPaddingRight() - mForegroundPadding.right; in layoutBoxChildren() 301 childLeft = right - left - width; in layoutBoxChildren()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/ |
D | bootstrap.css | 21 text-align:right; 353 margin-right: auto; 366 padding-right: 20px; 506 text-align: right; 556 blockquote.pull-right { 557 float: right; 558 padding-right: 15px; 560 border-right: 5px solid #eb9742; 563 blockquote.pull-right p, 564 blockquote.pull-right small { [all …]
|
D | docs.css | 24 padding-right: 0; 27 float: right; 78 margin-right: 10px; 101 margin-right: 5%; 144 border-right: 1px solid #e5e5e5; 154 border-right-color: #ddd; 173 border-right: 0; 187 right: 0; 261 margin-right: 10px; 618 right: -1px; [all …]
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | LineGestureStrokeHelper.java | 68 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.right); in assertLineBoundingBox() 82 Assert.assertEquals(LINE_END_POINT, bounds.right); in assertLineBoundingBox()
|
/cts/tools/tradefed-host/res/report/ |
D | cts_result.css | 30 margin-right:auto; 39 margin-right:auto; 61 margin-right:auto; 82 margin-right:auto; 127 margin-right:auto;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | DynamicDrawableSpanTest.java | 52 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm)); in testGetSize() 60 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, null)); in testGetSize()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 89 private static void assertLessThan(long left, long right) { in assertLessThan() argument 90 if (left >= right) { in assertLessThan() 91 throw new AssertionFailedError("Expected " + left + " to be less than " + right); in assertLessThan() 95 private static void assertLessThanOrEqual(long left, long right) { in assertLessThanOrEqual() argument 96 if (left > right) { in assertLessThanOrEqual() 97 … throw new AssertionFailedError("Expected " + left + " to be less than or equal to " + right); in assertLessThanOrEqual()
|