Home
last modified time | relevance | path

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

12

/frameworks/minikin/include/minikin/
DMinikinFont.h73 float mLeft, mTop, mRight, mBottom; member
75 return mLeft == mRight || mTop == mBottom; in isEmpty()
79 mTop = r.mTop; in set()
85 mTop += dy; in offset()
90 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/
DRenderProperties.h426 if (RP_SET(mPrimitiveFields.mTop, top)) { in setTop()
427 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop()
437 return mPrimitiveFields.mTop; in getTop()
457 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom()
477 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop in setLeftTopRightBottom()
480 mPrimitiveFields.mTop = top; in setLeftTopRightBottom()
484 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom()
504 mPrimitiveFields.mTop += offset; in offsetTopBottom()
633 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
DRenderProperties.cpp104 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties()
106 mPrimitiveFields.mLeft, mPrimitiveFields.mTop); in debugOutputProperties()
DSkiaCanvas.cpp783 mLeft(left), mTop(top), mRight(right), mBottom(bottom), mRx(rx), mRy(ry), mPaint(p) {} in AnimatedRoundRect()
787 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onGetBounds()
790 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onDraw()
796 sp<uirenderer::CanvasPropertyPrimitive> mTop; member in android::AnimatedRoundRect
/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.java468 (!mExpanded && top > mBottomOffset + mBottom - mTop - in onTouchEvent()
592 handle.offsetTopAndBottom(mBottomOffset + mBottom - mTop - in moveHandle()
600 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) { in moveHandle()
601 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top; in moveHandle()
661 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent()
670 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java52 private int mTop; field in RenderNode_Delegate
195 if (delegate != null && delegate.mTop != top) { in nSetTop()
196 delegate.mTop = top; in nSetTop()
226 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate in nSetLeftTopRightBottom()
229 delegate.mTop = top; in nSetLeftTopRightBottom()
285 return (delegate.mBottom - delegate.mTop) / 2.0f; in nGetPivotY()
DViewGroup_Delegate.java129 canvas.translate(child.mLeft - sx, child.mTop - sy); in transformCanvas()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp123 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
130 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
134 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
DMinikinSkia.cpp66 bounds->mTop = skBounds.fTop; in GetBounds()
/frameworks/base/core/java/android/view/
DView.java3357 protected int mTop; field in View
4865 out.append(mTop); in toString()
6085 position.offset(child.mLeft - child.getScrollX(), child.mTop -child.getScrollY()); in requestRectangleOnScreen()
6636 position.set(0, 0, mRight - mLeft, mBottom - mTop); in getBoundsOnScreen()
6642 position.offset(mLeft, mTop); in getBoundsOnScreen()
6661 position.offset(parentView.mLeft, parentView.mTop); in getBoundsOnScreen()
6711 structure.setDimens(mLeft, mTop, mScrollX, mScrollY, mRight - mLeft, mBottom - mTop); in onProvideStructure()
11469 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) { in setFlags()
11791 return mBottom - mTop; in getHeight()
11807 outRect.bottom = mScrollY + (mBottom - mTop); in getDrawingRect()
[all …]
DViewGroup.java1722 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon()
2115 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent()
2134 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent()
2578 point[1] += mScrollY - child.mTop; in transformPointToViewLocal()
2629 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
2648 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
3478 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
5151 location[CHILD_TOP_INDEX] = child.mTop; in invalidateChild()
5240 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
5244 final int top = mTop; in invalidateChildInParent()
[all …]
DViewPropertyAnimator.java1015 renderNode.setTranslationY(value - mView.mTop); in setValue()
1055 return mView.mTop + node.getTranslationY(); in getValue()
DViewOverlay.java340 int top = child.mTop; in damageChild()
/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.cpp317 item->u.rectValue.mTop = top; in setRect()
367 *top = item->u.rectValue.mTop; in findRect()
604 item.u.rectValue.mTop, in debugString()
847 item.mName, item.u.rectValue.mLeft, item.u.rectValue.mTop, in changesFrom()
/frameworks/minikin/sample/
DMinikinSkia.cpp46 bounds->mTop = skBounds.fTop;
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSelectorView.java77 canvas.drawRect(mLeft, mTop, mRight, mBottom, mPaintBackground); in draw()
/frameworks/base/core/java/android/transition/
DChangeBounds.java471 private int mTop; field in ChangeBounds.ViewBounds
484 mTop = Math.round(topLeft.y); in setTopLeft()
501 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/base/services/core/java/com/android/server/policy/
DRecentApplicationsBackground.java62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { in setFrame()
/frameworks/av/include/media/stagefright/
DMetaData.h315 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h198 int32_t mLeft, mTop, mRight, mBottom; member

12