Home
last modified time | relevance | path

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

12

/frameworks/minikin/include/minikin/
DMinikinRect.h25 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;
34 float mBottom; member
36 bool isEmpty() const { return mLeft == mRight || mTop == mBottom; } in isEmpty()
41 mBottom = r.mBottom; in set()
47 mBottom += dy; in offset()
49 void setEmpty() { mLeft = mTop = mRight = mBottom = 0.0; } in setEmpty()
57 mBottom = std::max(mBottom, r.mBottom); in join()
64 return os << "(" << r.mLeft << ", " << r.mTop << ")-(" << r.mRight << ", " << r.mBottom << ")";
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DVerticalGravityTest.java38 private View mBottom; field in VerticalGravityTest
54 mBottom = activity.findViewById(R.id.cell_bottom); in setUp()
64 assertNotNull(mBottom); in testSetUpConditions()
80 ViewAsserts.assertBottomAligned(mReference3, mBottom); in testBottomGravity()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomLayout.java28 private int mLeft, mTop, mRight, mBottom; field in CustomLayout.LayoutParams
35 mBottom = bottom; in LayoutParams()
45 child.layout(lp.mLeft, lp.mTop, lp.mRight, lp.mBottom); in onLayout()
/frameworks/base/libs/hwui/pipeline/skia/
DAnimatedDrawables.h36 : 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()
51 sp<uirenderer::CanvasPropertyPrimitive> mBottom; variable
/frameworks/minikin/tests/unittest/
DLayoutTest.cpp71 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
89 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
107 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
125 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
155 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
173 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
192 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
212 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
245 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
263 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
[all …]
/frameworks/base/libs/hwui/
DRenderProperties.h367 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop()
392 if (RP_SET(mPrimitiveFields.mBottom, bottom)) { in setBottom()
393 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom()
402 int getBottom() const { return mPrimitiveFields.mBottom; } in getBottom()
412 right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { in setLeftTopRightBottom()
416 mPrimitiveFields.mBottom = bottom; in setLeftTopRightBottom()
418 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom()
439 mPrimitiveFields.mBottom += offset; in offsetTopBottom()
556 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
/frameworks/layoutlib/bridge/src/android/graphics/
DRenderNode_Delegate.java53 private int mBottom; field in RenderNode_Delegate
220 if (delegate != null && delegate.mBottom != bottom) { in nSetBottom()
221 delegate.mBottom = bottom; in nSetBottom()
232 .mRight != right || delegate.mBottom != bottom)) { in nSetLeftTopRightBottom()
236 delegate.mBottom = bottom; in nSetLeftTopRightBottom()
290 return (delegate.mBottom - delegate.mTop) / 2.0f; in nGetPivotY()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationHandle.java40 private final int mBottom; field in NavigationHandle
50 mBottom = res.getDimensionPixelSize(R.dimen.navigation_handle_bottom); in NavigationHandle()
70 int y = (navHeight - mBottom - height); in onDraw()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java521 height = Math.max(height, params.mBottom); in onMeasure()
523 height = Math.max(height, params.mBottom + params.bottomMargin); in onMeasure()
534 bottom = Math.max(bottom, params.mBottom + params.bottomMargin); in onMeasure()
609 params.mBottom = params.mTop + childHeight; in onMeasure()
638 params.mBottom += verticalOffset; in onMeasure()
691 params.mBottom, params.height, 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 …]
DSlidingDrawer.java473 (!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()
DNumberPicker.java1665 mBottom); in onDraw()
1890 float totalTextGapHeight = (mBottom - mTop) - totalTextHeight; in initializeSelectorWheel()
1905 setFadingEdgeLength((mBottom - mTop - mTextSize) / 2); in initializeFadingEdges()
2322 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in cancel()
2351 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
2367 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
2492 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
2507 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
2643 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in performAction()
2652 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in performAction()
DListView.java280 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop)); in getMaxScrollAmount()
785 int end = (mBottom - mTop); in fillDown()
1550 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooHigh()
1602 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooLow()
1656 final int childrenBottom = mBottom - mTop - mListPadding.bottom; in layoutChildren()
3240 final int listBottom = mBottom - mTop - mListPadding.bottom;
3487 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
3536 final int overFooterBottom = mBottom + mScrollY;
3590 final int absListBottom = mBottom;
/frameworks/base/core/java/android/text/
DBoringLayout.java250 mBottom = spacing; in init()
374 return mBottom; in getHeight()
387 return mBottom; in getLineTop()
458 c.drawText(mDirect, 0, mBottom - mDesc, mPaint); in draw()
475 /* package */ int mBottom, mDesc; // for Direct field in BoringLayout
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java49 private final LetterboxSurface mBottom = new LetterboxSurface("bottom"); field in Letterbox
51 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom };
79 mBottom.layout(inner.left, inner.bottom, outer.right, outer.bottom, surfaceOrigin); in layout()
92 mBottom.getHeight()); in getInsets()
/frameworks/av/media/libstagefright/foundation/
DMetaDataBase.cpp76 int32_t mLeft, mTop, mRight, mBottom; member
148 r.mBottom = bottom; in setRect()
246 *bottom = r->mBottom; in findRect()
405 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
DAMessage.cpp344 item->u.rectValue.mBottom = bottom; in setRect()
394 *bottom = item->u.rectValue.mBottom; in findRect()
631 item.u.rectValue.mBottom); in debugString()
875 item.u.rectValue.mRight, item.u.rectValue.mBottom); in changesFrom()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp126 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
133 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
137 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
DMinikinSkia.cpp88 bounds->mBottom = skBounds.fBottom; in GetBounds()
/frameworks/base/core/java/android/view/
DViewOverlay.java144 mBottom = hostView.getHeight(); in OverlayViewGroup()
146 mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom); in OverlayViewGroup()
DView.java4310 protected int mBottom; field in View
6314 out.append(mBottom);
8424 position.set(0, 0, mRight - mLeft, mBottom - mTop);
8684 mRight - mLeft, mBottom - mTop);
15629 return (mBottom > mTop) && (mRight > mLeft); in hasSize()
16075 return mBottom - mTop; in getHeight()
16091 outRect.bottom = mScrollY + (mBottom - mTop); in getDrawingRect()
16861 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop); in setTop()
16869 int oldHeight = mBottom - mTop; in setTop()
16874 sizeChange(width, mBottom - mTop, width, oldHeight); in setTop()
[all …]
/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.java478 private int mBottom; field in ChangeBounds.ViewBounds
498 mBottom = Math.round(bottomRight.y); in setBottomRight()
506 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.cpp107 bounds->mBottom = FTPosToFloat(bbox.yMin); in GetBounds()
/frameworks/base/core/jni/android/graphics/text/
DMeasuredText.cpp127 r.fBottom = rect.mBottom; in nGetBounds()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h190 int32_t mLeft, mTop, mRight, mBottom; member

12