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

12

/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/libs/hwui/
H A DDisplayList.h357 if (top != mTop) {
358 mTop = top;
359 mHeight = mBottom - mTop;
367 return mTop;
387 mHeight = mBottom - mTop;
399 if (left != mLeft || top != mTop) {
401 mTop = top;
403 mHeight = mBottom - mTop;
411 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) {
413 mTop
517 int mLeft, mTop, mRight, mBottom; member in class:android::uirenderer::DisplayList
[all...]
H A DDisplayList.cpp248 mTop = 0;
352 if (mLeft != 0 || mTop != 0) {
353 ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mLeft, mTop);
385 (float) 0, (float) 0, (float) mRight - mLeft, (float) mBottom - mTop,
391 (float) mRight - mLeft, (float) mBottom - mTop);
409 if (mLeft != 0 || mTop != 0) {
410 renderer.translate(mLeft, mTop);
439 handler(mSaveLayerOp->reinit(0, 0, mRight - mLeft, mBottom - mTop,
445 handler(mClipRectOp->reinit(0, 0, mRight - mLeft, mBottom - mTop, SkRegion::kIntersect_Op),
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java504 top = Math.min(top, params.mTop - params.topMargin);
523 top = Math.min(top, params.mTop - params.topMargin);
586 params.mTop = height - mPaddingBottom - childHeight;
587 params.mBottom = params.mTop + childHeight;
615 params.mTop += verticalOffset;
647 int offset = anchorParams.mTop + anchorBaseline;
652 int height = params.mBottom - params.mTop;
653 params.mTop = offset;
654 params.mBottom = params.mTop + height;
662 if (params.mTop < l
1209 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 DListView.java194 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop));
683 int end = (mBottom - mTop);
1394 final int end = (mBottom - mTop) - mListPadding.bottom;
1445 final int end = (mBottom - mTop) - mListPadding.bottom;
1499 final int childrenBottom = mBottom - mTop - mListPadding.bottom;
2996 final int listBottom = mBottom - mTop - mListPadding.bottom;
3239 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
H A DFrameLayout.java483 final int h = mBottom-mTop;
H A DGridView.java281 int end = (mBottom - mTop);
602 final int end = (mBottom - mTop) - mListPadding.bottom;
645 final int end = (mBottom - mTop) - mListPadding.bottom;
1150 final int childrenBottom = mBottom - mTop - mListPadding.bottom;
H A DNumberPicker.java1647 float totalTextGapHeight = (mBottom - mTop) - totalTextHeight;
1662 setFadingEdgeLength((mBottom - mTop - mTextSize) / 2);
2197 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop));
2212 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop));
H A DAdapterView.java748 this.onLayout(false, mLeft, mTop, mRight, mBottom);
H A DTextView.java4827 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop;
4834 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop;
4851 scrollY += (mBottom - mTop - mPaddingBottom - drawables.mDrawableSizeBottom);
5024 final int top = mTop;
5111 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop;
6632 int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom();
6748 int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom();
6905 final int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom();
6992 output += "frame={" + mLeft + ", " + mTop + ", " + mRight
H A DLinearLayout.java492 childTop = mBottom - mTop - mPaddingBottom - mTotalLength;
496 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) -
H A DExpandableListView.java364 scrollY + mBottom - mTop - mPaddingBottom);
H A DImageView.java1029 scrollY + mBottom - mTop - mPaddingBottom);
/frameworks/av/media/libstagefright/
H A DMetaData.cpp85 r.mTop = top;
183 *top = r->mTop;
321 r->mLeft, r->mTop, r->mRight, r->mBottom);
/frameworks/base/core/java/android/view/
H A DSurfaceView.java159 int mTop = -1; field in class:SurfaceView
444 || mLeft != mLocation[0] || mTop != mLocation[1]
451 + " top=" + (mTop != mLocation[1]));
456 mTop = mLocation[1];
465 mLayout.y = mTop;
H A DView.java2966 protected int mTop; field in class:View
4007 out.append(mTop);
4675 position.offset(child.mLeft, child.mTop);
5200 position.set(0, 0, mRight - mLeft, mBottom - mTop);
5206 position.offset(mLeft, mTop);
5218 position.offset(parentView.mLeft, parentView.mTop);
8899 if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
9172 return mBottom - mTop;
9188 outRect.bottom = mScrollY + (mBottom - mTop);
9315 if ((mRight - mLeft) != info.mPrevWidth || (mBottom - mTop) !
[all...]
H A DViewGroup.java1813 final float offsetY = mScrollY - child.mTop;
2153 float localY = y + mScrollY - child.mTop;
2213 final float offsetY = mScrollY - child.mTop;
2232 final float offsetY = mScrollY - child.mTop;
2925 mScrollY + mBottom - mTop - mPaddingBottom);
4266 location[CHILD_TOP_INDEX] = child.mTop;
4354 dirty.union(0, 0, mRight - mLeft, mBottom - mTop);
4358 final int top = mTop;
4381 location[CHILD_TOP_INDEX] = mTop;
4383 dirty.set(0, 0, mRight - mLeft, mBottom - mTop);
[all...]
H A DViewPropertyAnimator.java937 info.mTranslationY = value - mView.mTop;
938 if (displayList != null) displayList.setTranslationY(value - mView.mTop);
973 return mView.mTop + info.mTranslationY;
H A DViewOverlay.java294 int top = child.mTop;
/frameworks/av/include/media/stagefright/
H A DMetaData.h262 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 487 milliseconds

12