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

1 2 3

  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LinearLayoutEditTextsTest.java 52 final int childHeight = mChild.getHeight();
55 assertEquals(containerHeight, childHeight);
  /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;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettingsContainerView.java 121 final int childHeight = lp.height;
128 y += childHeight + mCellGap;
136 final int childBottom = childTop + childHeight;
148 y += childHeight + mCellGap;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsActionBarView.java 194 int childHeight = child.getMeasuredHeight();
195 int childTop = y + (contentHeight - childHeight) / 2;
197 child.layout(x, childTop, x + childWidth, childTop + childHeight);
204 int childHeight = child.getMeasuredHeight();
205 int childTop = y + (contentHeight - childHeight) / 2;
207 child.layout(x - childWidth, childTop, x, childTop + childHeight);
ListPopupWindow.java     [all...]
  /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 231 int childHeight = child.getMeasuredHeight();
232 int childTop = y + (contentHeight - childHeight) / 2;
235 child.layout(x - childWidth, childTop, x, childTop + childHeight);
237 child.layout(x, childTop, x + childWidth, childTop + childHeight);
SizeAdaptiveLayout.java 158 int childHeight = model.getMeasuredHeight();
161 if (DEBUG) Log.d(TAG, "measured child at: " + childHeight);
163 int resolvedHeight = resolveSizeAndState(childHeight, heightMeasureSpec, childState);
271 final int childHeight = mActiveChild.getMeasuredHeight();
273 mActiveChild.layout(0, 0, childWidth, childHeight);
276 mModestyPanel.layout(0, mModestyPanelTop, childWidth, mModestyPanelTop + childHeight);
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
FloatingChildLayout.java 147 final int childHeight = child.getMeasuredHeight();
158 final int childTop = target.centerY() - Math.round(childHeight * 0.35f);
162 final int clampedChildTop = clampDimension(childTop, childHeight, getHeight());
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
MultiPaneChallengeLayout.java 391 final int childHeight = child.getMeasuredHeight();
396 int bottom = top + childHeight;
400 padding.top + (adjustedHeight - childHeight) / 2 : padding.top;
401 bottom = top + childHeight;
404 padding.bottom += childHeight / 2;
409 ? padding.top + height - (adjustedHeight - childHeight) / 2
411 top = bottom - childHeight;
414 padding.top += childHeight / 2;
418 top = padding.top + (height - childHeight) / 2;
419 bottom = top + childHeight;
    [all...]
SlidingChallengeLayout.java 402 final int childHeight = mChallengeView.getHeight();
403 final int halfHeight = childHeight / 2;
404 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / childHeight);
413 final float childDelta = (float) Math.abs(dy) / childHeight;
    [all...]
PagedView.java 727 final int childHeight = child.getMeasuredHeight();
731 childLeft + child.getMeasuredWidth(), childTop + childHeight);
    [all...]
  /frameworks/base/core/java/android/widget/
AdapterViewAnimator.java 681 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom;
686 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
    [all...]
Gallery.java 934 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight();
944 - mSpinnerPadding.top - childHeight;
948 childTop = myHeight - mSpinnerPadding.bottom - childHeight;
    [all...]
GridView.java     [all...]
LinearLayout.java 703 final int childHeight = child.getMeasuredHeight();
705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
709 largestChildHeight = Math.max(childHeight, largestChildHeight);
837 int childHeight = child.getMeasuredHeight() + share;
838 if (childHeight < 0) {
839 childHeight = 0;
843 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
    [all...]
RelativeLayout.java 594 final int childHeight = child.getMeasuredHeight();
595 params.mTop = height - mPaddingBottom - childHeight;
596 params.mBottom = params.mTop + childHeight;
    [all...]
ScrollView.java 271 int childHeight = child.getHeight();
272 return getHeight() < childHeight + mPaddingTop + mPaddingBottom;
    [all...]
SlidingDrawer.java 326 int childHeight = handle.getMeasuredHeight();
335 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset;
337 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
338 mTopOffset + childHeight + content.getMeasuredHeight());
341 childTop = (height - childHeight) / 2;
348 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
642 final int childHeight = mHandleHeight;
643 int height = mBottom - mTop - childHeight - mTopOffset;
646 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
647 mTopOffset + childHeight + content.getMeasuredHeight())
    [all...]
ListView.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/
DrawerLayout.java 679 final int childHeight = child.getMeasuredHeight();
698 child.layout(childLeft, lp.topMargin, childLeft + childWidth, childHeight);
713 int childTop = (height - childHeight) / 2;
719 } else if (childTop + childHeight > height - lp.bottomMargin) {
720 childTop = height - lp.bottomMargin - childHeight;
723 childTop + childHeight);
    [all...]
SlidingPaneLayout.java 524 final int childHeight = child.getMeasuredHeight();
526 if (heightMode == MeasureSpec.AT_MOST && childHeight > layoutHeight) {
527 layoutHeight = Math.min(childHeight, maxLayoutHeight);
    [all...]
  /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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedView.java 663 final int childHeight = child.getMeasuredHeight();
666 childTop += ((getMeasuredHeight() - verticalPadding) - childHeight) / 2;
671 childLeft + child.getMeasuredWidth(), childTop + childHeight);
    [all...]

Completed in 1342 milliseconds

1 2 3