/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/apps/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 265 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/ |
D | ShortcutAndWidgetContainer.java | 143 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()
|
D | PagedViewCellLayoutChildren.java | 138 int childTop = lp.y; in onLayout() local 139 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); in onLayout()
|
D | PagedView.java | 664 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/ |
D | ShortcutAndWidgetContainer.java | 165 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()
|
D | PagedView.java | 808 int childTop; in onLayout() local 810 childTop = offsetY; in onLayout() 812 childTop = offsetY + getPaddingTop() + mInsets.top; in onLayout() 813 …childTop += (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/ |
D | AttachmentTileGrid.java | 194 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/ |
D | ConversationContainer.java | 728 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/ |
D | ScaledLayout.java | 262 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/ |
D | ProgramGrid.java | 340 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/ |
D | CarLayoutManager.java | 1234 int childTop = getDecoratedTop(child) - getParams(child).topMargin; in calculatePreviousPageBreakPosition() local 1236 if (childTop < referenceViewTop - getHeight()) { in calculatePreviousPageBreakPosition()
|