Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DRtlSpacingHelper.java29 private int mRight = 0; field in RtlSpacingHelper
43 return mRight; in getRight()
47 return mIsRtl ? mRight : mLeft; in getStart()
51 return mIsRtl ? mLeft : mRight; in getEnd()
60 if (start != UNDEFINED) mRight = start; in setRelative()
63 if (end != UNDEFINED) mRight = end; in setRelative()
70 if (right != UNDEFINED) mRight = mExplicitRight = right; in setAbsolute()
81 mRight = mStart != UNDEFINED ? mStart : mExplicitRight; in setDirection()
84 mRight = mEnd != UNDEFINED ? mEnd : mExplicitRight; in setDirection()
88 mRight = mExplicitRight; in setDirection()
/frameworks/base/core/java/android/widget/
DRtlSpacingHelper.java29 private int mRight = 0; field in RtlSpacingHelper
43 return mRight; in getRight()
47 return mIsRtl ? mRight : mLeft; in getStart()
51 return mIsRtl ? mLeft : mRight; in getEnd()
60 if (start != UNDEFINED) mRight = start; in setRelative()
63 if (end != UNDEFINED) mRight = end; in setRelative()
70 if (right != UNDEFINED) mRight = mExplicitRight = right; in setAbsolute()
81 mRight = mStart != UNDEFINED ? mStart : mExplicitRight; in setDirection()
84 mRight = mEnd != UNDEFINED ? mEnd : mExplicitRight; in setDirection()
88 mRight = mExplicitRight; in setDirection()
DRelativeLayout.java493 width = Math.max(width, params.mRight); in onMeasure()
495 width = Math.max(width, params.mRight + params.rightMargin); in onMeasure()
514 right = Math.max(right, params.mRight + params.rightMargin); in onMeasure()
560 params.mRight = params.mLeft + childWidth; in onMeasure()
615 params.mRight += horizontalOffset; in onMeasure()
633 params.mRight -= offsetWidth; in onMeasure()
667 params.mRight, params.width, in measureChild()
681 final int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, params.mRight, in measureChildHorizontal()
824 if (params.mLeft == VALUE_NOT_SET && params.mRight != VALUE_NOT_SET) { in positionChildHorizontal()
826 params.mLeft = params.mRight - child.getMeasuredWidth(); in positionChildHorizontal()
[all …]
DNumberPicker.java1592 float x = (mRight - mLeft) / 2; in onDraw()
1600 mVirtualButtonPressedDrawable.setBounds(0, 0, mRight, mTopSelectionDividerTop); in onDraw()
1605 mVirtualButtonPressedDrawable.setBounds(0, mBottomSelectionDividerBottom, mRight, in onDraw()
1633 mSelectionDivider.setBounds(0, topOfTopDivider, mRight, bottomOfTopDivider); in onDraw()
1639 mSelectionDivider.setBounds(0, topOfBottomDivider, mRight, bottomOfBottomDivider); in onDraw()
2223 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in cancel()
2227 invalidate(0, 0, mRight, mTopSelectionDividerTop); in cancel()
2252 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
2256 invalidate(0, 0, mRight, mTopSelectionDividerTop); in run()
2268 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
[all …]
DSlidingDrawer.java469 (!mExpanded && left > mBottomOffset + mRight - mLeft - in onTouchEvent()
621 handle.offsetLeftAndRight(mBottomOffset + mRight - mLeft - in moveHandle()
629 } else if (deltaX > mBottomOffset + mRight - mLeft - mHandleWidth - left) { in moveHandle()
630 deltaX = mBottomOffset + mRight - mLeft - mHandleWidth - left; in moveHandle()
661 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent()
667 int width = mRight - mLeft - childWidth - mTopOffset; in prepareContent()
DGallery.java638 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
724 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl()
753 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr()
780 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl()
811 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr()
/frameworks/minikin/include/minikin/
DMinikinFont.h62 float mLeft, mTop, mRight, mBottom; member
64 return mLeft == mRight || mTop == mBottom; in isEmpty()
69 mRight = r.mRight; in set()
75 mRight += dx; in offset()
79 mLeft = mTop = mRight = mBottom = 0; in setEmpty()
/frameworks/base/core/tests/coretests/src/android/view/
DGlobalFocusChangeTest.java33 private View mRight; field in GlobalFocusChangeTest
44 mRight = mActivity.findViewById(R.id.right); in setUp()
59 assertTrue(mRight.isFocused()); in testFocusChange()
62 assertSame(mRight, mActivity.mNewFocus); in testFocusChange()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomLayout.java28 private int mLeft, mTop, mRight, mBottom; field in CustomLayout.LayoutParams
34 mRight = right; in LayoutParams()
45 child.layout(lp.mLeft, lp.mTop, lp.mRight, lp.mBottom); in onLayout()
/frameworks/base/libs/hwui/pipeline/skia/
DAnimatedDrawables.h36 , mRight(right) in AnimatedRoundRect()
44 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onGetBounds()
47 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onDraw()
54 sp<uirenderer::CanvasPropertyPrimitive> mRight; variable
/frameworks/base/libs/hwui/
DRenderProperties.h414 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeft()
443 if (RP_SET(mPrimitiveFields.mRight, right)) { in setRight()
444 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setRight()
454 return mPrimitiveFields.mRight; in getRight()
480 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { in setLeftTopRightBottom()
483 mPrimitiveFields.mRight = right; in setLeftTopRightBottom()
485 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeftTopRightBottom()
498 mPrimitiveFields.mRight += offset; in offsetLeftRight()
635 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
/frameworks/minikin/tests/unittest/
DLayoutTest.cpp86 EXPECT_EQ(70.0f, rect.mRight); in TEST_F()
105 EXPECT_EQ(90.0f, rect.mRight); in TEST_F()
124 EXPECT_EQ(160.0f, rect.mRight); in TEST_F()
143 EXPECT_EQ(110.0f, rect.mRight); in TEST_F()
177 EXPECT_EQ(70.0f, rect.mRight); in TEST_F()
196 EXPECT_EQ(95.0f, rect.mRight); in TEST_F()
219 EXPECT_EQ(170.0f, rect.mRight); in TEST_F()
240 EXPECT_EQ(120.0f, rect.mRight); in TEST_F()
276 EXPECT_EQ(70.0f, rect.mRight); in TEST_F()
295 EXPECT_EQ(85.0f, rect.mRight); in TEST_F()
[all …]
/frameworks/layoutlib/bridge/src/android/view/
DRenderNode_Delegate.java53 private int mRight; field in RenderNode_Delegate
212 if (delegate != null && delegate.mRight != right) { in nSetRight()
213 delegate.mRight = right; in nSetRight()
234 .mRight != right || delegate.mBottom != bottom)) { in nSetLeftTopRightBottom()
237 delegate.mRight = right; in nSetLeftTopRightBottom()
268 return (delegate.mRight - delegate.mLeft) / 2.0f; in nGetPivotX()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java214 childRight = mRight - mLeft - mPaddingRight; in onLayout()
219 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; in onLayout()
234 if (childRight > mRight - mLeft - mPaddingRight) { in onLayout()
235 childRight = mRight - mLeft - mPaddingRight; in onLayout()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp136 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
143 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
147 bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
/frameworks/minikin/tests/util/
DMinikinFontForTest.cpp68 bounds->mRight = 10.0f; in GetBounds()
/frameworks/base/core/java/android/view/
DViewOverlay.java140 mRight = hostView.getWidth(); in OverlayViewGroup()
143 mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom); in OverlayViewGroup()
DView.java3838 protected int mRight; field in View
5520 out.append(mRight);
7372 position.set(0, 0, mRight - mLeft, mBottom - mTop);
7569 mRight - mLeft, mBottom - mTop);
13334 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
13658 return mRight - mLeft;
13683 outRect.right = mScrollX + (mRight - mLeft);
14385 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop);
14392 int width = mRight - mLeft;
14454 invalidate(0, 0, mRight - mLeft, maxBottom - mTop);
[all …]
/frameworks/av/media/libstagefright/foundation/
DMetaData.cpp87 r.mRight = right; in setRect()
185 *right = r->mRight; in findRect()
345 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
DAMessage.cpp338 item->u.rectValue.mRight = right; in setRect()
388 *right = item->u.rectValue.mRight; in findRect()
625 item.u.rectValue.mRight, in debugString()
868 item.u.rectValue.mRight, item.u.rectValue.mBottom); in changesFrom()
/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.java473 private int mRight; field in ChangeBounds.ViewBounds
493 mRight = Math.round(bottomRight.x); in setBottomRight()
502 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/support/transition/src/android/support/transition/
DChangeBounds.java461 private int mRight; field in ChangeBounds.ViewBounds
481 mRight = Math.round(bottomRight.x); in setBottomRight()
490 ViewUtils.setLeftTopRightBottom(mView, mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h201 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaData.h327 int32_t mLeft, mTop, mRight, mBottom; member

12