Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java496 int childTop = mBaselineChildTop; in getBaseline() local
503 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; in getBaseline()
507 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline()
515 return childTop + lp.topMargin + childBaseline; in getBaseline()
1113 int childTop; in layoutVertical() local
1131 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVertical()
1136 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVertical()
1141 childTop = mPaddingTop; in layoutVertical()
1148 childTop += measureNullChild(i); in layoutVertical()
1179 childTop += mDividerHeight; in layoutVertical()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java496 int childTop = mBaselineChildTop; in getBaseline() local
503 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; in getBaseline()
507 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline()
515 return childTop + lp.topMargin + childBaseline; in getBaseline()
1113 int childTop; in layoutVertical() local
1131 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVertical()
1136 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVertical()
1141 childTop = mPaddingTop; in layoutVertical()
1148 childTop += measureNullChild(i); in layoutVertical()
1179 childTop += mDividerHeight; in layoutVertical()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java639 int childTop; in onLayout() local
655 childTop = (parentHeight - height) / 2 + in onLayout()
659 childTop = width / 2 + lp.rightMargin - height / 2; in onLayout()
663 childTop = parentHeight - lp.leftMargin - width / 2 - height / 2; in onLayout()
694 childTop = lp.topMargin; in onLayout()
697 childTop = (parentHeight - height) / 2 + in onLayout()
701 childTop = parentHeight - height - lp.bottomMargin; in onLayout()
704 childTop = lp.topMargin; in onLayout()
708 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java163 int childTop = lp.y; in onLayout() local
164 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in onLayout()
174 cellXY[1] + childTop + lp.height / 2, 0, null); in onLayout()
DPagedView.java642 final int childTop = verticalCenter - childHeight / 2; in getPageScrolls() local
643 child.layout(childLeft, childTop, childRight, childTop + childHeight); in getPageScrolls()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java296 int childTop = in getViewLayouts() local
327 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
332 childTop -= mRowTitleHeight; in getViewLayouts()
333 childBottom = childTop + rowTitleHeight; in getViewLayouts()
334 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
340 childTop = relativeBottom; in getViewLayouts()
344 childBottom = childTop + rowTitleHeight; in getViewLayouts()
345 layouts.add(new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
346 childTop += mRowTitleHeight; in getViewLayouts()
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/
DScaledLayout.java273 int childTop = paddingTop + mRectArray[i].top; in onLayout() local
281 childBottom, childLeft, childRight, childTop)); in onLayout()
283 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java92 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin() local
94 return childTop - containerTop; in distanceToTopMargin()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java349 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex() local
351 if ((childTop + childBottom) / 2 > top) { in getFirstVisibleChildIndex()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java286 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin() local
288 return childTop - containerTop; in distanceToTopMargin()