/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | splay.js | 57 left: GeneratePayloadTree(depth - 1, tag), 173 node.left = this.root_; 178 node.left = this.root_.left; 179 this.root_.left = null; 202 if (!this.root_.left) { 206 this.root_ = this.root_.left; 263 } else if (this.root_.left) { 264 return this.findMax(this.root_.left); 302 var dummy, left, right; 303 dummy = left = right = new SplayTree.Node(null, null); [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 52 assertEquals(19, mOutRect.left); in testApply() 57 assertEquals(24, mOutRect.left); in testApply() 62 assertEquals(19, mOutRect.left); in testApply() 67 assertEquals(19, mOutRect.left); in testApply() 73 assertEquals(19, mOutRect.left); in testApply() 78 assertEquals(24, mOutRect.left); in testApply() 83 assertEquals(19, mOutRect.left); in testApply() 88 assertEquals(19, mOutRect.left); in testApply() 94 assertEquals(10, mOutRect.left); in testApply() 99 assertEquals(15, mOutRect.left); in testApply() [all …]
|
D | View_LayoutPositionTest.java | 66 int left = vLocation[0] - pLocation[0]; in testPositionInParent() local 68 int right = left + vRect.width(); in testPositionInParent() 71 assertEquals(left, view.getLeft()); in testPositionInParent() 98 assertEquals(left + h_offset , nleft); in testPositionInParent()
|
D | SurfaceViewTest.java | 66 final int left = 40; in testSurfaceView() local 91 region.set(left, top, right, bottom); in testSurfaceView() 108 final int left = 40; in testOnSizeChanged() local 118 mMockSurfaceView.layout(left, top, right, bottom); in testOnSizeChanged() 122 assertEquals(right - left, mMockSurfaceView.getWidth()); in testOnSizeChanged()
|
D | ActionModeCallback2Test.java | 42 assertEquals(0, outRect.left); in testCallbackOnGetContentRectDefaultWithView() 53 assertEquals(0, outRect.left); in testCallbackOnGetContentRectDefaultWithoutView()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RectFTest.java | 60 assertEquals(10.0f, mRectF.left); in testSort() 66 assertEquals(5.0f, mRectF.left); in testSort() 77 assertEquals(1.0f, mRectF.left); in testSet1() 89 assertEquals(1.0f, mRectF.left); in testSet2() 101 assertEquals(1.0f, mRectF.left); in testSet3() 112 assertEquals(0.0f, mRectF.left); in testIntersects1() 119 assertEquals(0.0f, mRectF.left); in testIntersects1() 145 assertEquals(5.0f, mRectF.left); in testIntersect1() 152 assertEquals(0.0f, mRectF.left); in testIntersect1() 166 assertEquals(5.0f, mRectF.left); in testIntersect2() [all …]
|
D | RegionIteratorTest.java | 42 assertEquals(1, rect.left); in testNext() 48 assertEquals(1, rect.left); in testNext() 59 assertEquals(1, rect.left); in testNext() 64 assertEquals(1, rect.left); in testNext() 69 assertEquals(5, rect.left); in testNext() 75 assertEquals(1, rect.left); in testNext() 86 assertEquals(1, rect.left); in testNext() 91 assertEquals(1, rect.left); in testNext() 97 assertEquals(1, rect.left); in testNext() 108 assertEquals(5, rect.left); in testNext() [all …]
|
D | RectTest.java | 53 assertEquals(1, mRect.left); in testSet1() 65 assertEquals(1, mRect.left); in testSet2() 75 assertEquals(0, mRect.left); in testIntersects1() 82 assertEquals(0, mRect.left); in testIntersects1() 113 assertEquals(1, mRect.left); in testOffsetTo() 128 assertEquals(5, mRect.left); in testSetIntersect() 136 assertEquals(5, mRect.left); in testSetIntersect() 151 assertEquals(0, mRect.left); in testUnion1() 161 assertEquals(1, mRect.left); in testUnion1() 171 assertEquals(0, mRect.left); in testUnion1() [all …]
|
D | EmbossMaskFilterTest.java | 61 Rect left = new Rect(0, 0, CENTER_X, BITMAP_HEIGHT); in testEmbossMaskFilter() local 65 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); in testEmbossMaskFilter() 72 left.right = START_X; in testEmbossMaskFilter() 73 assertEquals(0, brightness(bitmap, left)); in testEmbossMaskFilter() 74 right.left = END_X; in testEmbossMaskFilter() 85 for (int x = rect.left; x < rect.right; x++) { in brightness()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/ |
D | bootstrap-responsive.css | 106 text-align: left; 109 margin-left: 0; 116 padding-left: 10px; 122 left: 10px; 141 padding-left: 20px; 146 margin-left: -20px; 155 text-align: left; 158 margin-left: 0; 168 margin-left: 0; 175 margin-left: 0; [all …]
|
D | bootstrap.css | 185 margin-left: -20px; 197 float: left; 198 margin-left: 20px; 242 margin-left: 980px; 245 margin-left: 900px; 248 margin-left: 820px; 251 margin-left: 740px; 254 margin-left: 660px; 257 margin-left: 580px; 260 margin-left: 500px; [all …]
|
D | docs.css | 25 padding-left: 0; 26 margin-left: 20px; 50 background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 51 background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 52 background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 53 background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0)); 100 margin-left: 5%; 125 …background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-st… 143 border-left: 1px solid #f5f5f5; 151 padding-left: 13px; [all …]
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 55 long left = widthA * (long) heightA; in compareSizes() local 57 if (left == right) { in compareSizes() 58 left = widthA; 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 | 265 int left = 10; in testSetLayerInset() local 269 layerDrawable.setLayerInset(0, left, top, right, bottom); in testSetLayerInset() 270 assertEquals(layerDrawable.getDrawable(0).getIntrinsicWidth() + left + right, in testSetLayerInset() 276 left += 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() 448 assertEquals(0, rc.left); in testGetPadding() 456 assertEquals(padding0.left, rc.left); in testGetPadding() 464 assertEquals(padding0.left + padding1.left, rc.left); in testGetPadding() [all …]
|
D | ShapeDrawableTest.java | 138 assertEquals(0, padding.left); in testAccessPadding() 145 assertEquals(10, padding.left); in testAccessPadding() 152 assertEquals(0, padding.left); in testAccessPadding() 159 assertEquals(5, padding.left); in testAccessPadding() 166 assertEquals(0, padding.left); in testAccessPadding() 230 assertEquals(1, padding.left); in testInflate()
|
D | InsetDrawableTest.java | 149 assertEquals(0, r.left); in testGetPadding() 156 assertEquals(1, r.left); in testGetPadding() 165 assertEquals(0, r.left); in testGetPadding() 172 assertEquals(0, r.left); in testGetPadding() 260 assertEquals(0, bounds.left); in testOnBoundsChange() 268 assertEquals(5, bounds.left); in testOnBoundsChange()
|
/cts/tools/tradefed-host/res/report/ |
D | cts_result.css | 29 margin-left:auto; 38 margin-left:auto; 60 margin-left:auto; 81 margin-left:auto; 101 text-align: left; 121 text-align: left; 126 margin-left:auto; 140 text-align: left; 150 text-align: left; 161 text-align: left; [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() 64 String leftString = Arrays.toString(left); in assertArrayNotGreater() 67 for (int i = 0; i < left.length; ++i) { 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/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/apps/CtsVerifier/src/android/support/wearable/view/ |
D | BoxInsetLayout.java | 154 maxWidth += getPaddingLeft() + mForegroundPadding.left in onMeasure() 183 int plwf = getPaddingLeft() + mForegroundPadding.left; 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() 248 final int parentLeft = getPaddingLeft() + mForegroundPadding.left; in layoutBoxChildren() 249 final int parentRight = right - left - getPaddingRight() - mForegroundPadding.right; in layoutBoxChildren() 301 childLeft = right - left - width; in layoutBoxChildren()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsSpinnerTest.java | 193 absSpinner.layout(rc.left, rc.top, rc.right, rc.bottom); in testPointToPosition() 194 absSpinner.getChildAt(0).layout(rcChild0.left, rcChild0.top, in testPointToPosition() 196 absSpinner.getChildAt(1).layout(rcChild1.left, rcChild1.top, in testPointToPosition() 198 absSpinner.getChildAt(2).layout(rcChild2.left, rcChild2.top, in testPointToPosition() 202 assertEquals(0, absSpinner.pointToPosition(rcChild0.left + 1, rc.bottom - 1)); in testPointToPosition() 203 assertEquals(1, absSpinner.pointToPosition(rcChild1.left + 1, rc.bottom - 1)); in testPointToPosition() 204 assertEquals(2, absSpinner.pointToPosition(rcChild2.left + 1, rc.bottom - 1)); in testPointToPosition()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | LineGestureStrokeHelper.java | 67 Assert.assertEquals(LINE_START_POINT, bounds.left); in assertLineBoundingBox() 81 Assert.assertEquals(LINE_START_POINT, bounds.left); in assertLineBoundingBox()
|
/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()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | LinkMovementMethodTest.java | 363 assertTrue(method.left(mView, mSpannable)); in testLeft() 366 assertTrue(method.left(mView, mSpannable)); in testLeft() 369 assertFalse(method.left(mView, mSpannable)); in testLeft() 374 method.left(null, mSpannable); in testLeft() 381 method.left(mView, null); in testLeft() 431 assertFalse(method.left(mView, mSpannable)); in testMoveAroundUnclickable() 514 protected boolean left(TextView widget, Spannable buffer) { in left() method in LinkMovementMethodTest.MyLinkMovementMethod 515 return super.left(widget, buffer); in left()
|