/frameworks/base/core/java/android/widget/ |
D | RtlSpacingHelper.java | 28 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()
|
D | RelativeLayout.java | 487 width = Math.max(width, myWidth - params.mLeft); in onMeasure() 489 width = Math.max(width, myWidth - params.mLeft - params.leftMargin); in onMeasure() 509 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure() 559 params.mLeft = width - mPaddingRight - childWidth; in onMeasure() 560 params.mRight = params.mLeft + childWidth; in onMeasure() 614 params.mLeft += horizontalOffset; in onMeasure() 632 params.mLeft -= offsetWidth; in onMeasure() 652 return p1.mLeft - p2.mLeft; in compareLayoutPosition() 666 int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, in measureChild() 681 final int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, params.mRight, in measureChildHorizontal() [all …]
|
D | SlidingDrawer.java | 469 (!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()
|
D | Gallery.java | 638 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/support/v7/appcompat/src/android/support/v7/widget/ |
D | RtlSpacingHelper.java | 28 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()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChangeTest.java | 32 private View mLeft; field in GlobalFocusChangeTest 43 mLeft = mActivity.findViewById(R.id.left); in setUp() 58 assertFalse(mLeft.isFocused()); in testFocusChange() 61 assertSame(mLeft, mActivity.mOldFocus); in testFocusChange() 68 assertTrue(mLeft.isFocused()); in testEnterTouchMode() 70 TouchUtils.tapView(this, mLeft); in testEnterTouchMode() 72 assertSame(mLeft, mActivity.mOldFocus); in testEnterTouchMode() 79 assertTrue(mLeft.isFocused()); in testLeaveTouchMode() 81 TouchUtils.tapView(this, mLeft); in testLeaveTouchMode() 84 assertTrue(mLeft.isFocused()); in testLeaveTouchMode() [all …]
|
/frameworks/minikin/include/minikin/ |
D | MinikinFont.h | 62 float mLeft, mTop, mRight, mBottom; member 64 return mLeft == mRight || mTop == mBottom; in isEmpty() 67 mLeft = r.mLeft; in set() 73 mLeft += dx; in offset() 79 mLeft = mTop = mRight = mBottom = 0; in setEmpty()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
D | HorizontalGravityTest.java | 35 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/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | CustomLayout.java | 28 private int mLeft, mTop, mRight, mBottom; field in CustomLayout.LayoutParams 32 mLeft = left; in LayoutParams() 45 child.layout(lp.mLeft, lp.mTop, lp.mRight, lp.mBottom); in onLayout()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | AnimatedDrawables.h | 34 : mLeft(left) 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() 52 sp<uirenderer::CanvasPropertyPrimitive> mLeft;
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 84 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 103 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 122 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 141 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 175 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 194 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 217 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 238 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 274 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() 293 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F() [all …]
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 413 if (RP_SET(mPrimitiveFields.mLeft, left)) { in setLeft() 414 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeft() 424 return mPrimitiveFields.mLeft; in getLeft() 444 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setRight() 479 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop in setLeftTopRightBottom() 481 mPrimitiveFields.mLeft = left; in setLeftTopRightBottom() 485 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeftTopRightBottom() 497 mPrimitiveFields.mLeft += offset; in offsetLeftRight() 635 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
|
D | RenderProperties.cpp | 116 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties() 117 output << indent << "(Translate (left, top) " << mPrimitiveFields.mLeft in debugOutputProperties()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | RenderNode_Delegate.java | 52 private int mLeft; field in RenderNode_Delegate 192 if (delegate != null && delegate.mLeft != left) { in nSetLeft() 193 delegate.mLeft = left; in nSetLeft() 233 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate in nSetLeftTopRightBottom() 235 delegate.mLeft = left; in nSetLeftTopRightBottom() 268 return (delegate.mRight - delegate.mLeft) / 2.0f; in nGetPivotX()
|
/frameworks/av/media/libstagefright/codec2/include/ |
D | C2Buffer.h | 739 uint32_t mLeft; member 748 : mLeft(left), mTop(top), mWidth(width), mHeight(height) { } in C2Rect() 757 return mLeft <= ~mWidth && mTop <= ~mHeight; in isValid() 774 return mLeft <= other.mLeft && mTop <= other.mTop in contains() 775 && mLeft + mWidth >= other.mLeft + other.mWidth in contains() 786 return mLeft == other.mLeft && mTop == other.mTop
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 214 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/ |
D | Canvas.cpp | 125 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()() 132 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()() 136 bounds.mLeft, bounds.mTop, bounds.mRight, bounds.mBottom, totalAdvance); in operator ()()
|
/frameworks/minikin/tests/util/ |
D | MinikinFontForTest.cpp | 66 bounds->mLeft = 0.0f; in GetBounds()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 3793 protected int mLeft; field in View 5478 out.append(mLeft); 6713 position.offset(child.mLeft - child.getScrollX(), child.mTop -child.getScrollY()); 7334 position.set(0, 0, mRight - mLeft, mBottom - mTop); 7352 rect.offset(mLeft, mTop); 7371 rect.offset(parentView.mLeft, parentView.mTop); 7518 ignoredParentLeft += parentGroup.mLeft; 7530 structure.setDimens(ignoredParentLeft + mLeft, ignoredParentTop + mTop, mScrollX, mScrollY, 7531 mRight - mLeft, mBottom - mTop); 13590 return mRight - mLeft; [all …]
|
D | ViewGroup.java | 1946 final float offsetX = mScrollX - child.mLeft; in dispatchResolvePointerIcon() 2276 final float offsetX = mScrollX - child.mLeft; in dispatchTooltipHoverEvent() 2443 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedGenericPointerEvent() 2462 final float offsetX = mScrollX - child.mLeft; in getTransformedMotionEvent() 2906 point[0] += mScrollX - child.mLeft; in transformPointToViewLocal() 2957 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent() 2976 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent() 3964 mScrollX + mRight - mLeft - mPaddingRight, in dispatchDraw() 5727 location[CHILD_LEFT_INDEX] = child.mLeft; in invalidateChild() 5821 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | MetaData.cpp | 85 r.mLeft = left; in setRect() 183 *left = r->mLeft; in findRect() 345 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
|
D | AMessage.cpp | 336 item->u.rectValue.mLeft = left; in setRect() 386 *left = item->u.rectValue.mLeft; in findRect() 623 item.u.rectValue.mLeft, in debugString() 867 item.mName, item.u.rectValue.mLeft, item.u.rectValue.mTop, in changesFrom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotSelectorView.java | 77 canvas.drawRect(mLeft, mTop, mRight, mBottom, mPaintBackground); in draw()
|
/frameworks/support/transition/src/android/support/transition/ |
D | ChangeBounds.java | 459 private int mLeft; field in ChangeBounds.ViewBounds 472 mLeft = Math.round(topLeft.x); in setTopLeft() 490 ViewUtils.setLeftTopRightBottom(mView, mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeBounds.java | 471 private int mLeft; field in ChangeBounds.ViewBounds 484 mLeft = Math.round(topLeft.x); in setTopLeft() 502 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
|