Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 13 of 13) 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/Calculator/src/com/android/calculator2/
DCalculatorPadLayout.java80 final int childTop = paddingTop + lp.topMargin + rowIndex * rowHeight; in onLayout() local
81 final int childBottom = childTop - lp.topMargin - lp.bottomMargin + rowHeight; in onLayout()
87 final int childHeight = childBottom - childTop; in onLayout()
94 childView.layout(childLeft, childTop, childRight, childBottom); in onLayout()
/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.java182 int childTop = lp.y; in onLayout() local
183 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in onLayout()
193 cellXY[1] + childTop + lp.height / 2, 0, null); in onLayout()
DPagedView.java871 int childTop; in onLayout() local
873 childTop = offsetY; in onLayout()
875 childTop = offsetY + getPaddingTop() + mInsets.top; in onLayout()
877childTop += (getViewportHeight() - mInsets.top - mInsets.bottom - verticalPadding - child.getMeasu… in onLayout()
884 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop); in onLayout()
885 child.layout(childLeft, childTop, in onLayout()
886 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/TV/src/com/android/tv/menu/
DMenuLayoutManager.java258 int childTop = relativeBottom - mRowAlignFromBottom - rowContentsHeight / 2 in getViewLayouts() local
278 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
283 childTop -= mRowTitleHeight; in getViewLayouts()
284 childBottom = childTop + rowTitleHeight; in getViewLayouts()
285 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
291 childTop = relativeBottom; in getViewLayouts()
295 childBottom = childTop + rowTitleHeight; in getViewLayouts()
296 layouts.add(new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts()
297 childTop += mRowTitleHeight; in getViewLayouts()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/layout/
DScaledLayout.java248 int childTop = paddingTop + mRectArray[i].top; in onLayout() local
254 childRight, childTop)); in onLayout()
256 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/TV/src/com/android/tv/guide/
DProgramGrid.java392 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex() local
394 if ((childTop + childBottom) / 2 > top) { in getFirstVisibleChildIndex()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java1223 int childTop = getDecoratedTop(child) - getParams(child).topMargin; in calculatePreviousPageBreakPosition() local
1225 if (childTop < referenceViewTop - getHeight()) { in calculatePreviousPageBreakPosition()