Home
last modified time | relevance | path

Searched refs:mLeft (Results 1 – 25 of 34) 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.java406 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
425 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
459 params.mLeft = width - mPaddingRight - childWidth; in onMeasure()
460 params.mRight = params.mLeft + childWidth; in onMeasure()
515 params.mLeft += horizontalOffset; in onMeasure()
552 if (params.mTop < lp.mTop || (params.mTop == lp.mTop && params.mLeft < lp.mLeft)) { in alignBaseline()
569 int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, in measureChild()
583 int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, in measureChildHorizontal()
681 if (params.mLeft < 0 && params.mRight >= 0) { in positionChildHorizontal()
683 params.mLeft = params.mRight - child.getMeasuredWidth(); in positionChildHorizontal()
[all …]
DSlidingDrawer.java447 (!mExpanded && left > mBottomOffset + mRight - mLeft - in onTouchEvent()
598 handle.offsetLeftAndRight(mBottomOffset + mRight - mLeft - in moveHandle()
606 } else if (deltaX > mBottomOffset + mRight - mLeft - mHandleWidth - left) { in moveHandle()
607 deltaX = mBottomOffset + mRight - mLeft - mHandleWidth - left; in moveHandle()
638 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent()
644 int width = mRight - mLeft - childWidth - mTopOffset; in prepareContent()
DGallery.java607 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
692 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl()
721 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr()
748 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl()
779 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr()
DAnalogClock.java169 int availableWidth = mRight - mLeft; in onDraw()
DLinearLayout.java1420 final int width = mRight - mLeft; in layoutVertical()
1531 childLeft = mPaddingLeft + mRight - mLeft - mTotalLength; in layoutHorizontal()
1536 childLeft = mPaddingLeft + (mRight - mLeft - mTotalLength) / 2; in layoutHorizontal()
DTextView.java2490 mRight - mLeft - getCompoundPaddingLeft() - in setGravity()
4554 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable()
4559 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
4566 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
4721 final int left = mLeft; in onDraw()
4844 canvas.translate(mLayout.getLineRight(0) - (mRight - mLeft - in onDraw()
6038 int width = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in assumeLayout()
6675 (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { in checkForRelayout()
6688 mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(), in checkForRelayout()
6732 int hspace = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in bringTextIntoView()
[all …]
DFrameLayout.java460 final int w = mRight-mLeft; in draw()
DHorizontalScrollView.java193 return (int) (MAX_SCROLL_FACTOR * (mRight - mLeft)); in getMaxScrollAmount()
1397 final int maxJump = mRight - mLeft; in onSizeChanged()
DAdapterView.java735 this.onLayout(false, mLeft, mTop, mRight, mBottom); in updateEmptyStatus()
DSpinner.java303 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
DExpandableListView.java244 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
/frameworks/base/core/java/android/view/
DView.java2189 protected int mLeft; field in View
6650 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
6886 return mRight - mLeft;
6909 outRect.right = mScrollX + (mRight - mLeft);
7037 if ((mRight - mLeft) != info.mPrevWidth || (mBottom - mTop) != info.mPrevHeight) {
7038 info.mPrevWidth = mRight - mLeft;
7540 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop);
7547 int width = mRight - mLeft;
7606 invalidate(0, 0, mRight - mLeft, maxBottom - mTop);
7613 int width = mRight - mLeft;
[all …]
DSurfaceView.java153 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.java1584 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedGenericPointerEvent()
1895 float localX = x + mScrollX - child.mLeft; in isTransformedTouchPointInView()
1955 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
1974 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
2479 mScrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
2623 final int cl = child.mLeft; in drawChild()
3966 location[CHILD_LEFT_INDEX] = child.mLeft; in invalidateChild()
4050 final int left = mLeft; in invalidateChildInParent()
4070 location[CHILD_LEFT_INDEX] = mLeft; in invalidateChildInParent()
4073 dirty.set(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
[all …]
DViewPropertyAnimator.java749 info.mTranslationX = value - mView.mLeft; in setValue()
784 return mView.mLeft + info.mTranslationX; in getValue()
/frameworks/base/media/libstagefright/
DMetaData.cpp78 r.mLeft = left; in setRect()
173 *left = r->mLeft; in findRect()
/frameworks/base/media/libstagefright/foundation/
DAMessage.cpp182 item->u.rectValue.mLeft = left; in setRect()
223 *left = item->u.rectValue.mLeft; in findRect()
392 item.u.rectValue.mLeft, in debugString()
/frameworks/base/include/media/stagefright/foundation/
DAMessage.h114 int32_t mLeft, mTop, mRight, mBottom; member
/frameworks/base/include/media/stagefright/
DMetaData.h220 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.java197 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()
DRecentsVerticalScrollView.java212 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()

12