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/libs/hwui/
DDisplayList.h343 if (left != mLeft) { in setLeft()
344 mLeft = left; in setLeft()
345 mWidth = mRight - mLeft; in setLeft()
353 return mLeft; in getLeft()
373 mWidth = mRight - mLeft; in setRight()
399 if (left != mLeft || top != mTop) { in setLeftTop()
400 mLeft = left; in setLeftTop()
402 mWidth = mRight - mLeft; in setLeftTop()
411 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) { in setLeftTopRightBottom()
412 mLeft = left; in setLeftTopRightBottom()
[all …]
DDisplayList.cpp247 mLeft = 0; in init()
352 if (mLeft != 0 || mTop != 0) { in outputViewProperties()
353 ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mLeft, mTop); in outputViewProperties()
385 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop, in outputViewProperties()
391 (float) mRight - mLeft, (float) mBottom - mTop); in outputViewProperties()
409 if (mLeft != 0 || mTop != 0) { in setViewProperties()
410 renderer.translate(mLeft, mTop); in setViewProperties()
439 handler(mSaveLayerOp->reinit(0, 0, mRight - mLeft, mBottom - mTop, in setViewProperties()
445 handler(mClipRectOp->reinit(0, 0, mRight - mLeft, mBottom - mTop, SkRegion::kIntersect_Op), in setViewProperties()
/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.java481 width = Math.max(width, myWidth - params.mLeft); in onMeasure()
483 width = Math.max(width, myWidth - params.mLeft - params.leftMargin); in onMeasure()
503 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
522 left = Math.min(left, params.mLeft - params.leftMargin); in onMeasure()
556 params.mLeft = width - mPaddingRight - childWidth; in onMeasure()
557 params.mRight = params.mLeft + childWidth; in onMeasure()
611 params.mLeft += horizontalOffset; in onMeasure()
629 params.mLeft -= offsetWidth; in onMeasure()
662 if (params.mTop < lp.mTop || (params.mTop == lp.mTop && params.mLeft < lp.mLeft)) { in alignBaseline()
679 int childWidthMeasureSpec = getChildMeasureSpec(params.mLeft, in measureChild()
[all …]
DSlidingDrawer.java453 (!mExpanded && left > mBottomOffset + mRight - mLeft - in onTouchEvent()
604 handle.offsetLeftAndRight(mBottomOffset + mRight - mLeft - in moveHandle()
612 } else if (deltaX > mBottomOffset + mRight - mLeft - mHandleWidth - left) { in moveHandle()
613 deltaX = mBottomOffset + mRight - mLeft - mHandleWidth - left; in moveHandle()
644 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent()
650 int width = mRight - mLeft - childWidth - mTopOffset; in prepareContent()
DGallery.java627 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
713 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftRtl()
742 curRightEdge = mRight - mLeft - mPaddingRight; in fillToGalleryLeftLtr()
769 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightRtl()
800 int galleryRight = mRight - mLeft - mPaddingRight; in fillToGalleryRightLtr()
DNumberPicker.java1453 float x = (mRight - mLeft) / 2; in onDraw()
2197 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
2201 mScrollX + (mRight - mLeft), in createAccessibilityNodeInfo()
2206 mScrollX + (mRight - mLeft), in createAccessibilityNodeInfo()
2212 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
DAnalogClock.java173 int availableWidth = mRight - mLeft; in onDraw()
DTextView.java2972 mRight - mLeft - getCompoundPaddingLeft() - in setGravity()
4836 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable()
4841 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
4848 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft; in invalidateDrawable()
5022 final int left = mLeft; in onDraw()
5147 final int width = mRight - mLeft; in onDraw()
5921 int width = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in assumeLayout()
6559 (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) { in checkForRelayout()
6572 mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(), in checkForRelayout()
6631 int hspace = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(); in bringTextIntoView()
[all …]
DFrameLayout.java482 final int w = mRight-mLeft; in draw()
DAdapterView.java748 this.onLayout(false, mLeft, mTop, mRight, mBottom); in updateEmptyStatus()
DHorizontalScrollView.java196 return (int) (MAX_SCROLL_FACTOR * (mRight - mLeft)); in getMaxScrollAmount()
1518 final int maxJump = mRight - mLeft; in onSizeChanged()
DSpinner.java515 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right; in layout()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java195 childRight = mRight - mLeft - mPaddingRight; in onLayout()
200 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; in onLayout()
215 if (childRight > mRight - mLeft - mPaddingRight) { in onLayout()
216 childRight = mRight - mLeft - mPaddingRight; in onLayout()
/frameworks/base/core/java/android/view/
DView.java2952 protected int mLeft; field in View
4005 out.append(mLeft); in toString()
4675 position.offset(child.mLeft, child.mTop); in requestRectangleOnScreen()
5200 position.set(0, 0, mRight - mLeft, mBottom - mTop); in getBoundsOnScreen()
5206 position.offset(mLeft, mTop); in getBoundsOnScreen()
5218 position.offset(parentView.mLeft, parentView.mTop); in getBoundsOnScreen()
8899 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
9162 return mRight - mLeft;
9187 outRect.right = mScrollX + (mRight - mLeft);
9315 if ((mRight - mLeft) != info.mPrevWidth || (mBottom - mTop) != info.mPrevHeight) {
[all …]
DSurfaceView.java158 int mLeft = -1; field in SurfaceView
444 || mLeft != mLocation[0] || mTop != mLocation[1] in updateWindow()
450 + " left=" + (mLeft != mLocation[0]) in updateWindow()
455 mLeft = mLocation[0]; in updateWindow()
464 mLayout.x = mLeft; in updateWindow()
DViewGroup.java1812 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedGenericPointerEvent()
2152 float localX = x + mScrollX - child.mLeft; in isTransformedTouchPointInView()
2212 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
2231 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent()
2924 mScrollX + mRight - mLeft - mPaddingRight, in dispatchDraw()
4265 location[CHILD_LEFT_INDEX] = child.mLeft; in invalidateChild()
4354 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
4357 final int left = mLeft; in invalidateChildInParent()
4380 location[CHILD_LEFT_INDEX] = mLeft; in invalidateChildInParent()
4383 dirty.set(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
[all …]
DViewPropertyAnimator.java933 info.mTranslationX = value - mView.mLeft; in setValue()
934 if (displayList != null) displayList.setTranslationX(value - mView.mLeft); in setValue()
971 return mView.mLeft + info.mTranslationX; in getValue()
DViewOverlay.java293 int left = child.mLeft; in invalidateChildFast()
/frameworks/av/media/libstagefright/
DMetaData.cpp84 r.mLeft = left; in setRect()
182 *left = r->mLeft; in findRect()
321 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp194 item->u.rectValue.mLeft = left; in setRect()
244 *left = item->u.rectValue.mLeft; in findRect()
429 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.h262 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()

12