/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 496 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/ |
D | MatchParentShrinkingLinearLayout.java | 496 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/ |
D | DragLayer.java | 639 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/ |
D | ShortcutAndWidgetContainer.java | 163 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()
|
D | PagedView.java | 642 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/ |
D | MenuLayoutManager.java | 296 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/ |
D | ScaledLayout.java | 273 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/ |
D | PagedSnapHelper.java | 92 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin() local 94 return childTop - containerTop; in distanceToTopMargin()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGrid.java | 349 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/ |
D | CarUiSnapHelper.java | 286 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin() local 288 return childTop - containerTop; in distanceToTopMargin()
|