Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 8 of 8) 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/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/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java195 int childTop = lp.y; in layoutChild() local
196 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in layoutChild()
206 cellXY[1] + childTop + lp.height / 2, 0, null); in layoutChild()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPortraitPagedViewHandler.java356 final int childTop = pageCenter - childHeight / 2; in getChildBounds() local
358 child.layout(childStart, childTop, childRight, childTop + childHeight); in getChildBounds()
360 return new ChildBounds(childWidth, childHeight, childRight, childTop); in getChildBounds()
/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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java186 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin() local
188 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()