Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 12 of 12) 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.java265 int childTop = relativeBottom - mRowAlignFromBottom - rowContentsHeight / 2 in getViewLayouts() local
285 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
290 childTop -= mRowTitleHeight; in getViewLayouts()
291 childBottom = childTop + rowTitleHeight; in getViewLayouts()
292 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
298 childTop = relativeBottom; in getViewLayouts()
302 childBottom = childTop + rowTitleHeight; in getViewLayouts()
303 layouts.add(new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
304 childTop += mRowTitleHeight; in getViewLayouts()
/packages/apps/Launcher2/src/com/android/launcher2/
DShortcutAndWidgetContainer.java143 int childTop = lp.y; in onLayout() local
144 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in onLayout()
154 cellXY[1] + childTop + lp.height / 2, 0, null); in onLayout()
DPagedViewCellLayoutChildren.java138 int childTop = lp.y; in onLayout() local
139 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in onLayout()
DPagedView.java664 int childTop = getPaddingTop(); in onLayout() local
666 childTop += ((getMeasuredHeight() - verticalPadding) - childHeight) / 2; in onLayout()
669 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop); in onLayout()
670 child.layout(childLeft, childTop, in onLayout()
671 childLeft + child.getMeasuredWidth(), childTop + childHeight); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java165 int childTop = lp.y; in onLayout() local
166 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in onLayout()
176 cellXY[1] + childTop + lp.height / 2, 0, null); in onLayout()
DPagedView.java808 int childTop; in onLayout() local
810 childTop = offsetY; in onLayout()
812 childTop = offsetY + getPaddingTop() + mInsets.top; in onLayout()
813childTop += (getViewportHeight() - mInsets.top - mInsets.bottom - verticalPadding - child.getMeasu… in onLayout()
819 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop); in onLayout()
820 child.layout(childLeft, childTop, in onLayout()
821 childLeft + child.getMeasuredWidth(), childTop + childHeight); in onLayout()
/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/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/TV/src/com/android/tv/tuner/layout/
DScaledLayout.java262 int childTop = paddingTop + mRectArray[i].top; in onLayout() local
268 childRight, childTop)); in onLayout()
270 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java340 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex() local
342 if ((childTop + childBottom) / 2 > top) { in getFirstVisibleChildIndex()
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
DCarLayoutManager.java1234 int childTop = getDecoratedTop(child) - getParams(child).topMargin; in calculatePreviousPageBreakPosition() local
1236 if (childTop < referenceViewTop - getHeight()) { in calculatePreviousPageBreakPosition()