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.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/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.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.java802 int childTop; in onLayout() local
804 childTop = offsetY; in onLayout()
806 childTop = offsetY + getPaddingTop() + mInsets.top; in onLayout()
807childTop += (getViewportHeight() - mInsets.top - mInsets.bottom - verticalPadding - child.getMeasu… in onLayout()
813 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop); in onLayout()
814 child.layout(childLeft, childTop, in onLayout()
815 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.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.java1233 int childTop = getDecoratedTop(child) - getParams(child).topMargin; in calculatePreviousPageBreakPosition() local
1235 if (childTop < referenceViewTop - getHeight()) { in calculatePreviousPageBreakPosition()