Home
last modified time | relevance | path

Searched refs:mTop (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/minikin/include/minikin/
DMinikinFont.h62 float mLeft, mTop, mRight, mBottom; member
64 return mLeft == mRight || mTop == mBottom; in isEmpty()
68 mTop = r.mTop; in set()
74 mTop += dy; in offset()
79 mLeft = mTop = mRight = mBottom = 0; in setEmpty()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DVerticalGravityTest.java36 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/
DCustomLayout.java28 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/
DKeyguardUserSwitcherScrim.java44 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/
DAnimatedDrawables.h35 , mTop(top) in AnimatedRoundRect()
44 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onGetBounds()
47 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onDraw()
53 sp<uirenderer::CanvasPropertyPrimitive> mTop; variable
/frameworks/minikin/tests/unittest/
DLayoutTest.cpp85 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
104 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
123 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
142 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
176 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
195 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
218 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
239 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
275 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
294 EXPECT_EQ(0.0f, rect.mTop); in TEST_F()
[all …]
/frameworks/base/libs/hwui/
DRenderProperties.h428 if (RP_SET(mPrimitiveFields.mTop, top)) { in setTop()
429 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop()
439 return mPrimitiveFields.mTop; in getTop()
459 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom()
479 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop in setLeftTopRightBottom()
482 mPrimitiveFields.mTop = top; in setLeftTopRightBottom()
486 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom()
506 mPrimitiveFields.mTop += offset; in offsetTopBottom()
635 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
DRenderProperties.cpp116 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties()
118 << ", " << mPrimitiveFields.mTop << ")" << std::endl; in debugOutputProperties()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java510 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
589 params.mTop = height - mPaddingBottom - childHeight; in onMeasure()
590 params.mBottom = params.mTop + childHeight; in onMeasure()
618 params.mTop += verticalOffset; in onMeasure()
648 final int topDiff = p1.mTop - p2.mTop; in compareLayoutPosition()
671 int childHeightMeasureSpec = getChildMeasureSpec(params.mTop, in measureChild()
860 if (params.mTop == VALUE_NOT_SET && params.mBottom != VALUE_NOT_SET) { in positionChildVertical()
862 params.mTop = params.mBottom - child.getMeasuredHeight(); in positionChildVertical()
863 } else if (params.mTop != VALUE_NOT_SET && params.mBottom == VALUE_NOT_SET) { in positionChildVertical()
865 params.mBottom = params.mTop + child.getMeasuredHeight(); in positionChildVertical()
[all …]
DSlidingDrawer.java466 (!mExpanded && top > mBottomOffset + mBottom - mTop - in onTouchEvent()
591 handle.offsetTopAndBottom(mBottomOffset + mBottom - mTop - in moveHandle()
599 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) { in moveHandle()
600 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top; in moveHandle()
660 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent()
669 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java54 private int mTop; field in RenderNode_Delegate
202 if (delegate != null && delegate.mTop != top) { in nSetTop()
203 delegate.mTop = top; in nSetTop()
233 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate in nSetLeftTopRightBottom()
236 delegate.mTop = top; in nSetLeftTopRightBottom()
292 return (delegate.mBottom - delegate.mTop) / 2.0f; in nGetPivotY()
DViewGroup_Delegate.java129 canvas.translate(child.mLeft - sx, child.mTop - sy); in transformCanvas()
/frameworks/av/media/libstagefright/codec2/include/
DC2Buffer.h740 uint32_t mTop; member
748 : mLeft(left), mTop(top), mWidth(width), mHeight(height) { } in C2Rect()
757 return mLeft <= ~mWidth && mTop <= ~mHeight; in isValid()
774 return mLeft <= other.mLeft && mTop <= other.mTop in contains()
776 && mTop + mHeight >= other.mTop + other.mHeight; in contains()
786 return mLeft == other.mLeft && mTop == other.mTop
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp125 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
132 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
136 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
DMinikinSkia.cpp65 bounds->mTop = skBounds.fTop; in GetBounds()
/frameworks/minikin/tests/util/
DMinikinFontForTest.cpp67 bounds->mTop = 0.0f; in GetBounds()
/frameworks/base/core/java/android/view/
DView.java3807 protected int mTop; field in View
5480 out.append(mTop);
6713 position.offset(child.mLeft - child.getScrollX(), child.mTop -child.getScrollY());
7334 position.set(0, 0, mRight - mLeft, mBottom - mTop);
7352 rect.offset(mLeft, mTop);
7371 rect.offset(parentView.mLeft, parentView.mTop);
7519 ignoredParentTop += parentGroup.mTop;
7530 structure.setDimens(ignoredParentLeft + mLeft, ignoredParentTop + mTop, mScrollX, mScrollY,
7531 mRight - mLeft, mBottom - mTop);
13600 return mBottom - mTop;
[all …]
DViewGroup.java1947 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon()
2277 final float offsetY = mScrollY - child.mTop; in dispatchTooltipHoverEvent()
2444 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent()
2463 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent()
2907 point[1] += mScrollY - child.mTop; in transformPointToViewLocal()
2958 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
2977 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
3965 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
5728 location[CHILD_TOP_INDEX] = child.mTop; in invalidateChild()
5821 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
[all …]
/frameworks/av/media/libstagefright/foundation/
DMetaData.cpp86 r.mTop = top; in setRect()
184 *top = r->mTop; in findRect()
345 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
DAMessage.cpp337 item->u.rectValue.mTop = top; in setRect()
387 *top = item->u.rectValue.mTop; in findRect()
624 item.u.rectValue.mTop, in debugString()
867 item.mName, item.u.rectValue.mLeft, item.u.rectValue.mTop, in changesFrom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSelectorView.java77 canvas.drawRect(mLeft, mTop, mRight, mBottom, mPaintBackground); in draw()
/frameworks/support/transition/src/android/support/transition/
DChangeBounds.java460 private int mTop; field in ChangeBounds.ViewBounds
473 mTop = Math.round(topLeft.y); in setTopLeft()
490 ViewUtils.setLeftTopRightBottom(mView, mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/base/core/java/android/transition/
DChangeBounds.java472 private int mTop; field in ChangeBounds.ViewBounds
485 mTop = Math.round(topLeft.y); in setTopLeft()
502 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/av/media/libstagefright/include/
DMetaData.h317 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/av/media/libstagefright/include/foundation/
DAMessage.h201 int32_t mLeft, mTop, mRight, mBottom; member

12