Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A 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()
/aosp14/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A 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()
/aosp14/frameworks/base/graphics/java/android/graphics/text/
H A DMeasuredText.java65 private final int mBottom; field in MeasuredText
75 mBottom = bottom; in MeasuredText()
152 outMetrics.bottom = Math.max(outMetrics.descent, mBottom); in getFontMetricsInt()
224 private int mBottom = 0; field in MeasuredText.Builder
309 mBottom = Math.max(mBottom, mCachedMetrics.bottom); in appendStyleRun()
460 mComputeLayout, mTop, mBottom); in build()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DQuickswitchOrientedNavHandle.java60 top = (getHeight() - mBottom - height); in computeHomeHandleBounds()
65 left = mBottom; in computeHomeHandleBounds()
71 right = getWidth() - mBottom; in computeHomeHandleBounds()
H A DNavigationHandle.java40 protected final float mBottom; field in NavigationHandle
51 mBottom = res.getDimension(R.dimen.navigation_handle_bottom); in NavigationHandle()
80 float y = (navHeight - mBottom - height); in onDraw()
/aosp14/frameworks/base/libs/hwui/
H A DRenderProperties.h382 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop()
407 if (RP_SET(mPrimitiveFields.mBottom, bottom)) { in setBottom()
408 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom()
417 int getBottom() const { return mPrimitiveFields.mBottom; } in getBottom()
427 right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { in setLeftTopRightBottom()
431 mPrimitiveFields.mBottom = bottom; in setLeftTopRightBottom()
433 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom()
454 mPrimitiveFields.mBottom += offset; in offsetTopBottom()
576 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLetterboxTest.java124 final Rect mBottom = new Rect(); field in LetterboxTest.LetterboxLayoutVerifier
142 mBottom.set(bottom); in setBarRect()
150 assertEquals(mLetterbox.notIntersectsOrFullyContains(mBottom), in verifyPositions()
166 mTempRect.set(mBottom.left, mBottom.top - 1, mBottom.right, mBottom.bottom); in verifyPositions()
/aosp14/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java522 height = Math.max(height, params.mBottom); in onMeasure()
610 params.mBottom = params.mTop + childHeight; in onMeasure()
639 params.mBottom += verticalOffset; in onMeasure()
692 params.mBottom, params.height, in measureChild()
885 params.mTop = params.mBottom - child.getMeasuredHeight(); in positionChildVertical()
888 params.mBottom = params.mTop + child.getMeasuredHeight(); in positionChildVertical()
974 childParams.mBottom = VALUE_NOT_SET; in applyVerticalSizeRules()
981 childParams.mBottom = VALUE_NOT_SET; in applyVerticalSizeRules()
1010 childParams.mBottom = anchorParams.mBottom - childParams.bottomMargin; in applyVerticalSizeRules()
1089 params.mBottom = top + childHeight; in centerVertical()
[all …]
H A 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()
H A 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()
2645 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in performAction()
2654 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in performAction()
H A DListView.java278 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop)); in getMaxScrollAmount()
783 int end = (mBottom - mTop); in fillDown()
1548 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooHigh()
1600 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooLow()
1654 final int childrenBottom = mBottom - mTop - mListPadding.bottom; in layoutChildren()
3238 final int listBottom = mBottom - mTop - mListPadding.bottom;
3489 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
3538 final int overFooterBottom = mBottom + mScrollY;
3592 final int absListBottom = mBottom;
H A DExpandableListView.java376 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
383 final int myB = mBottom; in dispatchDraw()
H A DGridView.java320 int end = (mBottom - mTop); in fillDown()
643 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooHigh()
686 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooLow()
1194 final int childrenBottom = mBottom - mTop - mListPadding.bottom; in layoutChildren()
H A DAdapterView.java794 this.onLayout(false, mLeft, mTop, mRight, mBottom); in updateEmptyStatus()
H A DAnalogClock.java682 int availableHeight = mBottom - mTop; in onDraw()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DAnimatedDrawables.h39 : mLeft(left), mTop(top), mRight(right), mBottom(bottom), mRx(rx), mRy(ry), mPaint(p) {} in AnimatedRoundRect()
43 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onGetBounds()
46 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onDraw()
54 sp<uirenderer::CanvasPropertyPrimitive> mBottom; variable
/aosp14/frameworks/base/core/java/android/text/
H A DBoringLayout.java363 mBottom = spacing; in init()
509 return mBottom; in getHeight()
522 return mBottom; in getLineTop()
598 c.drawText(mDirect, 0, mBottom - mDesc, mPaint); in draw()
616 /* package */ int mBottom, mDesc; // for Direct field in BoringLayout
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLetterbox.java65 private final LetterboxSurface mBottom = new LetterboxSurface("bottom"); field in Letterbox
73 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom };
122 mBottom.layout(outer.left, inner.bottom, outer.right, outer.bottom, surfaceOrigin); in layout()
135 mBottom.getHeight()); in getInsets()
/aosp14/frameworks/base/core/java/android/view/
H A DViewOverlay.java145 mBottom = hostView.getHeight(); in OverlayViewGroup()
147 mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom); in OverlayViewGroup()
H A DView.java4510 protected int mBottom; field in View
6687 out.append(mBottom);
17860 return mBottom - mTop; in getHeight()
18689 return mBottom; in getBottom()
18709 if (bottom != mBottom) { in setBottom()
18729 mBottom = bottom; in setBottom()
19461 int height = mBottom - mTop; in getGlobalVisibleRect()
19559 mBottom += offset; in offsetTopAndBottom()
23038 int height = mBottom - mTop; in buildDrawingCacheImpl()
24422 int oldB = mBottom; in layout()
[all …]
H A DViewGroup.java4285 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
6210 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
6227 dirty.set(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
6230 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
6293 p.mBottom - p.mTop); in offsetRectBetweenParentAndChild()
6302 p.mBottom - p.mTop); in offsetRectBetweenParentAndChild()
6346 v.mBottom += offset; in offsetChildrenTopAndBottom()
6402 final int height = mBottom - mTop; in getChildVisibleRect()
7379 final int height = mBottom - mTop; in getChildLocalHitRegion()
7409 hoveredView.mBottom); in getChildLocalHitRegion()
[all …]
/aosp14/frameworks/base/core/java/android/transition/
H A 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()
/aosp14/frameworks/base/libs/hwui/jni/text/
H A DMeasuredText.cpp130 r.fBottom = rect.mBottom; in nGetBounds()
/aosp14/frameworks/base/libs/hwui/hwui/
H A DMinikinSkia.cpp91 bounds->mBottom = skBounds.fBottom; in GetBounds()
/aosp14/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java652 state.mBottom = view.getBottom(); in getOldSharedElementState()
727 view.layout(state.mLeft, state.mTop, state.mRight, state.mBottom); in setOriginalSharedElementState()
1114 int mBottom; field in ActivityTransitionCoordinator.SharedElementOriginalState

12