Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 11 of 11) 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.java621 int childTop; in onLayout() local
637 childTop = (parentHeight - height) / 2 + in onLayout()
641 childTop = width / 2 + lp.rightMargin - height / 2; in onLayout()
645 childTop = parentHeight - lp.leftMargin - width / 2 - height / 2; in onLayout()
676 childTop = lp.topMargin; in onLayout()
679 childTop = (parentHeight - height) / 2 + in onLayout()
683 childTop = parentHeight - height - lp.bottomMargin; in onLayout()
686 childTop = lp.topMargin; in onLayout()
690 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.java641 final int childTop = verticalCenter - childHeight / 2; in getPageScrolls() local
642 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/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTileGrid.java194 int childTop = 0; in onLayoutForTiles() local
209 childTop += childHeight + mTilePadding; in onLayoutForTiles()
214 child.layout(childLeft, childTop, in onLayoutForTiles()
215 childLeft + childWidth, childTop + childHeight); in onLayoutForTiles()
/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/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java728 final int childTop = lp.topMargin; in onLayout() local
729 nonScrollingChild.layout(childLeft, childTop, childLeft + w, childTop + h); in onLayout()
837 private void layoutOverlay(View child, int childTop, int childBottom) { in layoutOverlay() argument
838 final int top = childTop - mOffsetY; in layoutOverlay()
/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.java338 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex() local
340 if ((childTop + childBottom) / 2 > top) { in getFirstVisibleChildIndex()