/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 621 int childTop; in onLayout() local 637 childTop = (parentHeight - height) / 2 + in onLayout() 641 childTop = width / 2 + lp.rightMargin - height / 2; in onLayout() 645 childTop = parentHeight - lp.leftMargin - width / 2 - height / 2; in onLayout() 676 childTop = lp.topMargin; in onLayout() 679 childTop = (parentHeight - height) / 2 + in onLayout() 683 childTop = parentHeight - height - lp.bottomMargin; in onLayout() 686 childTop = lp.topMargin; in onLayout() 690 child.layout(childLeft, childTop, childLeft + width, childTop + height); in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 163 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()
|
D | PagedView.java | 641 final int childTop = verticalCenter - childHeight / 2; in getPageScrolls() local 642 child.layout(childLeft, childTop, childRight, childTop + childHeight); in getPageScrolls()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 296 int childTop = in getViewLayouts() local 327 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts() 332 childTop -= mRowTitleHeight; in getViewLayouts() 333 childBottom = childTop + rowTitleHeight; in getViewLayouts() 334 layouts.add(0, new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts() 340 childTop = relativeBottom; in getViewLayouts() 344 childBottom = childTop + rowTitleHeight; in getViewLayouts() 345 layouts.add(new Rect(relativeLeft, childTop, relateiveRight, childBottom)); in getViewLayouts() 346 childTop += mRowTitleHeight; in getViewLayouts()
|
/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/tuner/src/com/android/tv/tuner/layout/ |
D | ScaledLayout.java | 273 int childTop = paddingTop + mRectArray[i].top; in onLayout() local 281 childBottom, childLeft, childRight, childTop)); in onLayout() 283 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/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | PagedSnapHelper.java | 92 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin() local 94 return childTop - containerTop; in distanceToTopMargin()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGrid.java | 338 int childTop = mLayoutManager.getDecoratedTop(childView); in getFirstVisibleChildIndex() local 340 if ((childTop + childBottom) / 2 > top) { in getFirstVisibleChildIndex()
|