Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DDisplayList.h357 if (top != mTop) { in setTop()
358 mTop = top; in setTop()
359 mHeight = mBottom - mTop; in setTop()
367 return mTop; in getTop()
387 mHeight = mBottom - mTop; in setBottom()
399 if (left != mLeft || top != mTop) { in setLeftTop()
401 mTop = top; in setLeftTop()
403 mHeight = mBottom - mTop; in setLeftTop()
411 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) { in setLeftTopRightBottom()
413 mTop = top; in setLeftTopRightBottom()
[all …]
DDisplayList.cpp248 mTop = 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/
DVerticalGravityTest.java36 private View mTop; field in VerticalGravityTest
52 mTop = activity.findViewById(R.id.cell_top); in setUp()
62 assertNotNull(mTop); in testSetUpConditions()
69 ViewAsserts.assertTopAligned(mReference1, mTop); in testTopGravity()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java504 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
523 top = Math.min(top, params.mTop - params.topMargin); in onMeasure()
586 params.mTop = height - mPaddingBottom - childHeight; in onMeasure()
587 params.mBottom = params.mTop + childHeight; in onMeasure()
615 params.mTop += verticalOffset; in onMeasure()
647 int offset = anchorParams.mTop + anchorBaseline; in alignBaseline()
652 int height = params.mBottom - params.mTop; in alignBaseline()
653 params.mTop = offset; in alignBaseline()
654 params.mBottom = params.mTop + height; in alignBaseline()
662 if (params.mTop < lp.mTop || (params.mTop == lp.mTop && params.mLeft < lp.mLeft)) { in alignBaseline()
[all …]
DSlidingDrawer.java450 (!mExpanded && top > mBottomOffset + mBottom - mTop - in onTouchEvent()
574 handle.offsetTopAndBottom(mBottomOffset + mBottom - mTop - in moveHandle()
582 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) { in moveHandle()
583 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top; in moveHandle()
643 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent()
652 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
DAnalogClock.java174 int availableHeight = mBottom - mTop; in onDraw()
DListView.java194 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop)); in getMaxScrollAmount()
683 int end = (mBottom - mTop); in fillDown()
1394 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooHigh()
1445 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooLow()
1499 final int childrenBottom = mBottom - mTop - mListPadding.bottom; in layoutChildren()
2996 final int listBottom = mBottom - mTop - mListPadding.bottom;
3239 final int listBottom = mBottom - mTop - effectivePaddingBottom + mScrollY;
DGridView.java281 int end = (mBottom - mTop); in fillDown()
602 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooHigh()
645 final int end = (mBottom - mTop) - mListPadding.bottom; in correctTooLow()
1150 final int childrenBottom = mBottom - mTop - mListPadding.bottom; in layoutChildren()
DNumberPicker.java1647 float totalTextGapHeight = (mBottom - mTop) - totalTextHeight; in initializeSelectorWheel()
1662 setFadingEdgeLength((mBottom - mTop - mTextSize) / 2); in initializeFadingEdges()
2197 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
2212 mScrollX + (mRight - mLeft), mScrollY + (mBottom - mTop)); in createAccessibilityNodeInfo()
DFrameLayout.java483 final int h = mBottom-mTop; in draw()
DAdapterView.java748 this.onLayout(false, mLeft, mTop, mRight, mBottom); in updateEmptyStatus()
DLinearLayout.java492 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; in getBaseline()
496 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline()
DTextView.java4827 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop; in invalidateDrawable()
4834 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop; in invalidateDrawable()
4851 scrollY += (mBottom - mTop - mPaddingBottom - drawables.mDrawableSizeBottom); in invalidateDrawable()
5024 final int top = mTop; in onDraw()
5111 final int vspace = mBottom - mTop - compoundPaddingBottom - compoundPaddingTop; in onDraw()
6632 int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom(); in bringTextIntoView()
6748 int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom(); in bringPointIntoView()
6905 final int vspace = mBottom - mTop - getExtendedPaddingTop() - getExtendedPaddingBottom(); in moveCursorToVisibleOffset()
6992 output += "frame={" + mLeft + ", " + mTop + ", " + mRight in debug()
DExpandableListView.java364 scrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
DImageView.java1029 scrollY + mBottom - mTop - mPaddingBottom); in onDraw()
/frameworks/base/core/java/android/view/
DView.java2966 protected int mTop; field in View
4007 out.append(mTop); 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)) {
9172 return mBottom - mTop;
9188 outRect.bottom = mScrollY + (mBottom - mTop);
9315 if ((mRight - mLeft) != info.mPrevWidth || (mBottom - mTop) != info.mPrevHeight) {
[all …]
DSurfaceView.java159 int mTop = -1; field in SurfaceView
444 || mLeft != mLocation[0] || mTop != mLocation[1] in updateWindow()
451 + " top=" + (mTop != mLocation[1])); in updateWindow()
456 mTop = mLocation[1]; in updateWindow()
465 mLayout.y = mTop; in updateWindow()
DViewGroup.java1813 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent()
2153 float localY = y + mScrollY - child.mTop; in isTransformedTouchPointInView()
2213 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
2232 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent()
2925 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw()
4266 location[CHILD_TOP_INDEX] = child.mTop; in invalidateChild()
4354 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
4358 final int top = mTop; in invalidateChildInParent()
4381 location[CHILD_TOP_INDEX] = mTop; in invalidateChildInParent()
4383 dirty.set(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent()
[all …]
DViewPropertyAnimator.java937 info.mTranslationY = value - mView.mTop; in setValue()
938 if (displayList != null) displayList.setTranslationY(value - mView.mTop); in setValue()
973 return mView.mTop + info.mTranslationY; in getValue()
DViewOverlay.java294 int top = child.mTop; in invalidateChildFast()
/frameworks/av/media/libstagefright/
DMetaData.cpp85 r.mTop = top; in setRect()
183 *top = r->mTop; in findRect()
321 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp195 item->u.rectValue.mTop = top; in setRect()
245 *top = item->u.rectValue.mTop; in findRect()
430 item.u.rectValue.mTop, 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