/cts/tools/dasm/src/dasm/ |
D | parser.java | 813 int top) in do_action() argument 817 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action() 897 int CUP$top) in CUP$do_action() argument 918 …*i*/(int_token)CUP$stack.elementAt(CUP$top-3)).int_val, (/*off*/(relative_number_token)CUP$stack.e… in CUP$do_action() 926 …Data((/*i*/(int_token)CUP$stack.elementAt(CUP$top-3)).int_val, (/*w*/(str_token)CUP$stack.elementA… in CUP$do_action() 950 dAsm.newSparseSwitch((/*r*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action() 974 …sm.addPackedSwitchData((/*target*/(relative_number_token)CUP$stack.elementAt(CUP$top-1)).int_val); in CUP$do_action() 982 … dAsm.addPackedSwitchData((/*target*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action() 1006 …itch((/*r*/(str_token)CUP$stack.elementAt(CUP$top-2)).str_val, (/*k*/(int_token)CUP$stack.elementA… in CUP$do_action() 1030 … dAsm.addFillArrayData(new Integer((/*data*/(int_token)CUP$stack.elementAt(CUP$top-1)).int_val)); in CUP$do_action() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 54 assertEquals(20, mOutRect.top); in testApply() 59 assertEquals(25, mOutRect.top); in testApply() 64 assertEquals(20, mOutRect.top); in testApply() 69 assertEquals(20, mOutRect.top); in testApply() 75 assertEquals(37, mOutRect.top); in testApply() 80 assertEquals(32, mOutRect.top); in testApply() 85 assertEquals(37, mOutRect.top); in testApply() 90 assertEquals(37, mOutRect.top); in testApply() 96 assertEquals(25, mOutRect.top); in testApply() 101 assertEquals(30, mOutRect.top); in testApply() [all …]
|
D | SurfaceViewTest.java | 67 final int top = 30; in testSurfaceView() local 91 region.set(left, top, right, bottom); in testSurfaceView() 109 final int top = 30; in testOnSizeChanged() local 118 mMockSurfaceView.layout(left, top, right, bottom); in testOnSizeChanged() 123 assertEquals(bottom - top, mMockSurfaceView.getHeight()); in testOnSizeChanged()
|
D | View_LayoutPositionTest.java | 67 int top = vLocation[1] - pLocation[1]; in testPositionInParent() local 69 int bottom = top + vRect.height(); in testPositionInParent() 72 assertEquals(top, view.getTop()); in testPositionInParent() 99 assertEquals(top + v_offset, ntop); in testPositionInParent()
|
D | ActionModeCallback2Test.java | 41 assertEquals(0, outRect.top); in testCallbackOnGetContentRectDefaultWithView() 52 assertEquals(0, outRect.top); in testCallbackOnGetContentRectDefaultWithoutView()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RectFTest.java | 61 assertEquals(10.0f, mRectF.top); in testSort() 67 assertEquals(5.0f, mRectF.top); in testSort() 78 assertEquals(2.0f, mRectF.top); in testSet1() 90 assertEquals(2.0f, mRectF.top); in testSet2() 102 assertEquals(2.0f, mRectF.top); in testSet3() 113 assertEquals(0.0f, mRectF.top); in testIntersects1() 120 assertEquals(0.0f, mRectF.top); in testIntersects1() 146 assertEquals(5.0f, mRectF.top); in testIntersect1() 153 assertEquals(0.0f, mRectF.top); in testIntersect1() 167 assertEquals(5.0f, mRectF.top); in testIntersect2() [all …]
|
D | RegionIteratorTest.java | 43 assertEquals(1, rect.top); in testNext() 49 assertEquals(1, rect.top); in testNext() 60 assertEquals(1, rect.top); in testNext() 65 assertEquals(5, rect.top); in testNext() 70 assertEquals(10, rect.top); in testNext() 76 assertEquals(1, rect.top); in testNext() 87 assertEquals(1, rect.top); in testNext() 92 assertEquals(5, rect.top); in testNext() 98 assertEquals(1, rect.top); in testNext() 109 assertEquals(5, rect.top); in testNext() [all …]
|
D | RectTest.java | 54 assertEquals(2, mRect.top); in testSet1() 66 assertEquals(2, mRect.top); in testSet2() 76 assertEquals(0, mRect.top); in testIntersects1() 83 assertEquals(0, mRect.top); in testIntersects1() 114 assertEquals(1, mRect.top); in testOffsetTo() 129 assertEquals(5, mRect.top); in testSetIntersect() 137 assertEquals(5, mRect.top); in testSetIntersect() 150 assertEquals(0, mRect.top); in testUnion1() 160 assertEquals(1, mRect.top); in testUnion1() 170 assertEquals(0, mRect.top); in testUnion1() [all …]
|
D | EmbossMaskFilterTest.java | 59 Rect top = new Rect(0, 0, BITMAP_WIDTH, CENTER_Y); in testEmbossMaskFilter() local 64 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); in testEmbossMaskFilter() 68 top.bottom = CENTER_Y - STROKE_WIDTH / 2; in testEmbossMaskFilter() 69 assertEquals(0, brightness(bitmap, top)); in testEmbossMaskFilter() 70 bottom.top = CENTER_Y + STROKE_WIDTH / 2; in testEmbossMaskFilter() 84 for (int y = rect.top; y < rect.bottom; y++) { in brightness()
|
D | Paint_FontMetricsIntTest.java | 32 int top = 1; in testToString() local 39 fontMetricsInt.top = top; in testToString()
|
D | PaintFlagsDrawFilterTest.java | 98 rect.top = Math.min(rect.top, y); in assertUnderline() 104 assertTrue(rect.top <= rect.bottom); in assertUnderline() 108 assertTrue(rect.top >= TEXT_Y); in assertUnderline()
|
/cts/apps/CameraITS/tests/scene5/ |
D | test_lens_shading_and_color_uniformity.py | 91 top = int((0.5-spb_r)*h) 95 center_y = numpy.mean(img_y[top:bottom, left:right]) 96 center_r_g = numpy.mean(r_g[top:bottom, left:right]) 97 center_b_g = numpy.mean(b_g[top:bottom, left:right]) 99 cv2.rectangle(img_legend_ls, (left, top), (right, bottom), GREEN, 105 cv2.rectangle(img_legend_ufmt, (left, top), (right, bottom), GREEN, 138 top = int((spb_cty-spb_r)*h) 148 block_y = numpy.mean(img_y[top:bottom, left:right]) 149 block_r_g = numpy.mean(r_g[top:bottom, left:right]) 150 block_b_g = numpy.mean(b_g[top:bottom, left:right]) [all …]
|
/cts/tools/dasm/src/java_cup/ |
D | parser.java | 304 int top) in do_action() argument 308 return action_obj.CUP$do_action(act_num, parser, stack, top); in do_action() 431 int CUP$top) in CUP$do_action() argument 452 …$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; in CUP$do_action() 460 …$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; in CUP$do_action() 468 …$result).str_val = (/*the_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; in CUP$do_action() 478 …if (symbols.get((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_va… in CUP$do_action() 481 …"Symbol \"" + (/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val + in CUP$do_action() 488 …new non_terminal((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_v… in CUP$do_action() 491 …non_terms.put((/*non_term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,… in CUP$do_action() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LayerDrawableTest.java | 273 int top = 20; in testSetLayerInset() local 276 layerDrawable.setLayerInset(0, left, top, right, bottom); in testSetLayerInset() 279 assertEquals(layerDrawable.getDrawable(0).getIntrinsicHeight() + top + bottom, in testSetLayerInset() 287 assertEquals(layerDrawable.getDrawable(0).getIntrinsicHeight() + top + bottom, in testSetLayerInset() 291 layerDrawable.setLayerInset(-1, left, top, right, bottom); in testSetLayerInset() 453 assertEquals(0, rc.top); in testAccessPadding() 461 assertEquals(padding0.top, rc.top); in testAccessPadding() 469 assertEquals(padding0.top + padding1.top, rc.top); in testAccessPadding() 537 layerDrawable.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testSetHotspotBounds() 550 layerDrawable.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testGetHotspotBounds() [all …]
|
D | ShapeDrawableTest.java | 139 assertEquals(0, padding.top); in testAccessPadding() 146 assertEquals(10, padding.top); in testAccessPadding() 153 assertEquals(0, padding.top); in testAccessPadding() 160 assertEquals(5, padding.top); in testAccessPadding() 167 assertEquals(0, padding.top); in testAccessPadding() 231 assertEquals(2, padding.top); in testInflate()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeClipBoundsTest.java | 60 assertTrue(midClip.top > 0 && midClip.top < newClip.top); in testChangeClipBounds() 93 assertTrue(midClip.top > 0 && midClip.top < newClip.top); in testChangeClipBounds()
|
/cts/tools/tradefed-host/res/report/ |
D | cts_result.css | 54 vertical-align: top; 84 vertical-align: top; 102 vertical-align: top; 116 vertical-align: top; 132 vertical-align: top; 141 vertical-align: top; 151 vertical-align: top; 162 vertical-align: top; 173 vertical-align: top;
|
/cts/common/host-side/tradefed/res/report/ |
D | compatibility_result.css | 54 vertical-align: top; 84 vertical-align: top; 102 vertical-align: top; 116 vertical-align: top; 132 vertical-align: top; 141 vertical-align: top; 151 vertical-align: top;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | DrawableMarginSpanTest.java | 58 assertEquals(0, drawable.getBounds().top); in testDrawLeadingMargin() 74 assertEquals(0, drawable.getBounds().top); in testDrawLeadingMargin() 107 assertEquals(0, fm.top); in testChooseHeight() 117 assertEquals(0, fm.top); in testChooseHeight()
|
D | DynamicDrawableSpanTest.java | 49 assertEquals(0, fm.top); in testGetSize() 58 assertEquals(-rect.bottom, fm.top); in testGetSize()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 154 maxHeight += getPaddingTop() + mForegroundPadding.top in onMeasure() 183 int ptwf = getPaddingTop() + mForegroundPadding.top; in onMeasure() 237 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument 238 layoutBoxChildren(left, top, right, bottom, false /* no force left gravity */); in onLayout() 241 private void layoutBoxChildren(int left, int top, int right, int bottom, in layoutBoxChildren() argument 244 int boxInset = (int)(FACTOR * Math.max(right - left, bottom - top)); in layoutBoxChildren() 249 final int parentTop = getPaddingTop() + mForegroundPadding.top; in layoutBoxChildren() 250 final int parentBottom = bottom - top - getPaddingBottom() - mForegroundPadding.bottom; in layoutBoxChildren() 344 childTop = bottom - top - height; in layoutBoxChildren()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutTest.java | 236 changedMetrics.top = paintMetrics.top - someInt; in testIsBoring_resetsFontMetrics() 247 assertEquals(expectedMetrics.top, actualMetrics.top); in testIsBoring_resetsFontMetrics() 315 final int top, in createMetrics() argument 324 metrics.top = top; in createMetrics()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | LineGestureStrokeHelper.java | 69 Assert.assertEquals(LINE_START_POINT, bounds.top); in assertLineBoundingBox() 83 Assert.assertEquals(LINE_START_POINT, bounds.top); in assertLineBoundingBox()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 159 assertEquals(start.top, result.top, .001f); in testRectEvaluator() 165 assertEquals(100, result.top, .001f); in testRectEvaluator() 171 assertEquals(end.top, result.top, .001f); in testRectEvaluator()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | RectShapeTest.java | 88 assertEquals(0.0f, rect.top); in testRect() 95 assertEquals(0.0f, rect.top); in testRect() 119 assertEquals(0, rect.top); in testGetOutline()
|