/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | AbsActionBarView.java | 194 int childHeight = child.getMeasuredHeight(); in positionChild() local 195 int childTop = y + (contentHeight - childHeight) / 2; in positionChild() 197 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild() 204 int childHeight = child.getMeasuredHeight(); in positionChildInverse() local 205 int childTop = y + (contentHeight - childHeight) / 2; in positionChildInverse() 207 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChildInverse()
|
D | ListPopupWindow.java | 1317 int childHeight = child.getLayoutParams().height; in measureHeightOfChildrenCompat() local 1318 if (childHeight > 0) { in measureHeightOfChildrenCompat() 1320 .makeMeasureSpec(childHeight, MeasureSpec.EXACTLY); in measureHeightOfChildrenCompat()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | QuickSettingsContainerView.java | 121 final int childHeight = lp.height; in onLayout() local 128 y += childHeight + mCellGap; in onLayout() 136 final int childBottom = childTop + childHeight; in onLayout() 148 y += childHeight + mCellGap; in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 703 final int childHeight = child.getMeasuredHeight(); in measureVertical() local 705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 709 largestChildHeight = Math.max(childHeight, largestChildHeight); in measureVertical() 837 int childHeight = child.getMeasuredHeight() + share; in measureVertical() local 838 if (childHeight < 0) { in measureVertical() 839 childHeight = 0; in measureVertical() 843 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical() 1085 final int childHeight = child.getMeasuredHeight() + margin; in measureHorizontal() local 1099 maxDescent[index] = Math.max(maxDescent[index], childHeight - childBaseline); in measureHorizontal() 1103 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal() [all …]
|
D | SlidingDrawer.java | 326 int childHeight = handle.getMeasuredHeight(); in onLayout() local 335 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout() 337 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in onLayout() 338 mTopOffset + childHeight + content.getMeasuredHeight()); in onLayout() 341 childTop = (height - childHeight) / 2; in onLayout() 348 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout() 642 final int childHeight = mHandleHeight; in prepareContent() local 643 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent() 646 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in prepareContent() 647 mTopOffset + childHeight + content.getMeasuredHeight()); in prepareContent()
|
D | RelativeLayout.java | 585 final int childHeight = child.getMeasuredHeight(); in onMeasure() local 586 params.mTop = height - mPaddingBottom - childHeight; in onMeasure() 587 params.mBottom = params.mTop + childHeight; in onMeasure() 1037 int childHeight = child.getMeasuredHeight(); in centerVertical() local 1038 int top = (myHeight - childHeight) / 2; in centerVertical() 1041 params.mBottom = top + childHeight; in centerVertical()
|
D | Gallery.java | 934 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight(); in calculateTop() local 944 - mSpinnerPadding.top - childHeight; in calculateTop() 948 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
|
D | ScrollView.java | 276 int childHeight = child.getHeight(); in canScroll() local 277 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll() 1482 final int childHeight = (getChildCount() > 0) ? getChildAt(0).getMeasuredHeight() : 0; in onLayout() local 1484 childHeight - (b - t - mPaddingBottom - mPaddingTop)); in onLayout()
|
D | AdapterViewAnimator.java | 681 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; in measureChildren() local 686 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureChildren()
|
D | GridView.java | 1038 int childHeight = 0; in onMeasure() local 1060 childHeight = child.getMeasuredHeight(); in onMeasure() 1069 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure() 1078 ourSize += childHeight; in onMeasure()
|
D | StackView.java | 1134 final int childHeight = Math.round(measuredHeight*(1-PERSPECTIVE_SHIFT_FACTOR_Y)) 1143 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST)); 1165 if (maxHeight > 0 && count > 0 && maxHeight < childHeight) {
|
D | ListView.java | 1141 int childHeight = 0; in onMeasure() local 1152 childHeight = child.getMeasuredHeight(); in onMeasure() 1169 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
|
D | GridLayout.java | 995 int childWidth, int childHeight) { in measureChildWithMargins2() argument 999 getTotalMargin(child, false), childHeight); in measureChildWithMargins2()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | LinearLayoutEditTextsTest.java | 52 final int childHeight = mChild.getHeight(); in testLayout() local 55 assertEquals(containerHeight, childHeight); in testLayout()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | MultiPaneChallengeLayout.java | 399 final int childHeight = child.getMeasuredHeight(); in layoutWithGravity() local 404 int bottom = top + childHeight; in layoutWithGravity() 408 padding.top + (adjustedHeight - childHeight) / 2 : padding.top; in layoutWithGravity() 409 bottom = top + childHeight; in layoutWithGravity() 412 padding.bottom += childHeight / 2; in layoutWithGravity() 417 ? padding.top + height - (adjustedHeight - childHeight) / 2 in layoutWithGravity() 419 top = bottom - childHeight; in layoutWithGravity() 422 padding.top += childHeight / 2; in layoutWithGravity() 426 top = padding.top + (height - childHeight) / 2; in layoutWithGravity() 427 bottom = top + childHeight; in layoutWithGravity()
|
D | SlidingChallengeLayout.java | 413 final int childHeight = mChallengeView.getHeight(); in animateChallengeTo() local 414 final int halfHeight = childHeight / 2; in animateChallengeTo() 415 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / childHeight); in animateChallengeTo() 424 final float childDelta = (float) Math.abs(dy) / childHeight; in animateChallengeTo() 958 final int childHeight = child.getMeasuredHeight(); 963 final int bottom = layoutBottom + (int) ((childHeight - mChallengeBottomBound) 966 child.layout(left, bottom - childHeight, left + childWidth, bottom);
|
D | PagedView.java | 782 final int childHeight = child.getMeasuredHeight(); in onLayout() local 786 childLeft + child.getMeasuredWidth(), childTop + childHeight); in onLayout()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SizeAdaptiveLayout.java | 158 int childHeight = model.getMeasuredHeight(); in onMeasure() local 161 if (DEBUG) Log.d(TAG, "measured child at: " + childHeight); in onMeasure() 163 int resolvedHeight = resolveSizeAndState(childHeight, heightMeasureSpec, childState); in onMeasure() 271 final int childHeight = mActiveChild.getMeasuredHeight(); in onLayout() local 273 mActiveChild.layout(0, 0, childWidth, childHeight); in onLayout() 276 mModestyPanel.layout(0, mModestyPanelTop, childWidth, mModestyPanelTop + childHeight); in onLayout()
|
D | AbsActionBarView.java | 238 int childHeight = child.getMeasuredHeight(); in positionChild() local 239 int childTop = y + (contentHeight - childHeight) / 2; in positionChild() 242 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild() 244 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 291 final int childHeight = getHeight() - getPaddingTop() - getPaddingBottom(); in updateText() local 294 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST); in updateText() 431 int childHeight = heightSize; in onMeasure() local 435 childHeight -= padding; in onMeasure() 439 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST); in onMeasure()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 802 final int childHeight = child.getMeasuredHeight(); in layoutChildren() local 803 final int childBottom = childTop + childHeight; in layoutChildren() 813 if (rec != null && rec.height != childHeight) { in layoutChildren() 815 rec.height = childHeight; in layoutChildren() 946 final int childHeight = child.getMeasuredHeight(); in fillUp() local 947 if (invalidateBefore || (childHeight != rec.height && rec.height > 0)) { in fillUp() 950 rec.height = childHeight; in fillUp() 966 final int childTop = childBottom - childHeight; in fillUp() 1060 final int childHeight = child.getMeasuredHeight(); in fillDown() local 1061 if (invalidateAfter || (childHeight != rec.height && rec.height > 0)) { in fillDown() [all …]
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | DrawerLayout.java | 695 final int childHeight = child.getMeasuredHeight(); in onLayout() local 715 lp.topMargin + childHeight); in onLayout() 730 int childTop = (height - childHeight) / 2; in onLayout() 736 } else if (childTop + childHeight > height - lp.bottomMargin) { in onLayout() 737 childTop = height - lp.bottomMargin - childHeight; in onLayout() 740 childTop + childHeight); in onLayout()
|
D | SlidingPaneLayout.java | 531 final int childHeight = child.getMeasuredHeight(); in onMeasure() local 533 if (heightMode == MeasureSpec.AT_MOST && childHeight > layoutHeight) { in onMeasure() 534 layoutHeight = Math.min(childHeight, maxLayoutHeight); in onMeasure()
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
D | GridLayout.java | 896 int childWidth, int childHeight) { in measureChildWithMargins2() argument 900 getTotalMargin(child, false), childHeight); in measureChildWithMargins2()
|