Home
last modified time | relevance | path

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

12

/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.java495 width = Math.max(width, params.mRight); in onMeasure()
497 width = Math.max(width, params.mRight + params.rightMargin); in onMeasure()
516 right = Math.max(right, params.mRight + params.rightMargin); in onMeasure()
535 right = Math.max(right, params.mRight + params.rightMargin); in onMeasure()
565 params.mRight = params.mLeft + childWidth; in onMeasure()
620 params.mRight += horizontalOffset; in onMeasure()
638 params.mRight -= offsetWidth; in onMeasure()
688 params.mRight, params.width, in measureChild()
702 params.mRight, params.width, in measureChildHorizontal()
836 if (params.mLeft == VALUE_NOT_SET && params.mRight != VALUE_NOT_SET) { in positionChildHorizontal()
[all …]
DNumberPicker.java1509 float x = (mRight - mLeft) / 2; in onDraw()
1517 mVirtualButtonPressedDrawable.setBounds(0, 0, mRight, mTopSelectionDividerTop); in onDraw()
1522 mVirtualButtonPressedDrawable.setBounds(0, mBottomSelectionDividerBottom, mRight, in onDraw()
1550 mSelectionDivider.setBounds(0, topOfTopDivider, mRight, bottomOfTopDivider); in onDraw()
1556 mSelectionDivider.setBounds(0, topOfBottomDivider, mRight, bottomOfBottomDivider); in onDraw()
2119 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in cancel()
2123 invalidate(0, 0, mRight, mTopSelectionDividerTop); in cancel()
2148 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
2152 invalidate(0, 0, mRight, mTopSelectionDividerTop); in run()
2164 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom); in run()
[all …]
DSlidingDrawer.java474 (!mExpanded && left > mBottomOffset + mRight - mLeft - in onTouchEvent()
625 handle.offsetLeftAndRight(mBottomOffset + mRight - mLeft - in moveHandle()
633 } else if (deltaX > mBottomOffset + mRight - mLeft - mHandleWidth - left) { in moveHandle()
634 deltaX = mBottomOffset + mRight - mLeft - mHandleWidth - left; in moveHandle()
665 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent()
671 int width = mRight - mLeft - childWidth - mTopOffset; in prepareContent()
DGallery.java631 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
717 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl()
746 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr()
773 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl()
804 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr()
DAnalogClock.java184 int availableWidth = mRight - mLeft; in onDraw()
DTextView.java3187 mRight - mLeft - getCompoundPaddingLeft() - in setGravity()
5100 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable()
5106 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
5114 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
5294 final int right = mRight; in onDraw()
5420 final int width = mRight - mLeft; in onDraw()
6192 int width = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in assumeLayout()
6830 (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { in checkForRelayout()
6843 mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(), in checkForRelayout()
6902 int hspace = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in bringTextIntoView()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DRtlSpacingHelper.java31 private int mRight = 0; field in RtlSpacingHelper
45 return mRight; in getRight()
49 return mIsRtl ? mRight : mLeft; in getStart()
53 return mIsRtl ? mLeft : mRight; in getEnd()
62 if (start != UNDEFINED) mRight = start; in setRelative()
65 if (end != UNDEFINED) mRight = end; in setRelative()
72 if (right != UNDEFINED) mRight = mExplicitRight = right; in setAbsolute()
83 mRight = mStart != UNDEFINED ? mStart : mExplicitRight; in setDirection()
86 mRight = mEnd != UNDEFINED ? mEnd : mExplicitRight; in setDirection()
90 mRight = mExplicitRight; in setDirection()
/frameworks/minikin/include/minikin/
DMinikinFont.h59 float mLeft, mTop, mRight, mBottom; member
61 return mLeft == mRight || mTop == mBottom; in isEmpty()
66 mRight = r.mRight; in set()
72 mRight += dx; in offset()
76 mLeft = mTop = mRight = mBottom = 0; in setEmpty()
/frameworks/base/core/tests/coretests/src/android/view/
DGlobalFocusChangeTest.java31 private View mRight; field in GlobalFocusChangeTest
42 mRight = mActivity.findViewById(R.id.right); in setUp()
57 assertTrue(mRight.isFocused()); in testFocusChange()
60 assertSame(mRight, mActivity.mNewFocus); in testFocusChange()
/frameworks/base/libs/hwui/
DRenderProperties.h383 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeft()
412 if (RP_SET(mPrimitiveFields.mRight, right)) { in setRight()
413 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setRight()
423 return mPrimitiveFields.mRight; in getRight()
449 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { in setLeftTopRightBottom()
452 mPrimitiveFields.mRight = right; in setLeftTopRightBottom()
454 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeftTopRightBottom()
467 mPrimitiveFields.mRight += offset; in offsetLeftRight()
595 int mLeft, mTop, mRight, mBottom; member
DRenderProperties.cpp88 , mLeft(0), mTop(0), mRight(0), mBottom(0) in PrimitiveFields()
/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()
DActivityTransitionCoordinator.java603 state.mRight = view.getRight(); in getOldSharedElementState()
679 view.layout(state.mLeft, state.mTop, state.mRight, state.mBottom); in setOriginalSharedElementState()
961 int mRight; field in ActivityTransitionCoordinator.SharedElementOriginalState
/frameworks/av/media/libstagefright/
DMetaData.cpp87 r.mRight = right; in setRect()
185 *right = r->mRight; in findRect()
332 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
/frameworks/base/core/java/android/view/
DViewOverlay.java134 mRight = hostView.getWidth(); in OverlayViewGroup()
137 mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom); in OverlayViewGroup()
DView.java3023 protected int mRight; field in View
4286 out.append(mRight); in toString()
5578 position.set(0, 0, mRight - mLeft, mBottom - mTop); in getBoundsOnScreen()
9712 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
10000 return mRight - mLeft;
10025 outRect.right = mScrollX + (mRight - mLeft);
10669 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop);
10676 int width = mRight - mLeft;
10734 invalidate(0, 0, mRight - mLeft, maxBottom - mTop);
10741 int width = mRight - mLeft;
[all …]
/frameworks/minikin/sample/
DMinikinSkia.cpp57 bounds->mRight = skBounds.fRight;
/frameworks/base/core/java/android/transition/
DChangeBounds.java471 private int mRight; field in ChangeBounds.ViewBounds
491 mRight = Math.round(bottomRight.x); in setBottomRight()
500 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp269 item->u.rectValue.mRight = right; in setRect()
319 *right = item->u.rectValue.mRight; in findRect()
513 item.u.rectValue.mRight, 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.cpp77 bounds->mRight = skBounds.fRight; 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/minikin/libs/minikin/
DLayout.cpp265 mRight = std::max(mRight, r.mRight); in join()

12