/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChangeTest.java | 30 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/ |
D | FixedSizeDrawable.java | 27 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/ |
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/core/java/android/widget/ |
D | RelativeLayout.java | 406 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 …]
|
D | SlidingDrawer.java | 447 (!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()
|
D | Gallery.java | 607 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()
|
D | AnalogClock.java | 169 int availableWidth = mRight - mLeft; in onDraw()
|
D | LinearLayout.java | 1420 final int width = mRight - mLeft; in layoutVertical() 1531 childLeft = mPaddingLeft + mRight - mLeft - mTotalLength; in layoutHorizontal() 1536 childLeft = mPaddingLeft + (mRight - mLeft - mTotalLength) / 2; in layoutHorizontal()
|
D | TextView.java | 2490 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 …]
|
D | FrameLayout.java | 460 final int w = mRight-mLeft; in draw()
|
D | HorizontalScrollView.java | 193 return (int) (MAX_SCROLL_FACTOR * (mRight - mLeft)); in getMaxScrollAmount() 1397 final int maxJump = mRight - mLeft; in onSizeChanged()
|
D | AdapterView.java | 735 this.onLayout(false, mLeft, mTop, mRight, mBottom); in updateEmptyStatus()
|
D | Spinner.java | 303 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
|
D | ExpandableListView.java | 244 scrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 2189 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 …]
|
D | SurfaceView.java | 153 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()
|
D | ViewGroup.java | 1584 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 …]
|
D | ViewPropertyAnimator.java | 749 info.mTranslationX = value - mView.mLeft; in setValue() 784 return mView.mLeft + info.mTranslationX; in getValue()
|
/frameworks/base/media/libstagefright/ |
D | MetaData.cpp | 78 r.mLeft = left; in setRect() 173 *left = r->mLeft; in findRect()
|
/frameworks/base/media/libstagefright/foundation/ |
D | AMessage.cpp | 182 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/ |
D | AMessage.h | 114 int32_t mLeft, mTop, mRight, mBottom; member
|
/frameworks/base/include/media/stagefright/ |
D | MetaData.h | 220 int32_t mLeft, mTop, mRight, mBottom; member
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | RecentApplicationsBackground.java | 63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { in setFrame()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentsHorizontalScrollView.java | 197 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()
|
D | RecentsVerticalScrollView.java | 212 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()
|