HomeSort by relevance Sort by last modified time
    Searched refs:childHeight (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LinearLayoutEditTextsTest.java 52 final int childHeight = mChild.getHeight();
55 assertEquals(containerHeight, childHeight);
  /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...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
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);
AttachmentTileGrid.java 202 final int childHeight = child.getMeasuredHeight();
209 childTop += childHeight + mTilePadding;
215 childLeft + childWidth, childTop + 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...]
  /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;
  /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...]
  /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/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/core/java/android/widget/
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...]
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...]
  /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...]
  /development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
ListViewRemovalAnimation.java 225 int childHeight = child.getHeight() + listview.getDividerHeight();
226 startTop = top + (i > 0 ? childHeight : -childHeight);
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
InsertionListView.java 210 int childHeight = child.getHeight() + getDividerHeight();
211 int startTop = top + (i > 0 ? childHeight : -childHeight);
234 int childHeight = startBounds.bottom - startBounds.top + getDividerHeight();
236 endBounds.offset(0, childHeight);
  /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);
  /development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
ListViewItemAnimations.java 297 int childHeight = child.getHeight() + listview.getDividerHeight();
298 startTop = top + (i > 0 ? childHeight : -childHeight);
  /frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java 802 final int childHeight = child.getMeasuredHeight();
803 final int childBottom = childTop + childHeight;
813 if (rec != null && rec.height != childHeight) {
815 rec.height = childHeight;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ExpandableView.java 78 int childHeight = child.getMeasuredHeight();
79 maxChildHeight = Math.max(maxChildHeight, childHeight);
  /packages/apps/Mms/src/com/android/mms/ui/
SlideView.java 469 int childHeight = getChildAt(0).getHeight();
471 mBottomY = height < childHeight ? childHeight - height : 0;
  /packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
StaggeredGridView.java     [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...]

Completed in 1428 milliseconds

1 2 3 4