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/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxTest.java112 final Rect mBottom = new Rect(); field in LetterboxTest.LetterboxLayoutVerifier
130 mBottom.set(bottom); in setBarRect()
138 assertEquals(mLetterbox.notIntersectsOrFullyContains(mBottom), in verifyPositions()
154 mTempRect.set(mBottom.left, mBottom.top - 1, mBottom.right, mBottom.bottom); in verifyPositions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickswitchOrientedNavHandle.java60 top = (getHeight() - mBottom - height); in computeHomeHandleBounds()
65 left = mBottom; in computeHomeHandleBounds()
71 right = getWidth() - mBottom; in computeHomeHandleBounds()
DNavigationHandle.java39 protected final int mBottom; field in NavigationHandle
50 mBottom = res.getDimensionPixelSize(R.dimen.navigation_handle_bottom); in NavigationHandle()
79 int y = (navHeight - mBottom - height); in onDraw()
/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.h370 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop()
395 if (RP_SET(mPrimitiveFields.mBottom, bottom)) { in setBottom()
396 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom()
405 int getBottom() const { return mPrimitiveFields.mBottom; } in getBottom()
415 right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { in setLeftTopRightBottom()
419 mPrimitiveFields.mBottom = bottom; in setLeftTopRightBottom()
421 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom()
442 mPrimitiveFields.mBottom += offset; in offsetTopBottom()
563 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/core/java/android/widget/
DRelativeLayout.java522 height = Math.max(height, params.mBottom); in onMeasure()
524 height = Math.max(height, params.mBottom + params.bottomMargin); in onMeasure()
535 bottom = Math.max(bottom, params.mBottom + params.bottomMargin); in onMeasure()
610 params.mBottom = params.mTop + childHeight; in onMeasure()
639 params.mBottom += verticalOffset; in onMeasure()
692 params.mBottom, params.height, in measureChild()
883 if (params.mTop == VALUE_NOT_SET && params.mBottom != VALUE_NOT_SET) { in positionChildVertical()
885 params.mTop = params.mBottom - child.getMeasuredHeight(); in positionChildVertical()
886 } else if (params.mTop != VALUE_NOT_SET && params.mBottom == VALUE_NOT_SET) { in positionChildVertical()
888 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.java1666 mBottom); in onDraw()
1891 float totalTextGapHeight = (mBottom - mTop) - totalTextHeight; in initializeSelectorWheel()
1906 setFadingEdgeLength((mBottom - mTop - mTextSize) / 2); in initializeFadingEdges()
2323 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in cancel()
2352 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
2368 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
2493 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
2508 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
2646 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in performAction()
2655 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in performAction()
/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.java50 private final LetterboxSurface mBottom = new LetterboxSurface("bottom"); field in Letterbox
52 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom };
82 mBottom.layout(outer.left, inner.bottom, outer.right, outer.bottom, surfaceOrigin); in layout()
95 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.cpp118 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
125 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
129 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
/frameworks/base/core/java/android/view/
DViewOverlay.java144 mBottom = hostView.getHeight(); in OverlayViewGroup()
146 mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom); in OverlayViewGroup()
DView.java4420 protected int mBottom; field in View
6482 out.append(mBottom);
8640 position.set(0, 0, mRight - mLeft, mBottom - mTop);
8897 mRight - mLeft, mBottom - mTop);
16015 return (mBottom > mTop) && (mRight > mLeft);
16458 return mBottom - mTop;
16474 outRect.bottom = mScrollY + (mBottom - mTop);
17244 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop);
17252 int oldHeight = mBottom - mTop;
17257 sizeChange(width, mBottom - mTop, width, oldHeight);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSelectorView.java77 canvas.drawRect(mLeft, mTop, mRight, mBottom, mPaintBackground); in draw()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.cpp107 bounds->mBottom = FTPosToFloat(bbox.yMin); in GetBounds()
/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/base/libs/hwui/jni/text/
DMeasuredText.cpp126 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