/frameworks/minikin/include/minikin/ |
D | MinikinRect.h | 25 MinikinRect() : mLeft(0), mTop(0), mRight(0), mBottom(0) {} in MinikinRect() 27 : mLeft(left), mTop(top), mRight(right), mBottom(bottom) {} in MinikinRect() 29 return mLeft == o.mLeft && mTop == o.mTop && mRight == o.mRight && mBottom == o.mBottom; 33 float mTop; member 37 bool isEmpty() const { return mLeft == mRight || mTop == mBottom; } in isEmpty() 40 mTop = r.mTop; in set() 46 mTop += dy; in offset() 50 void setEmpty() { mLeft = mTop = mRight = mBottom = 0.0; } in setEmpty() 56 mTop = std::min(mTop, r.mTop); in join() 65 return os << "(" << r.mLeft << ", " << r.mTop << ")-(" << r.mRight << ", " << r.mBottom << ")";
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | EnsureActivitiesVisibleHelper.java | 28 private ActivityRecord mTop; field in EnsureActivitiesVisibleHelper 54 mTop = mTask.topRunningActivity(); in reset() 57 mAboveTop = mTop != null; in reset() 85 Slog.v(TAG_VISIBILITY, "ensureActivitiesVisible behind " + mTop in process() 88 if (mTop != null) { in process() 89 mTask.checkTranslucentActivityWaiting(mTop); in process() 95 final boolean resumeTopActivity = mTop != null && !mTop.mLaunchTaskBehind in process() 109 final boolean isTop = r == mTop; in setActivityVisibilityState()
|
D | Letterbox.java | 57 private final LetterboxSurface mTop = new LetterboxSurface("top"); field in Letterbox 65 private final LetterboxSurface[] mSurfaces = { mLeft, mTop, mRight, mBottom }; 103 mTop.layout(outer.left, outer.top, outer.right, inner.top, surfaceOrigin); in layout() 117 mTop.getHeight(), in getInsets()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
D | VerticalGravityTest.java | 36 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/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | CustomLayout.java | 28 private int mLeft, mTop, mRight, mBottom; field in CustomLayout.LayoutParams 33 mTop = top; in LayoutParams() 45 child.layout(lp.mLeft, lp.mTop, lp.mRight, lp.mBottom); in onLayout()
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/accessibility/ |
D | AtfBufferedImage.java | 41 private final int mTop; field in AtfBufferedImage 52 mTop = 0; in AtfBufferedImage() 65 mTop = top; in AtfBufferedImage() 91 BufferedImage cropped = mBufferedImage.getSubimage(mLeft, mTop, mWidth, mHeight); in getPixels()
|
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 381 if (RP_SET(mPrimitiveFields.mTop, top)) { in setTop() 382 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop() 391 int getTop() const { return mPrimitiveFields.mTop; } in getTop() 408 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom() 426 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop || in setLeftTopRightBottom() 429 mPrimitiveFields.mTop = top; in setLeftTopRightBottom() 433 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom() 453 mPrimitiveFields.mTop += offset; in offsetTopBottom() 576 int mLeft = 0, mTop = 0, mRight = 0, mBottom = 0; member
|
D | RenderProperties.cpp | 119 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties() 121 << mPrimitiveFields.mTop << ")" << std::endl; in debugOutputProperties()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 52 private int mTop; field in RenderNode_Delegate 200 if (delegate != null && delegate.mTop != top) { in nSetTop() 201 delegate.mTop = top; in nSetTop() 231 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate in nSetLeftTopRightBottom() 234 delegate.mTop = top; in nSetLeftTopRightBottom() 290 return (delegate.mBottom - delegate.mTop) / 2.0f; in nGetPivotY()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LetterboxTest.java | 118 final Rect mTop = new Rect(); field in LetterboxTest.LetterboxLayoutVerifier 136 mTop.set(top); in setBarRect() 143 assertEquals(mLetterbox.notIntersectsOrFullyContains(mTop), in verifyPositions() 152 mTempRect.set(mTop.left, mTop.top, mTop.right, mTop.bottom + 1); in verifyPositions()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 77 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 96 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 115 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 134 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 165 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 184 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 204 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 225 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 259 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() 278 EXPECT_EQ(10.0f, rect.mTop); in TEST_F() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RelativeLayout.java | 530 top = Math.min(top, params.mTop - params.topMargin); in onMeasure() 609 params.mTop = height - mPaddingBottom - childHeight; in onMeasure() 610 params.mBottom = params.mTop + childHeight; in onMeasure() 638 params.mTop += verticalOffset; in onMeasure() 668 final int topDiff = p1.mTop - p2.mTop; in compareLayoutPosition() 691 int childHeightMeasureSpec = getChildMeasureSpec(params.mTop, in measureChild() 883 if (params.mTop == VALUE_NOT_SET && params.mBottom != VALUE_NOT_SET) { in positionChildVertical() 885 params.mTop = params.mBottom - child.getMeasuredHeight(); in positionChildVertical() 886 } else if (params.mTop != VALUE_NOT_SET && params.mBottom == VALUE_NOT_SET) { in positionChildVertical() 888 params.mBottom = params.mTop + child.getMeasuredHeight(); in positionChildVertical() [all …]
|
D | SlidingDrawer.java | 473 (!mExpanded && top > mBottomOffset + mBottom - mTop - in onTouchEvent() 599 handle.offsetTopAndBottom(mBottomOffset + mBottom - mTop - in moveHandle() 607 } else if (deltaY > mBottomOffset + mBottom - mTop - mHandleHeight - top) { in moveHandle() 608 deltaY = mBottomOffset + mBottom - mTop - mHandleHeight - top; in moveHandle() 669 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent() 678 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | AnimatedDrawables.h | 39 : mLeft(left), mTop(top), mRight(right), mBottom(bottom), mRx(rx), mRy(ry), mPaint(p) {} in AnimatedRoundRect() 43 return SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onGetBounds() 46 SkRect rect = SkRect::MakeLTRB(mLeft->value, mTop->value, mRight->value, mBottom->value); in onDraw() 52 sp<uirenderer::CanvasPropertyPrimitive> mTop; variable
|
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/ |
D | LambdaPerfTest.java | 78 private boolean mTop; field in LambdaPerfTest 124 mTop = true; in test3ParamsPredicate() 128 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mBounds, mTop, mTaskId))); in test3ParamsPredicate() 131 PooledLambda.__(Task.class), mBounds, mTop, mTaskId); in test3ParamsPredicate()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MetaDataBase.cpp | 76 int32_t mLeft, mTop, mRight, mBottom; member 146 r.mTop = top; in setRect() 244 *top = r->mTop; in findRect() 405 r->mLeft, r->mTop, r->mRight, r->mBottom); in asString()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 4387 protected int mTop; field in View 6470 out.append(mTop); 7899 position.offset(child.mLeft - child.getScrollX(), child.mTop -child.getScrollY()); 8642 position.set(0, 0, mRight - mLeft, mBottom - mTop); 8660 rect.offset(mLeft, mTop); 8679 rect.offset(parentView.mLeft, parentView.mTop); 8891 ignoredParentTop += parentGroup.mTop; 8902 structure.setDimens(ignoredParentLeft + mLeft, ignoredParentTop + mTop, mScrollX, mScrollY, 8903 mRight - mLeft, mBottom - mTop); 16264 return (mBottom > mTop) && (mRight > mLeft); in hasSize() [all …]
|
D | ViewGroup.java | 2085 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon() 2415 final float offsetY = mScrollY - child.mTop; in dispatchTooltipHoverEvent() 2592 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent() 2611 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent() 3066 point[1] += mScrollY - child.mTop; in transformPointToViewLocal() 3117 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 3136 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() 4254 mScrollY + mBottom - mTop - mPaddingBottom); in dispatchDraw() 6090 location[CHILD_TOP_INDEX] = child.mTop; in invalidateChild() 6179 dirty.union(0, 0, mRight - mLeft, mBottom - mTop); in invalidateChildInParent() [all …]
|
D | ViewPropertyAnimator.java | 1006 renderNode.setTranslationY(value - mView.mTop); in setValue() 1046 return mView.mTop + node.getTranslationY(); in getValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotSelectorView.java | 80 canvas.drawRect(mLeft, mTop, mRight, mBottom, mPaintBackground); in draw()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeBounds.java | 476 private int mTop; field in ChangeBounds.ViewBounds 489 mTop = Math.round(topLeft.y); in setTopLeft() 506 mView.setLeftTopRightBottom(mLeft, mTop, mRight, mBottom); in setLeftTopRightBottom()
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.cpp | 103 bounds->mTop = FTPosToFloat(bbox.yMax); in GetBounds()
|
/frameworks/base/libs/hwui/jni/text/ |
D | MeasuredText.cpp | 124 r.fTop = rect.mTop; in nGetBounds()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewGroup_Delegate.java | 150 canvas.translate(child.mLeft, child.mTop); in transformCanvas()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AMessage.h | 193 int32_t mLeft, mTop, mRight, mBottom; member
|