Home
last modified time | relevance | path

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

12

/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFixedSizeDrawable.java27 int mLeft; field in FixedSizeDrawable
37 mLeft = l; in setFixedBounds()
44 mDrawable.setBounds(mLeft, mTop, mRight, mBottom); in setBounds()
48 mDrawable.setBounds(mLeft, mTop, mRight, mBottom); in setBounds()
/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/core/java/android/widget/
DRelativeLayout.java429 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
448 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
482 params.mLeft = width - mPaddingRight - childWidth; in onMeasure()
483 params.mRight = params.mLeft + childWidth; in onMeasure()
538 params.mLeft += horizontalOffset; in onMeasure()
575 if (params.mTop < lp.mTop || (params.mTop == lp.mTop && params.mLeft < lp.mLeft)) { in alignBaseline()
592 int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, in measureChild()
606 int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, in measureChildHorizontal()
704 if (params.mLeft < 0 && params.mRight >= 0) { in positionChildHorizontal()
706 params.mLeft = params.mRight - child.getMeasuredWidth(); in positionChildHorizontal()
[all …]
DSlidingDrawer.java448 (!mExpanded && left > mBottomOffset + mRight - mLeft - in onTouchEvent()
599 handle.offsetLeftAndRight(mBottomOffset + mRight - mLeft - in moveHandle()
607 } else if (deltaX > mBottomOffset + mRight - mLeft - mHandleWidth - left) { in moveHandle()
608 deltaX = mBottomOffset + mRight - mLeft - mHandleWidth - left; in moveHandle()
639 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent()
645 int width = mRight - mLeft - childWidth - mTopOffset; in prepareContent()
DGallery.java612 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
697 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl()
726 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr()
753 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl()
784 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr()
DAnalogClock.java169 int availableWidth = mRight - mLeft; in onDraw()
DTextView.java2694 mRight - mLeft - getCompoundPaddingLeft() - in setGravity()
4565 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable()
4570 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
4577 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
4751 final int left = mLeft; in onDraw()
4871 canvas.translate(mLayout.getLineRight(0) - (mRight - mLeft - in onDraw()
5621 int width = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in assumeLayout()
6268 (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { in checkForRelayout()
6281 mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(), in checkForRelayout()
6336 int hspace = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in bringTextIntoView()
[all …]
DNumberPicker.java1368 float x = (mRight - mLeft) / 2; in onDraw()
2109 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
2113 mScrollX + (mRight - mLeft), in createAccessibilityNodeInfo()
2121 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
DLinearLayout.java1441 final int width = mRight - mLeft; in layoutVertical()
1552 childLeft = mPaddingLeft + mRight - mLeft - mTotalLength; in layoutHorizontal()
1557 childLeft = mPaddingLeft + (mRight - mLeft - mTotalLength) / 2; in layoutHorizontal()
DFrameLayout.java477 final int w = mRight-mLeft; in draw()
DHorizontalScrollView.java189 return (int) (MAX_SCROLL_FACTOR * (mRight - mLeft)); in getMaxScrollAmount()
1458 final int maxJump = mRight - mLeft; in onSizeChanged()
/frameworks/base/libs/hwui/
DDisplayListRenderer.h303 if (left != mLeft) { in setLeft()
304 mLeft = left; in setLeft()
305 mWidth = mRight - mLeft; in setLeft()
325 mWidth = mRight - mLeft; in setRight()
343 if (left != mLeft || top != mTop) { in setLeftTop()
344 mLeft = left; in setLeftTop()
346 mWidth = mRight - mLeft; in setLeftTop()
355 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) { in setLeftTopRightBottom()
356 mLeft = left; in setLeftTopRightBottom()
360 mWidth = mRight - mLeft; in setLeftTopRightBottom()
[all …]
DDisplayListRenderer.cpp109 mLeft = 0; in initProperties()
700 if (mLeft != 0 || mTop != 0) { in outputViewProperties()
701 ALOGD("%s%s %d, %d", indent, "Translate (left, top)", mLeft, mTop); in outputViewProperties()
743 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop, in outputViewProperties()
748 (float) mRight - mLeft, (float) mBottom - mTop); in outputViewProperties()
762 if (mLeft != 0 || mTop != 0) { in setViewProperties()
763 DISPLAY_LIST_LOGD("%s%s %d, %d", indent, "Translate (left, top)", mLeft, mTop); in setViewProperties()
764 renderer.translate(mLeft, mTop); in setViewProperties()
816 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop, in setViewProperties()
818 renderer.saveLayerAlpha(0, 0, mRight - mLeft, mBottom - mTop, in setViewProperties()
[all …]
/frameworks/base/core/java/android/view/
DView.java2805 protected int mLeft; field in View
4788 position.set(0, 0, mRight - mLeft, mBottom - mTop); in getBoundsOnScreen()
4794 position.offset(mLeft, mTop); in getBoundsOnScreen()
4806 position.offset(parentView.mLeft, parentView.mTop); in getBoundsOnScreen()
8313 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
8555 return mRight - mLeft;
8578 outRect.right = mScrollX + (mRight - mLeft);
8706 if ((mRight - mLeft) != info.mPrevWidth || (mBottom - mTop) != info.mPrevHeight) {
8707 info.mPrevWidth = mRight - mLeft;
9307 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop);
[all …]
DSurfaceView.java151 int mLeft = -1; field in SurfaceView
418 || mLeft != mLocation[0] || mTop != mLocation[1] in updateWindow()
424 + " left=" + (mLeft != mLocation[0]) in updateWindow()
429 mLeft = mLocation[0]; in updateWindow()
438 mLayout.x = mLeft; in updateWindow()
DViewGroup.java1775 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedGenericPointerEvent()
2112 float localX = x + mScrollX - child.mLeft; in isTransformedTouchPointInView()
2172 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
2191 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
2783 mScrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
4027 location[CHILD_LEFT_INDEX] = child.mLeft; in invalidateChild()
4100 final int left = mLeft; in invalidateChildInParent()
4121 location[CHILD_LEFT_INDEX] = mLeft; in invalidateChildInParent()
4124 dirty.set(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
4127 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
[all …]
DViewPropertyAnimator.java876 info.mTranslationX = value - mView.mLeft; in setValue()
877 if (displayList != null) displayList.setTranslationX(value - mView.mLeft); in setValue()
914 return mView.mLeft + info.mTranslationX; in getValue()
/frameworks/av/media/libstagefright/
DMetaData.cpp82 r.mLeft = left; in setRect()
177 *left = r->mLeft; in findRect()
315 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp193 item->u.rectValue.mLeft = left; in setRect()
243 *left = item->u.rectValue.mLeft; in findRect()
417 item.u.rectValue.mLeft, in debugString()
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h121 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/av/include/media/stagefright/
DMetaData.h254 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { in setFrame()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java241 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()
DRecentsVerticalScrollView.java249 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()

12