/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/Calculator/src/com/android/calculator2/ |
D | CalculatorPadLayout.java | 80 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/ |
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 | 182 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()
|
D | PagedView.java | 871 int childTop; in onLayout() local 873 childTop = offsetY; in onLayout() 875 childTop = offsetY + getPaddingTop() + mInsets.top; in onLayout() 877 …childTop += (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/ |
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/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 258 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/ |
D | ScaledLayout.java | 248 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/ |
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/guide/ |
D | ProgramGrid.java | 392 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/ |
D | CarLayoutManager.java | 1223 int childTop = getDecoratedTop(child) - getParams(child).topMargin; in calculatePreviousPageBreakPosition() local 1225 if (childTop < referenceViewTop - getHeight()) { in calculatePreviousPageBreakPosition()
|