Searched refs:mTop (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFixedSizeDrawable.java28 int mTop; field in class:FixedSizeDrawable
38 mTop = t;
44 mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
48 mDrawable.setBounds(mLeft, mTop, mRight, mBottom);
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DVerticalGravityTest.java36 private View mTop; field in class:VerticalGravityTest
52 mTop = activity.findViewById(R.id.cell_top);
62 assertNotNull(mTop);
69 ViewAsserts.assertTopAligned(mReference1, mTop);
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java456 top = Math.min(top, params.mTop - params.topMargin);
475 top = Math.min(top, params.mTop - params.topMargin);
540 params.mTop = height - mPaddingBottom - childHeight;
541 params.mBottom = params.mTop + childHeight;
569 params.mTop += verticalOffset;
588 int offset = anchorParams.mTop + anchorBaseline;
593 int height = params.mBottom - params.mTop;
594 params.mTop = offset;
595 params.mBottom = params.mTop + height;
603 if (params.mTop < l
1139 private int mLeft, mTop, mRight, mBottom; field in class:RelativeLayout.LayoutParams
[all...]
H A DSlidingDrawer.java450 (!mExpanded && top > mBottomOffset + mBottom - mTop -
574 handle.offsetTopAndBottom(mBottomOffset + mBottom - mTop -
582 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) {
583 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top;
643 int height = mBottom - mTop - childHeight - mTopOffset;
652 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY));
H A DAnalogClock.java174 int availableHeight = mBottom - mTop;
H A DLinearLayout.java492 childTop = mBottom - mTop - mPaddingBottom - mTotalLength;
496 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) -
1469 childTop = mPaddingTop + mBottom - mTop - mTotalLength;
1474 childTop = mPaddingTop + (mBottom - mTop - mTotalLength) / 2;
1546 final int height = mBottom - mTop;
H A DListView.java191 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop));
666 int end = (mBottom - mTop);
1377 final int end = (mBottom - mTop) - mListPadding.bottom;
1428 final int end = (mBottom - mTop) - mListPadding.bottom;
1482 int childrenBottom = mBottom - mTop - mListPadding.bottom;
2933 final int listBottom = mBottom - mTop - mListPadding.bottom;
3180 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
H A DFrameLayout.java478 final int h = mBottom-mTop;
H A DGridView.java277 int end = (mBottom - mTop);
598 final int end = (mBottom - mTop) - mListPadding.bottom;
641 final int end = (mBottom - mTop) - mListPadding.bottom;
1146 final int childrenBottom = mBottom - mTop - mListPadding.bottom;
H A DNumberPicker.java1595 float totalTextGapHeight = (mBottom - mTop) - totalTextHeight;
1610 setFadingEdgeLength((mBottom - mTop - mTextSize) / 2);
2143 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop));
2155 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop));
H A DAdapterView.java747 this.onLayout(false, mLeft, mTop, mRight, mBottom);
H A DExpandableListView.java247 scrollY + mBottom - mTop - mPaddingBottom);
H A DImageView.java977 scrollY + mBottom - mTop - mPaddingBottom);
H A DTextView.java4573 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop;
4580 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop;
4597 scrollY += (mBottom - mTop - mPaddingBottom - drawables.mDrawableSizeBottom);
4753 final int top = mTop;
4835 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop;
6346 int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom();
6451 int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom();
6604 final int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom();
6691 output += "frame={" + mLeft + ", " + mTop + ", " + mRight
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h315 if (top != mTop) {
316 mTop = top;
317 mHeight = mBottom - mTop;
337 mHeight = mBottom - mTop;
345 if (left != mLeft || top != mTop) {
347 mTop = top;
349 mHeight = mBottom - mTop;
357 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) {
359 mTop = top;
363 mHeight = mBottom - mTop;
521 int mLeft, mTop, mRight, mBottom; member in class:android::uirenderer::DisplayList
[all...]
H A DDisplayListRenderer.cpp282 mTop = 0;
731 if (mLeft != 0 || mTop != 0) {
732 ALOGD("%s%s %d, %d", indent, "Translate (left, top)", mLeft, mTop);
774 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop,
780 (float) mRight - mLeft, (float) mBottom - mTop);
794 if (mLeft != 0 || mTop != 0) {
795 DISPLAY_LIST_LOGD("%s%s %d, %d", indent, "Translate (left, top)", mLeft, mTop);
796 renderer.translate(mLeft, mTop);
848 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop,
850 renderer.saveLayerAlpha(0, 0, mRight - mLeft, mBottom - mTop,
[all...]
/frameworks/base/core/java/android/view/
H A DView.java2770 protected int mTop; field in class:View
3771 out.append(mTop);
4437 position.offset(child.mLeft, child.mTop);
4925 position.set(0, 0, mRight - mLeft, mBottom - mTop);
4931 position.offset(mLeft, mTop);
4943 position.offset(parentView.mLeft, parentView.mTop);
8428 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
8680 return mBottom - mTop;
8696 outRect.bottom = mScrollY + (mBottom - mTop);
8823 if ((mRight - mLeft) != info.mPrevWidth || (mBottom - mTop) !
[all...]
H A DSurfaceView.java157 int mTop = -1; field in class:SurfaceView
443 || mLeft != mLocation[0] || mTop != mLocation[1]
450 + " top=" + (mTop != mLocation[1]));
455 mTop = mLocation[1];
464 mLayout.y = mTop;
H A DViewGroup.java1771 final float offsetY = mScrollY - child.mTop;
2111 float localY = y + mScrollY - child.mTop;
2171 final float offsetY = mScrollY - child.mTop;
2190 final float offsetY = mScrollY - child.mTop;
2782 mScrollY + mBottom - mTop - mPaddingBottom);
4023 location[CHILD_TOP_INDEX] = child.mTop;
4112 final int top = mTop;
4135 location[CHILD_TOP_INDEX] = mTop;
4137 dirty.set(0, 0, mRight - mLeft, mBottom - mTop);
4140 dirty.union(0, 0, mRight - mLeft, mBottom - mTop);
[all...]
H A DViewPropertyAnimator.java880 info.mTranslationY = value - mView.mTop;
881 if (displayList != null) displayList.setTranslationY(value - mView.mTop);
916 return mView.mTop + info.mTranslationY;
/frameworks/av/media/libstagefright/
H A DMetaData.cpp85 r.mTop = top;
180 *top = r->mTop;
317 r->mLeft, r->mTop, r->mRight, r->mBottom);
/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.cpp195 item->u.rectValue.mTop = top;
245 *top = item->u.rectValue.mTop;
430 item.u.rectValue.mTop,

Completed in 8112 milliseconds

12