/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 | 429 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 …]
|
D | SlidingDrawer.java | 448 (!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()
|
D | Gallery.java | 612 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()
|
D | AnalogClock.java | 169 int availableWidth = mRight - mLeft; in onDraw()
|
D | TextView.java | 2694 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 …]
|
D | NumberPicker.java | 1368 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()
|
D | LinearLayout.java | 1441 final int width = mRight - mLeft; in layoutVertical() 1552 childLeft = mPaddingLeft + mRight - mLeft - mTotalLength; in layoutHorizontal() 1557 childLeft = mPaddingLeft + (mRight - mLeft - mTotalLength) / 2; in layoutHorizontal()
|
D | FrameLayout.java | 477 final int w = mRight-mLeft; in draw()
|
D | HorizontalScrollView.java | 189 return (int) (MAX_SCROLL_FACTOR * (mRight - mLeft)); in getMaxScrollAmount() 1458 final int maxJump = mRight - mLeft; in onSizeChanged()
|
/frameworks/base/libs/hwui/ |
D | DisplayListRenderer.h | 303 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 …]
|
D | DisplayListRenderer.cpp | 109 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/ |
D | View.java | 2805 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 …]
|
D | SurfaceView.java | 151 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()
|
D | ViewGroup.java | 1775 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 …]
|
D | ViewPropertyAnimator.java | 876 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/ |
D | MetaData.cpp | 82 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/ |
D | AMessage.cpp | 193 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/ |
D | AMessage.h | 121 int32_t mLeft, mTop, mRight, mBottom; member
|
/frameworks/av/include/media/stagefright/ |
D | MetaData.h | 254 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 | 241 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()
|
D | RecentsVerticalScrollView.java | 249 int right = left + mRight - mLeft - mPaddingRight - paddingLeft; in draw()
|