/frameworks/base/core/java/android/view/ |
D | NotificationTopLineView.java | 191 int childTop; in onLayout() local 195 childTop = mPaddingTop + params.topMargin; in onLayout() 197 childTop += mMaxAscent - childBaseline; in onLayout() 204 childTop = baselineY - childBaseline; in onLayout() 206 childTop = mPaddingTop + (childSpace - childHeight) / 2; in onLayout() 209 childTop = mPaddingTop + ((childSpace - childHeight) / 2) in onLayout() 215 childTop = childBottom - childHeight - params.bottomMargin; in onLayout() 218 childTop -= (mMaxDescent - descent); in onLayout() 222 childTop = mPaddingTop; in onLayout() 225 child.layout(start, childTop, start, childTop + childHeight); in onLayout() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 203 int childTop; in onLayout() local 212 childTop = mPaddingTop; in onLayout() 236 child.layout(childLeft, childTop, childLeft + childWidth, in onLayout() 237 childTop + lp.lastVisibleHeight); in onLayout() 248 childTop += mSpacing; in onLayout() 251 childTop += lp.topMargin; in onLayout() 252 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout() 254 childTop += childHeight + lp.bottomMargin; in onLayout()
|
D | AlertDialogLayout.java | 290 int childTop; in onLayout() local 294 childTop = mPaddingTop + bottom - top - totalLength; in onLayout() 299 childTop = mPaddingTop + (bottom - top - totalLength) / 2; in onLayout() 304 childTop = mPaddingTop; in onLayout() 347 childTop += dividerHeight; in onLayout() 350 childTop += lp.topMargin; in onLayout() 351 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout() 352 childTop += childHeight + lp.bottomMargin; in onLayout()
|
D | NotificationOptimizedLinearLayout.java | 471 int childTop; in layoutVerticalOptimized() local 489 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVerticalOptimized() 494 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVerticalOptimized() 499 childTop = mPaddingTop; in layoutVerticalOptimized() 537 childTop += dividerHeight; in layoutVerticalOptimized() 540 childTop += lp.topMargin; in layoutVerticalOptimized() 541 child.layout(childLeft, childTop, childLeft + childWidth, in layoutVerticalOptimized() 542 childTop + childHeight); in layoutVerticalOptimized() 543 childTop += childHeight + lp.bottomMargin; in layoutVerticalOptimized()
|
D | AbsActionBarView.java | 323 int childTop = y + (contentHeight - childHeight) / 2; in positionChild() local 326 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild() 328 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild()
|
D | NotificationActionListLayout.java | 312 int childTop; in onLayout() local 353 childTop = paddingTop + ((innerHeight - childHeight) / 2) in onLayout() 357 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
|
D | ActionBarOverlayLayout.java | 574 int childTop; 576 childTop = parentBottom - height - lp.bottomMargin; 578 childTop = parentTop + lp.topMargin; 581 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
D | ViewPager.java | 1520 int childTop = 0; 1543 childTop = paddingTop; 1546 childTop = paddingTop; 1550 childTop = Math.max((height - child.getMeasuredHeight()) / 2, 1554 childTop = height - paddingBottom - child.getMeasuredHeight(); 1559 child.layout(childLeft, childTop, 1561 childTop + child.getMeasuredHeight()); 1607 final int childTop = paddingTop; 1608 child.layout(childLeft, childTop, childLeft + childMeasuredWidth, 1609 childTop + child.getMeasuredHeight());
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | AlertDialogLayout.java | 291 int childTop; in onLayout() local 295 childTop = paddingTop + bottom - top - totalLength; in onLayout() 300 childTop = paddingTop + (bottom - top - totalLength) / 2; in onLayout() 305 childTop = paddingTop; in onLayout() 347 childTop += lp.topMargin; in onLayout() 348 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout() 349 childTop += childHeight + lp.bottomMargin; in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 291 int childTop; in layoutChildren() local 319 childTop = parentTop + lp.topMargin; in layoutChildren() 322 childTop = parentTop + (parentBottom - parentTop - height) / 2 + in layoutChildren() 326 childTop = parentBottom - height - lp.bottomMargin; in layoutChildren() 329 childTop = parentTop + lp.topMargin; in layoutChildren() 332 child.layout(childLeft, childTop, childLeft + width, childTop + height); in layoutChildren()
|
D | LinearLayout.java | 615 int childTop = mBaselineChildTop; in getBaseline() local 622 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; in getBaseline() 626 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - in getBaseline() 634 return childTop + lp.topMargin + childBaseline; in getBaseline() 1659 int childTop; in layoutVertical() local 1677 childTop = mPaddingTop + bottom - top - mTotalLength; in layoutVertical() 1682 childTop = mPaddingTop + (bottom - top - mTotalLength) / 2; in layoutVertical() 1687 childTop = mPaddingTop; in layoutVertical() 1694 childTop += measureNullChild(i); in layoutVertical() 1725 childTop += mDividerHeight; in layoutVertical() [all …]
|
D | AbsoluteLayout.java | 123 int childTop = mPaddingTop + lp.y; in onLayout() local 124 child.layout(childLeft, childTop, in onLayout() 126 childTop + child.getMeasuredHeight()); in onLayout()
|
D | Gallery.java | 939 int childTop = calculateTop(child, true); in setUpChild() local 940 int childBottom = childTop + child.getMeasuredHeight(); in setUpChild() 951 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild() 964 int childTop = 0; in calculateTop() local 968 childTop = mSpinnerPadding.top; in calculateTop() 973 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop() 976 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop() 979 return childTop; in calculateTop()
|
D | SlidingDrawer.java | 352 int childTop; in onLayout() local 358 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout() 364 childTop = (height - childHeight) / 2; in onLayout() 371 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
|
D | Spinner.java | 773 int childTop = mSpinnerPadding.top in setUpChild() local 776 int childBottom = childTop + child.getMeasuredHeight(); in setUpChild() 782 child.layout(childLeft, childTop, childRight, childBottom); in setUpChild()
|
D | ListView.java | 2170 final int childTop = flowDown ? y : y - h; in setupChild() local 2174 final int childBottom = childTop + h; in setupChild() 2175 child.layout(childrenLeft, childTop, childRight, childBottom); in setupChild() 2178 child.offsetTopAndBottom(childTop - child.getTop()); in setupChild() 2911 final int childTop = child.getTop(); in relayoutMeasuredItem() local 2912 final int childBottom = childTop + h; in relayoutMeasuredItem() 2913 child.layout(childLeft, childTop, childRight, childBottom); in relayoutMeasuredItem()
|
D | GridView.java | 1561 final int childTop = flowDown ? y : y - h; in setupChild() local 1582 final int childBottom = childTop + h; in setupChild() 1583 child.layout(childLeft, childTop, childRight, childBottom); in setupChild() 1586 child.offsetTopAndBottom(childTop - child.getTop()); in setupChild()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 160 final int childTop = cellTop + childParams.topMargin; in onLayout() local 162 final int childBottom = childTop + child.getMeasuredHeight(); in onLayout() 164 child.layout(childStart, childTop, childEnd, childBottom); in onLayout()
|
D | PrintContentView.java | 420 final int childTop = child.getTop(); in onViewReleased() local 425 if (childTop == openedOptionsY || childTop == closedOptionsY) { in onViewReleased() 430 if (childTop < halfRange) { in onViewReleased()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 790 int childTop = mItemBottoms[col] > Integer.MIN_VALUE ? in layoutChildren() local 793 int lowest = childTop; in layoutChildren() 800 childTop = lowest; in layoutChildren() 803 final int childBottom = childTop + childHeight; in layoutChildren() 806 child.layout(childLeft, childTop, childRight, childBottom); in layoutChildren() 966 final int childTop = childBottom - childHeight; in fillUp() local 969 child.layout(childLeft, childTop, childRight, childBottom); in fillUp() 972 mItemTops[i] = childTop - rec.getMarginAbove(i - nextCol) - itemMargin; in fillUp() 1079 final int childTop = startFrom + itemMargin; in fillDown() local 1080 final int childBottom = childTop + childHeight; in fillDown() [all …]
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 207 final int childTop = mPaddingTop; in onLayout() local 241 child.layout(childLeft, childTop, childRight, childBottom); in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationChildrenContainer.java | 975 float childTop = child.getTranslationY(); 976 float childBottom = childTop + child.getActualHeight(); 979 if (childTop > layoutEnd) { 1109 float childTop = slidingChild.getTranslationY(); 1110 float top = childTop + Math.max(0, slidingChild.getClipTopAmount()); 1111 float bottom = childTop + slidingChild.getActualHeight();
|
D | NotificationStackScrollLayout.java | 1856 float childTop = slidingChild.getTranslationY(); 1857 float top = childTop + Math.max(0, slidingChild.getClipTopAmount()); 1858 float bottom = childTop + slidingChild.getActualHeight() 1876 return row.getViewAtPosition(touchY - childTop); 4719 float childTop = child.getY(); in isBelowLastNotification() local 4720 if (childTop > touchY) { in isBelowLastNotification() 4724 boolean belowChild = touchY > childTop + child.getActualHeight() in isBelowLastNotification() 4728 touchY - childTop)) { in isBelowLastNotification()
|
/frameworks/base/media/java/android/media/ |
D | Cea708CaptionRenderer.java | 1269 int childTop = paddingTop + mRectArray[i].top; in onLayout() local 1275 childBottom, childLeft, childRight, childTop)); in onLayout() 1277 child.layout(childLeft, childTop, childRight, childBottom); in onLayout() 1294 int childTop = paddingTop + mRectArray[i].top; in dispatchDraw() local 1296 canvas.translate(childLeft, childTop); in dispatchDraw()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 2727 int childTop = mRect.top; 2733 if (drawerTop > childTop || childBottom > drawerBottom) {
|