Searched refs:mRight (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFixedSizeDrawable.java29 int mRight; field in class:FixedSizeDrawable
39 mRight = r;
44 mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
48 mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
/frameworks/base/core/tests/coretests/src/android/view/
H A DGlobalFocusChangeTest.java31 private View mRight; field in class:GlobalFocusChangeTest
42 mRight = mActivity.findViewById(R.id.right);
57 assertTrue(mRight.isFocused());
60 assertSame(mRight, mActivity.mNewFocus);
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java447 width = Math.max(width, params.mRight);
460 right = Math.max(right, params.mRight + params.rightMargin);
479 right = Math.max(right, params.mRight + params.rightMargin);
511 params.mRight = params.mLeft + childWidth;
566 params.mRight += horizontalOffset;
621 params.mRight, params.width,
635 params.mRight, params.width,
733 if (params.mLeft < 0 && params.mRight >= 0) {
735 params.mLeft = params.mRight - child.getMeasuredWidth();
736 } else if (params.mLeft >= 0 && params.mRight <
1139 private int mLeft, mTop, mRight, mBottom; field in class:RelativeLayout.LayoutParams
[all...]
H A DNumberPicker.java1401 float x = (mRight - mLeft) / 2;
1409 mVirtualButtonPressedDrawable.setBounds(0, 0, mRight, mTopSelectionDividerTop);
1414 mVirtualButtonPressedDrawable.setBounds(0, mBottomSelectionDividerBottom, mRight,
1441 mSelectionDivider.setBounds(0, topOfTopDivider, mRight, bottomOfTopDivider);
1447 mSelectionDivider.setBounds(0, topOfBottomDivider, mRight, bottomOfBottomDivider);
1999 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom);
2003 invalidate(0, 0, mRight, mTopSelectionDividerTop);
2028 invalidate(0, mBottomSelectionDividerBottom, mRight, mBottom);
2032 invalidate(0, 0, mRight, mTopSelectionDividerTop);
2044 invalidate(0, mBottomSelectionDividerBottom, mRight, mBotto
[all...]
H A DSlidingDrawer.java453 (!mExpanded && left > mBottomOffset + mRight - mLeft -
604 handle.offsetLeftAndRight(mBottomOffset + mRight - mLeft -
612 } else if (deltaX > mBottomOffset + mRight - mLeft - mHandleWidth - left) {
613 deltaX = mBottomOffset + mRight - mLeft - mHandleWidth - left;
644 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY),
650 int width = mRight - mLeft - childWidth - mTopOffset;
H A DGallery.java627 int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right;
713 curRightEdge = mRight - mLeft - mPaddingRight;
742 curRightEdge = mRight - mLeft - mPaddingRight;
769 int galleryRight = mRight - mLeft - mPaddingRight;
800 int galleryRight = mRight - mLeft - mPaddingRight;
H A DAnalogClock.java173 int availableWidth = mRight - mLeft;
H A DTextView.java2714 mRight - mLeft - getCompoundPaddingLeft() -
4582 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight);
4587 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft;
4594 final int hspace = mRight - mLeft - compoundPaddingRight - compoundPaddingLeft;
4750 final int right = mRight;
4873 final int width = mRight - mLeft;
5627 int width = mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight();
6272 (mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight() > 0)) {
6285 mRight - mLeft - getCompoundPaddingLeft() - getCompoundPaddingRight(),
6345 int hspace = mRight
[all...]
H A DLinearLayout.java1455 final int width = mRight - mLeft;
1566 childLeft = mPaddingLeft + mRight - mLeft - mTotalLength;
1571 childLeft = mPaddingLeft + (mRight - mLeft - mTotalLength) / 2;
H A DFrameLayout.java477 final int w = mRight-mLeft;
H A DHorizontalScrollView.java191 return (int) (MAX_SCROLL_FACTOR * (mRight - mLeft));
1471 final int maxJump = mRight - mLeft;
H A DAdapterView.java747 this.onLayout(false, mLeft, mTop, mRight, mBottom);
H A DExpandableListView.java246 scrollX + mRight - mLeft - mPaddingRight,
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java195 childRight = mRight - mLeft - mPaddingRight;
200 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2;
215 if (childRight > mRight - mLeft - mPaddingRight) {
216 childRight = mRight - mLeft - mPaddingRight;
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h307 mWidth = mRight - mLeft;
325 if (right != mRight) {
326 mRight = right;
327 mWidth = mRight - mLeft;
348 mWidth = mRight - mLeft;
357 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) {
360 mRight = right;
362 mWidth = mRight - mLeft;
373 mRight += offset;
521 int mLeft, mTop, mRight, mBotto member in class:android::uirenderer::DisplayList
[all...]
H A DDisplayListRenderer.cpp283 mRight = 0;
774 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop,
780 (float) mRight - mLeft, (float) mBottom - mTop);
848 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop,
850 renderer.saveLayerAlpha(0, 0, mRight - mLeft, mBottom - mTop,
856 (float) mRight - mLeft, (float) mBottom - mTop);
857 renderer.clipRect(0, 0, mRight - mLeft, mBottom - mTop,
/frameworks/av/media/libstagefright/
H A DMetaData.cpp86 r.mRight = right;
181 *right = r->mRight;
317 r->mLeft, r->mTop, r->mRight, r->mBottom);
/frameworks/base/core/java/android/view/
H A DView.java2763 protected int mRight; field in class:View
3773 out.append(mRight);
4925 position.set(0, 0, mRight - mLeft, mBottom - mTop);
8428 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
8670 return mRight - mLeft;
8695 outRect.right = mScrollX + (mRight - mLeft);
8823 if ((mRight - mLeft) != info.mPrevWidth || (mBottom - mTop) != info.mPrevHeight) {
8824 info.mPrevWidth = mRight - mLeft;
9424 invalidate(0, yLoc, mRight - mLeft, mBottom - minTop);
9431 int width = mRight
[all...]
H A DViewGroup.java2781 mScrollX + mRight - mLeft - mPaddingRight,
4115 if (!dirty.intersect(0, 0, mRight - left, mBottom - top)) {
4137 dirty.set(0, 0, mRight - mLeft, mBottom - mTop);
4140 dirty.union(0, 0, mRight - mLeft, mBottom - mTop);
4211 dirty.intersect(0, 0, mRight - mLeft, mBottom - mTop)) {
4271 rect.intersect(0, 0, p.mRight - p.mLeft, p.mBottom - p.mTop);
4276 rect.intersect(0, 0, p.mRight - p.mLeft, p.mBottom - p.mTop);
4356 if (rect.intersect(0, 0, mRight - mLeft, mBottom - mTop)) {
/frameworks/av/include/media/stagefright/
H A DMetaData.h255 int32_t mLeft, mTop, mRight, mBottom; member in struct:android::MetaData::Rect
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h121 int32_t mLeft, mTop, mRight, mBottom; member in struct:android::AMessage::Rect
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp196 item->u.rectValue.mRight = right;
246 *right = item->u.rectValue.mRight;
431 item.u.rectValue.mRight,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsHorizontalScrollView.java248 int right = left + mRight - mLeft - mPaddingRight - paddingLeft;
H A DRecentsVerticalScrollView.java257 int right = left + mRight - mLeft - mPaddingRight - paddingLeft;

Completed in 237 milliseconds

12