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

1 2

  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
WeightSumTest.java 52 final int childWidth = mChild.getWidth();
55 assertEquals(containerWidth / 2, childWidth);
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsActionBarView.java 193 int childWidth = child.getMeasuredWidth();
197 child.layout(x, childTop, x + childWidth, childTop + childHeight);
199 return childWidth;
203 int childWidth = child.getMeasuredWidth();
207 child.layout(x - childWidth, childTop, x, childTop + childHeight);
209 return childWidth;
  /development/samples/Home/src/com/example/android/home/
ApplicationsStackLayout.java 198 int childWidth = mButton.getMeasuredWidth();
202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
221 int childWidth = mButton.getMeasuredWidth();
224 childLeft -= childWidth;
225 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
244 int childWidth;
259 childWidth = view.getMeasuredWidth();
270 childLeft -= childWidth + mMarginRight;
273 childLeft += childWidth + mMarginRight;
280 view.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
ProportionalLayout.java 99 final int childWidth = child.getMeasuredWidth();
108 width = childWidth;
109 height = Math.round(childWidth * mRatio);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettingsContainerView.java 120 final int childWidth = lp.width;
132 final int childLeft = (isLayoutRtl) ? width - x - childWidth : x;
133 final int childRight = childLeft + childWidth;
145 x += childWidth + mCellGap;
  /frameworks/base/core/java/com/android/internal/widget/
AbsActionBarView.java 237 int childWidth = child.getMeasuredWidth();
242 child.layout(x - childWidth, childTop, x, childTop + childHeight);
244 child.layout(x, childTop, x + childWidth, childTop + childHeight);
247 return (reverse ? -childWidth : childWidth);
SizeAdaptiveLayout.java 159 int childWidth = model.getMeasuredHeight();
162 int resolvedWidth = resolveSizeAndState(childWidth, widthMeasureSpec, childState);
270 final int childWidth = mActiveChild.getMeasuredWidth();
273 mActiveChild.layout(0, 0, childWidth, childHeight);
276 mModestyPanel.layout(0, mModestyPanelTop, childWidth, mModestyPanelTop + childHeight);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTileGrid.java 144 final int childWidth = imageSize + (i < remainder ? 1 : 0);
146 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
174 final int childWidth = child.getMeasuredWidth();
188 childLeft + childWidth, childTop + childHeight);
189 childLeft += childWidth;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
FloatingChildLayout.java 146 final int childWidth = child.getMeasuredWidth();
151 final int childLeft = (getWidth() - childWidth) / 2;
156 final int childLeft = target.centerX() - (childWidth / 2);
161 final int clampedChildLeft = clampDimension(childLeft, childWidth, getWidth());
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 325 int childWidth = handle.getMeasuredWidth();
334 childLeft = (width - childWidth) / 2;
340 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset;
343 content.layout(mTopOffset + childWidth, 0,
344 mTopOffset + childWidth + content.getMeasuredWidth(),
348 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
649 final int childWidth = mHandle.getWidth();
650 int width = mRight - mLeft - childWidth - mTopOffset;
653 content.layout(childWidth + mTopOffset, 0,
654 mTopOffset + childWidth + content.getMeasuredWidth()
    [all...]
TabWidget.java 196 final int childWidth = child.getMeasuredWidth();
198 final int newWidth = Math.max(0, childWidth - delta);
201 extraWidth -= childWidth - newWidth; // delta may have been clamped
LinearLayout.java     [all...]
TableRow.java 226 final int childWidth = child.getMeasuredWidth();
227 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth;
HorizontalScrollView.java 255 int childWidth = child.getWidth();
256 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ;
    [all...]
RelativeLayout.java 555 final int childWidth = child.getMeasuredWidth();
556 params.mLeft = width - mPaddingRight - childWidth;
557 params.mRight = params.mLeft + childWidth;
    [all...]
AdapterViewAnimator.java 680 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight;
685 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
MultiPaneChallengeLayout.java 398 final int childWidth = child.getMeasuredWidth();
403 int right = left + childWidth;
433 padding.left + (adjustedWidth - childWidth) / 2 : padding.left;
434 right = left + childWidth;
437 padding.right += childWidth / 2;
442 ? width - padding.right - (adjustedWidth - childWidth) / 2
444 left = right - childWidth;
447 padding.left += childWidth / 2;
452 left = (paddedWidth - childWidth) / 2;
453 right = left + childWidth;
    [all...]
SlidingChallengeLayout.java     [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
DrawerLayout.java 694 final int childWidth = child.getMeasuredWidth();
700 childLeft = -childWidth + (int) (childWidth * lp.onScreen);
701 newOffset = (float) (childWidth + childLeft) / childWidth;
703 childLeft = width - (int) (childWidth * lp.onScreen);
704 newOffset = (float) (width - childLeft) / childWidth;
714 child.layout(childLeft, lp.topMargin, childLeft + childWidth,
723 childLeft + childWidth,
739 child.layout(childLeft, childTop, childLeft + childWidth,
    [all...]
SlidingPaneLayout.java 530 final int childWidth = child.getMeasuredWidth();
537 widthRemaining -= childWidth;
662 final int childWidth = child.getMeasuredWidth();
670 lp.dimWhenOffset = xStart + lp.leftMargin + range + childWidth / 2 >
681 final int childRight = childLeft + childWidth;
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactTileAdapter.java 595 final int childWidth = child.getMeasuredWidth();
596 child.layout(childLeft, 0, childLeft + childWidth, child.getMeasuredHeight());
597 childLeft += childWidth;
643 final int childWidth = imageSize + child.getPaddingRight()
648 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
  /packages/apps/Contacts/src/com/android/contacts/widget/
InterpolatingLayout.java 228 int childWidth = params.resolveWidth(parentWidth);
230 switch (childWidth) {
236 childWidth, MeasureSpec.EXACTLY);
  /packages/apps/Dialer/src/com/android/dialer/list/
PhoneFavoritesTileAdapter.java 852 final int childWidth = child.getMeasuredWidth();
853 child.layout(childLeft, getPaddingTop(), childLeft + childWidth,
855 childLeft += childWidth;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderFlexibleBox.cpp     [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedView.java 839 int childWidth;
855 childWidth = widthSize - horizontalPadding;
864 childWidth = getViewportWidth();
867 childWidth = widthSize - getPaddingLeft() - getPaddingRight();
873 MeasureSpec.makeMeasureSpec(childWidth, childWidthMode);
    [all...]

Completed in 793 milliseconds

1 2