/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LinearLayoutEditTextsTest.java | 52 final int childHeight = mChild.getHeight(); 55 assertEquals(containerHeight, childHeight);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorPadLayout.java | 87 final int childHeight = childBottom - childTop; 89 childHeight != childView.getMeasuredHeight()) { 92 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
ProportionalLayout.java | 100 final int childHeight = child.getMeasuredHeight(); 105 width = Math.round(childHeight * mRatio); 106 height = childHeight;
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardContainerView.java | 107 final int childHeight = lp.height; 118 y += childHeight + mCellGapY; 126 final int childBottom = childTop + childHeight; 138 y += childHeight + mCellGapY;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 202 final int childHeight = child.getMeasuredHeight(); 209 childTop += childHeight + mTilePadding; 215 childLeft + childWidth, childTop + childHeight);
|
MiniDrawerView.java | 195 int childHeight = 0; 203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight(); 206 if (childHeight <= availableHeight) { 213 if (childHeight <= availableHeight) { 215 measureSpacer(availableHeight - childHeight); 231 childHeight -= childToHideParams.topMargin + childToHideParams.bottomMargin + 235 if (childHeight <= availableHeight) { 237 measureSpacer(availableHeight - childHeight);
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 199 int childHeight = mButton.getMeasuredHeight(); 201 childTop -= childHeight + mMarginBottom; 202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 222 int childHeight = mButton.getMeasuredHeight(); 225 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 245 int childHeight; 260 childHeight = view.getMeasuredHeight(); 263 childTop -= childHeight + mMarginBottom; 266 childTop += childHeight + mMarginBottom; 280 view.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
AbsActionBarView.java | 259 int childHeight = child.getMeasuredHeight(); 260 int childTop = y + (contentHeight - childHeight) / 2; 263 child.layout(x - childWidth, childTop, x, childTop + childHeight); 265 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
SizeAdaptiveLayout.java | 163 int childHeight = model.getMeasuredHeight(); 166 if (DEBUG) Log.d(TAG, "measured child at: " + childHeight); 168 int resolvedHeight = resolveSizeAndState(childHeight, heightMeasureSpec, childState); 278 final int childHeight = mActiveChild.getMeasuredHeight(); 280 mActiveChild.layout(0, 0, childWidth, childHeight); 283 mModestyPanel.layout(0, mModestyPanelTop, childWidth, mModestyPanelTop + childHeight);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ExpandableView.java | 78 int childHeight = child.getMeasuredHeight(); 79 maxChildHeight = Math.max(maxChildHeight, childHeight);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AbsActionBarView.java | 243 int childHeight = child.getMeasuredHeight(); 244 int childTop = y + (contentHeight - childHeight) / 2; 247 child.layout(x - childWidth, childTop, x, childTop + childHeight); 249 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
MultiPaneChallengeLayout.java | 398 final int childHeight = child.getMeasuredHeight(); 403 int bottom = top + childHeight; 407 padding.top + (adjustedHeight - childHeight) / 2 : padding.top; 408 bottom = top + childHeight; 411 padding.bottom += childHeight / 2; 416 ? padding.top + height - (adjustedHeight - childHeight) / 2 418 top = bottom - childHeight; 421 padding.top += childHeight / 2; 425 top = padding.top + (height - childHeight) / 2; 426 bottom = top + childHeight; [all...] |
SlidingChallengeLayout.java | 413 final int childHeight = mChallengeView.getHeight(); 414 final int halfHeight = childHeight / 2; 415 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / childHeight); 424 final float childDelta = (float) Math.abs(dy) / childHeight; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
StackScrollAlgorithm.java | 360 int childHeight = getMaxAllowedChildHeight(child); 362 + childHeight 376 float nextYPosition = currentYPosition + childHeight + 383 numberOfElementsCompletelyIn, i, childHeight, childViewState, scrollOffset); 384 clampPositionToTopStackEnd(childViewState, childHeight); 387 if (childViewState.yTranslation + childHeight + mPaddingBetweenElements 395 childHeight); 405 bottomStackStart, childViewState, childHeight); 411 childViewState, childHeight); 417 clampYTranslation(childViewState, childHeight); [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/ |
AppBannerView.java | [all...] |
/frameworks/base/core/java/android/widget/ |
AdapterViewAnimator.java | 686 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; 691 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); [all...] |
Gallery.java | 938 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight(); 948 - mSpinnerPadding.top - childHeight; 952 childTop = myHeight - mSpinnerPadding.bottom - childHeight; [all...] |
LinearLayout.java | 730 final int childHeight = child.getMeasuredHeight(); 732 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 736 largestChildHeight = Math.max(childHeight, largestChildHeight); 865 int childHeight = child.getMeasuredHeight() + share [all...] |
RelativeLayout.java | 593 final int childHeight = child.getMeasuredHeight(); 594 params.mTop = height - mPaddingBottom - childHeight; 595 params.mBottom = params.mTop + childHeight; [all...] |
SlidingDrawer.java | 347 int childHeight = handle.getMeasuredHeight(); 356 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; 358 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), 359 mTopOffset + childHeight + content.getMeasuredHeight()); 362 childTop = (height - childHeight) / 2; 369 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 663 final int childHeight = mHandleHeight; 664 int height = mBottom - mTop - childHeight - mTopOffset; 667 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), 668 mTopOffset + childHeight + content.getMeasuredHeight()) [all...] |
GridView.java | [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 291 final int childHeight = getHeight() - getPaddingTop() - getPaddingBottom(); 294 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST); 431 int childHeight = heightSize; 435 childHeight -= padding; 439 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SwipeRefreshLayout.java | 560 final int childHeight = height - getPaddingTop() - getPaddingBottom(); 561 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
LinearLayoutCompat.java | 664 final int childHeight = child.getMeasuredHeight(); 666 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 670 largestChildHeight = Math.max(childHeight, largestChildHeight); 800 int childHeight = child.getMeasuredHeight() + share; 801 if (childHeight < 0) { 802 childHeight = 0; 806 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); [all...] |
/packages/apps/Dialer/src/com/android/dialer/widget/ |
OverlappingPaneLayout.java | 451 final int childHeight = child.getMeasuredHeight(); 457 heightRemaining -= childHeight; 587 final int childHeight = child.getMeasuredHeight(); 603 final int childBottom = childTop + childHeight; [all...] |