Home
last modified time | relevance | path

Searched refs:mLeft (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DRtlSpacingHelper.java30 private int mLeft = 0; field in RtlSpacingHelper
41 return mLeft; in getLeft()
49 return mIsRtl ? mRight : mLeft; in getStart()
53 return mIsRtl ? mLeft : mRight; in getEnd()
61 if (end != UNDEFINED) mLeft = end; in setRelative()
64 if (start != UNDEFINED) mLeft = start; in setRelative()
71 if (left != UNDEFINED) mLeft = mExplicitLeft = left; in setAbsolute()
82 mLeft = mEnd != UNDEFINED ? mEnd : mExplicitLeft; in setDirection()
85 mLeft = mStart != UNDEFINED ? mStart : mExplicitLeft; in setDirection()
89 mLeft = mExplicitLeft; in setDirection()
/frameworks/base/core/java/android/widget/
DRtlSpacingHelper.java28 private int mLeft = 0; field in RtlSpacingHelper
39 return mLeft; in getLeft()
47 return mIsRtl ? mRight : mLeft; in getStart()
51 return mIsRtl ? mLeft : mRight; in getEnd()
59 if (end != UNDEFINED) mLeft = end; in setRelative()
62 if (start != UNDEFINED) mLeft = start; in setRelative()
69 if (left != UNDEFINED) mLeft = mExplicitLeft = left; in setAbsolute()
80 mLeft = mEnd != UNDEFINED ? mEnd : mExplicitLeft; in setDirection()
83 mLeft = mStart != UNDEFINED ? mStart : mExplicitLeft; in setDirection()
87 mLeft = mExplicitLeft; in setDirection()
DRelativeLayout.java489 width = Math.max(width, myWidth - params.mLeft); in onMeasure()
491 width = Math.max(width, myWidth - params.mLeft - params.leftMargin); in onMeasure()
511 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
530 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
564 params.mLeft = width - mPaddingRight - childWidth; in onMeasure()
565 params.mRight = params.mLeft + childWidth; in onMeasure()
619 params.mLeft += horizontalOffset; in onMeasure()
637 params.mLeft -= offsetWidth; in onMeasure()
670 if (params.mTop < lp.mTop || (params.mTop == lp.mTop && params.mLeft < lp.mLeft)) { in alignBaseline()
687 int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, in measureChild()
[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()
/frameworks/base/core/tests/coretests/src/android/view/
DGlobalFocusChangeTest.java30 private View mLeft; field in GlobalFocusChangeTest
41 mLeft = mActivity.findViewById(R.id.left); in setUp()
56 assertFalse(mLeft.isFocused()); in testFocusChange()
59 assertSame(mLeft, mActivity.mOldFocus); in testFocusChange()
66 assertTrue(mLeft.isFocused()); in testEnterTouchMode()
68 TouchUtils.tapView(this, mLeft); in testEnterTouchMode()
70 assertSame(mLeft, mActivity.mOldFocus); in testEnterTouchMode()
77 assertTrue(mLeft.isFocused()); in testLeaveTouchMode()
79 TouchUtils.tapView(this, mLeft); in testLeaveTouchMode()
82 assertTrue(mLeft.isFocused()); in testLeaveTouchMode()
[all …]
/frameworks/minikin/include/minikin/
DMinikinFont.h59 float mLeft, mTop, mRight, mBottom; member
61 return mLeft == mRight || mTop == mBottom; in isEmpty()
64 mLeft = r.mLeft; in set()
70 mLeft += dx; in offset()
76 mLeft = mTop = mRight = mBottom = 0; in setEmpty()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DHorizontalGravityTest.java35 private View mLeft; field in HorizontalGravityTest
49 mLeft = activity.findViewById(R.id.left); in setUp()
57 assertNotNull(mLeft); in testSetUpConditions()
67 ViewAsserts.assertLeftAligned(mReference, mLeft); in testLeftGravity()
/frameworks/base/libs/hwui/
DRenderProperties.h382 if (RP_SET(mPrimitiveFields.mLeft, left)) { in setLeft()
383 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeft()
393 return mPrimitiveFields.mLeft; in getLeft()
413 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setRight()
448 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop in setLeftTopRightBottom()
450 mPrimitiveFields.mLeft = left; in setLeftTopRightBottom()
454 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeftTopRightBottom()
466 mPrimitiveFields.mLeft += offset; in offsetLeftRight()
595 int mLeft, mTop, mRight, mBottom; member
DRenderProperties.cpp88 , mLeft(0), mTop(0), mRight(0), mBottom(0) in PrimitiveFields()
128 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties()
129 …ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mPrimitiveFields.mLeft, mPrimitiveFields.m… in debugOutputProperties()
/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.java509 state.mLeft = view.getLeft(); in getOldSharedElementState()
585 view.layout(state.mLeft, state.mTop, state.mRight, state.mBottom); in setOriginalSharedElementState()
853 int mLeft; field in ActivityTransitionCoordinator.SharedElementOriginalState
/frameworks/base/core/java/android/view/
DView.java3021 protected int mLeft; field in View
4269 out.append(mLeft); in toString()
5012 position.offset(child.mLeft, child.mTop); in requestRectangleOnScreen()
5543 position.set(0, 0, mRight - mLeft, mBottom - mTop); in getBoundsOnScreen()
5549 position.offset(mLeft, mTop); in getBoundsOnScreen()
5561 position.offset(parentView.mLeft, parentView.mTop); in getBoundsOnScreen()
9624 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
9889 return mRight - mLeft;
9914 outRect.right = mScrollX + (mRight - mLeft);
10558 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop);
[all …]
DSurfaceView.java159 int mLeft = -1; field in SurfaceView
451 || mLeft != mLocation[0] || mTop != mLocation[1] in updateWindow()
457 + " left=" + (mLeft != mLocation[0]) in updateWindow()
462 mLeft = mLocation[0]; in updateWindow()
471 mLayout.x = mLeft; in updateWindow()
DViewGroup.java810 final int dx = child.mLeft - mScrollX; in translateBoundsAndIntersectionsInWindowCoordinates()
859 final int siblingDx = sibling.mLeft - mScrollX; in translateBoundsAndIntersectionsInWindowCoordinates()
2012 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedGenericPointerEvent()
2366 float localX = x + mScrollX - child.mLeft; in isTransformedTouchPointInView()
2426 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
2445 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
3175 mScrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
4582 location[CHILD_LEFT_INDEX] = child.mLeft; in invalidateChild()
4671 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
4674 final int left = mLeft; in invalidateChildInParent()
[all …]
DViewOverlay.java302 int left = child.mLeft; in damageChild()
DViewPropertyAnimator.java1014 renderNode.setTranslationX(value - mView.mLeft); in setValue()
1055 return mView.mLeft + node.getTranslationX(); in getValue()
/frameworks/av/media/libstagefright/
DMetaData.cpp85 r.mLeft = left; in setRect()
183 *left = r->mLeft; in findRect()
332 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
/frameworks/minikin/sample/
DMinikinSkia.cpp55 bounds->mLeft = skBounds.fLeft;
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp267 item->u.rectValue.mLeft = left; in setRect()
317 *left = item->u.rectValue.mLeft; in findRect()
511 item.u.rectValue.mLeft, in debugString()
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h124 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/base/core/jni/android/graphics/
DMinikinSkia.cpp75 bounds->mLeft = skBounds.fLeft; in GetBounds()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { in setFrame()
/frameworks/av/include/media/stagefright/
DMetaData.h276 int32_t mLeft, mTop, mRight, mBottom; member

12