/frameworks/minikin/include/minikin/ |
D | MinikinRect.h | 25 MinikinRect() : mLeft(0), mTop(0), mRight(0), mBottom(0) {} in MinikinRect() 27 : mLeft(left), mTop(top), mRight(right), mBottom(bottom) {} in MinikinRect() 29 return mLeft == o.mLeft && mTop == o.mTop && mRight == o.mRight && mBottom == o.mBottom; 32 float mTop; member 36 bool isEmpty() const { return mLeft == mRight || mTop == mBottom; } in isEmpty() 39 mTop = r.mTop; in set() 45 mTop += dy; in offset() 49 void setEmpty() { mLeft = mTop = mRight = mBottom = 0.0; } in setEmpty() 55 mTop = std::min(mTop, r.mTop); in join() 64 return os << "(" << r.mLeft << ", " << r.mTop << ")-(" << r.mRight << ", " << r.mBottom << ")";
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
D | VerticalGravityTest.java | 36 private View mTop; field in VerticalGravityTest 52 mTop = activity.findViewById(R.id.cell_top); in setUp() 62 assertNotNull(mTop); in testSetUpConditions() 69 ViewAsserts.assertTopAligned(mReference1, mTop); in testTopGravity()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | CustomLayout.java | 28 private int mLeft, mTop, mRight, mBottom; field in CustomLayout.LayoutParams 33 mTop = top; in LayoutParams() 45 child.layout(lp.mLeft, lp.mTop, lp.mRight, lp.mBottom); in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherScrim.java | 44 private int mTop; field in KeyguardUserSwitcherScrim 59 float height = (mTop + bounds.height()) * OUTER_EXTENT; in draw() 60 canvas.translate(0, -mTop); in draw() 92 mTop = top; in onLayoutChange()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | AnimatedDrawables.h | 36 : mLeft(left), mTop(top), mRight(right), mBottom(bottom), mRx(rx), mRy(ry), mPaint(p) {} in AnimatedRoundRect() 40 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onGetBounds() 43 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onDraw() 49 sp<uirenderer::CanvasPropertyPrimitive> mTop; variable
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 69 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 87 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 105 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 123 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 153 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 171 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 190 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 210 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 243 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 261 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() [all …]
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 366 if (RP_SET(mPrimitiveFields.mTop, top)) { in setTop() 367 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop() 376 int getTop() const { return mPrimitiveFields.mTop; } in getTop() 393 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom() 411 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop || in setLeftTopRightBottom() 414 mPrimitiveFields.mTop = top; in setLeftTopRightBottom() 418 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom() 438 mPrimitiveFields.mTop += offset; in offsetTopBottom() 556 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
|
D | RenderProperties.cpp | 111 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties() 113 << mPrimitiveFields.mTop << ")" << std::endl; in debugOutputProperties()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 52 private int mTop; field in RenderNode_Delegate 200 if (delegate != null && delegate.mTop != top) { in nSetTop() 201 delegate.mTop = top; in nSetTop() 231 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate in nSetLeftTopRightBottom() 234 delegate.mTop = top; in nSetLeftTopRightBottom() 290 return (delegate.mBottom - delegate.mTop) / 2.0f; in nGetPivotY()
|
/frameworks/base/core/java/android/widget/ |
D | RelativeLayout.java | 529 top = Math.min(top, params.mTop - params.topMargin); in onMeasure() 608 params.mTop = height - mPaddingBottom - childHeight; in onMeasure() 609 params.mBottom = params.mTop + childHeight; in onMeasure() 637 params.mTop += verticalOffset; in onMeasure() 667 final int topDiff = p1.mTop - p2.mTop; in compareLayoutPosition() 690 int childHeightMeasureSpec = getChildMeasureSpec(params.mTop, in measureChild() 882 if (params.mTop == VALUE_NOT_SET && params.mBottom != VALUE_NOT_SET) { in positionChildVertical() 884 params.mTop = params.mBottom - child.getMeasuredHeight(); in positionChildVertical() 885 } else if (params.mTop != VALUE_NOT_SET && params.mBottom == VALUE_NOT_SET) { in positionChildVertical() 887 params.mBottom = params.mTop + child.getMeasuredHeight(); in positionChildVertical() [all …]
|
D | SlidingDrawer.java | 473 (!mExpanded && top > mBottomOffset + mBottom - mTop - in onTouchEvent() 599 handle.offsetTopAndBottom(mBottomOffset + mBottom - mTop - in moveHandle() 607 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) { in moveHandle() 608 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top; in moveHandle() 669 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent() 678 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Letterbox.java | 47 private final LetterboxSurface mTop = new LetterboxSurface("top"); field in Letterbox 51 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom }; 77 mTop.layout(outer.left, outer.top, inner.right, inner.top, surfaceOrigin); in layout() 90 mTop.getHeight(), in getInsets()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MetaDataBase.cpp | 76 int32_t mLeft, mTop, mRight, mBottom; member 146 r.mTop = top; in setRect() 244 *top = r->mTop; in findRect() 405 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
|
D | AMessage.cpp | 342 item->u.rectValue.mTop = top; in setRect() 392 *top = item->u.rectValue.mTop; in findRect() 629 item.u.rectValue.mTop, in debugString() 874 item.mName, item.u.rectValue.mLeft, item.u.rectValue.mTop, in changesFrom()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 125 canvas->drawGlyphs(glyphFunc, glyphCount, outlinePaint, x, y, bounds.mLeft, bounds.mTop, in operator ()() 132 canvas->drawGlyphs(glyphFunc, glyphCount, innerPaint, x, y, bounds.mLeft, bounds.mTop, in operator ()() 136 canvas->drawGlyphs(glyphFunc, glyphCount, paint, x, y, bounds.mLeft, bounds.mTop, in operator ()()
|
D | MinikinSkia.cpp | 86 bounds->mTop = skBounds.fTop; in GetBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotSelectorView.java | 77 canvas.drawRect(mLeft, mTop, mRight, mBottom, mPaintBackground); in draw()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 4302 protected int mTop; field in View 6310 out.append(mTop); 7721 position.offset(child.mLeft - child.getScrollX(), child.mTop -child.getScrollY()); 8424 position.set(0, 0, mRight - mLeft, mBottom - mTop); 8442 rect.offset(mLeft, mTop); 8461 rect.offset(parentView.mLeft, parentView.mTop); 8672 ignoredParentTop += parentGroup.mTop; 8683 structure.setDimens(ignoredParentLeft + mLeft, ignoredParentTop + mTop, mScrollX, mScrollY, 8684 mRight - mLeft, mBottom - mTop); 15629 return (mBottom > mTop) && (mRight > mLeft); in hasSize() [all …]
|
D | ViewGroup.java | 2042 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon() 2372 final float offsetY = mScrollY - child.mTop; in dispatchTooltipHoverEvent() 2549 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent() 2568 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent() 3006 point[1] += mScrollY - child.mTop; in transformPointToViewLocal() 3057 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 3076 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 4158 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw() 5982 location[CHILD_TOP_INDEX] = child.mTop; in invalidateChild() 6071 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent() [all …]
|
D | ViewPropertyAnimator.java | 1005 renderNode.setTranslationY(value - mView.mTop); in setValue() 1045 return mView.mTop + node.getTranslationY(); in getValue()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeBounds.java | 476 private int mTop; field in ChangeBounds.ViewBounds 489 mTop = Math.round(topLeft.y); in setTopLeft() 506 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.cpp | 105 bounds->mTop = FTPosToFloat(bbox.yMax); in GetBounds()
|
/frameworks/base/core/jni/android/graphics/text/ |
D | MeasuredText.cpp | 125 r.fTop = rect.mTop; in nGetBounds()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AMessage.h | 190 int32_t mLeft, mTop, mRight, mBottom; member
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 158 canvas.translate(child.mLeft - sx, child.mTop - sy); in transformCanvas()
|