Home
last modified time | relevance | path

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

12

/frameworks/minikin/include/minikin/
DMinikinFont.h59 float mLeft, mTop, mRight, mBottom; member
61 return mLeft == mRight || mTop == mBottom; in isEmpty()
65 mTop = r.mTop; in set()
71 mTop += dy; in offset()
76 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/core/java/android/widget/
DRelativeLayout.java512 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
531 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
594 params.mTop = height - mPaddingBottom - childHeight; in onMeasure()
595 params.mBottom = params.mTop + childHeight; in onMeasure()
623 params.mTop += verticalOffset; in onMeasure()
655 int offset = anchorParams.mTop + anchorBaseline; in alignBaseline()
660 int height = params.mBottom - params.mTop; in alignBaseline()
661 params.mTop = offset; in alignBaseline()
662 params.mBottom = params.mTop + height; in alignBaseline()
670 if (params.mTop < lp.mTop || (params.mTop == lp.mTop && params.mLeft < lp.mLeft)) { in alignBaseline()
[all …]
DSlidingDrawer.java471 (!mExpanded && top > mBottomOffset + mBottom - mTop - in onTouchEvent()
595 handle.offsetTopAndBottom(mBottomOffset + mBottom - mTop - in moveHandle()
603 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) { in moveHandle()
604 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top; in moveHandle()
664 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent()
673 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
DAnalogClock.java185 int availableHeight = mBottom - mTop; in onDraw()
DListView.java199 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop)); in getMaxScrollAmount()
690 int end = (mBottom - mTop); in fillDown()
1401 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooHigh()
1452 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooLow()
1506 final int childrenBottom = mBottom - mTop - mListPadding.bottom; in layoutChildren()
3031 final int listBottom = mBottom - mTop - mListPadding.bottom;
3274 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherScrim.java44 private int mTop; field in KeyguardUserSwitcherScrim
60 float height = (mTop + bounds.height()) * OUTER_EXTENT; in draw()
61 canvas.translate(0, -mTop); in draw()
93 mTop = top; in onLayoutChange()
/frameworks/base/libs/hwui/
DRenderProperties.h397 if (RP_SET(mPrimitiveFields.mTop, top)) { in setTop()
398 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop()
408 return mPrimitiveFields.mTop; in getTop()
428 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom()
448 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop in setLeftTopRightBottom()
451 mPrimitiveFields.mTop = top; in setLeftTopRightBottom()
455 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom()
475 mPrimitiveFields.mTop += offset; in offsetTopBottom()
595 int mLeft, mTop, mRight, mBottom; member
DRenderProperties.cpp88 , mLeft(0), mTop(0), mRight(0), mBottom(0) in PrimitiveFields()
128 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties()
129 …D("%*sTranslate (left, top) %d, %d", level * 2, "", mPrimitiveFields.mLeft, mPrimitiveFields.mTop); in debugOutputProperties()
/frameworks/base/core/java/android/view/
DView.java3030 protected int mTop; field in View
4284 out.append(mTop); in toString()
5036 position.offset(child.mLeft, child.mTop); in requestRectangleOnScreen()
5578 position.set(0, 0, mRight - mLeft, mBottom - mTop); in getBoundsOnScreen()
5584 position.offset(mLeft, mTop); in getBoundsOnScreen()
5603 position.offset(parentView.mLeft, parentView.mTop); in getBoundsOnScreen()
9712 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
10010 return mBottom - mTop;
10026 outRect.bottom = mScrollY + (mBottom - mTop);
10645 return mTop;
[all …]
DSurfaceView.java160 int mTop = -1; field in SurfaceView
451 || mLeft != mLocation[0] || mTop != mLocation[1] in updateWindow()
458 + " top=" + (mTop != mLocation[1])); in updateWindow()
463 mTop = mLocation[1]; in updateWindow()
472 mLayout.y = mTop; in updateWindow()
DViewGroup.java1908 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent()
2351 point[1] += mScrollY - child.mTop; in transformPointToViewLocal()
2402 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
2421 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
3176 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
4636 location[CHILD_TOP_INDEX] = child.mTop; in invalidateChild()
4724 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
4728 final int top = mTop; in invalidateChildInParent()
4750 location[CHILD_TOP_INDEX] = mTop; in invalidateChildInParent()
4752 dirty.set(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
[all …]
DViewPropertyAnimator.java1017 renderNode.setTranslationY(value - mView.mTop); in setValue()
1057 return mView.mTop + node.getTranslationY(); in getValue()
DViewOverlay.java306 int top = child.mTop; in damageChild()
/frameworks/av/media/libstagefright/
DMetaData.cpp86 r.mTop = top; in setRect()
184 *top = r->mTop; in findRect()
332 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
/frameworks/minikin/sample/
DMinikinSkia.cpp56 bounds->mTop = skBounds.fTop;
/frameworks/base/core/java/android/transition/
DChangeBounds.java470 private int mTop; field in ChangeBounds.ViewBounds
483 mTop = Math.round(topLeft.y); in setTopLeft()
500 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp268 item->u.rectValue.mTop = top; in setRect()
318 *top = item->u.rectValue.mTop; in findRect()
512 item.u.rectValue.mTop, in debugString()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { in setFrame()
/frameworks/base/core/jni/android/graphics/
DMinikinSkia.cpp76 bounds->mTop = skBounds.fTop; in GetBounds()
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h124 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/av/include/media/stagefright/
DMetaData.h276 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java602 state.mTop = view.getTop(); in getOldSharedElementState()
679 view.layout(state.mLeft, state.mTop, state.mRight, state.mBottom); in setOriginalSharedElementState()
960 int mTop; field in ActivityTransitionCoordinator.SharedElementOriginalState
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DViewGroup_Delegate.java167 canvas.translate(child.mLeft - sx, child.mTop - sy); in transformCanvas()
/frameworks/minikin/libs/minikin/
DLayout.cpp264 mTop = std::min(mTop, r.mTop); in join()

12