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

1 2 3

  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
WeightSumTest.java 52 final int childWidth = mChild.getWidth();
55 assertEquals(containerWidth / 2, 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/UnifiedEmail/src/com/android/mail/ui/
AttachmentTileGrid.java 164 final int childWidth = imageSize + (i < remainder ? 1 : 0);
166 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
201 final int childWidth = child.getMeasuredWidth();
208 childLeft = (isRtl) ? width - childWidth : 0;
215 childLeft + childWidth, childTop + childHeight);
218 childLeft -= childWidth - mTilePadding;
220 childLeft += childWidth + mTilePadding;
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorPadLayout.java 86 final int childWidth = childRight - childLeft;
88 if (childWidth != childView.getMeasuredWidth() ||
91 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
  /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);
  /packages/apps/Settings/src/com/android/settings/dashboard/
DashboardContainerView.java 106 final int childWidth = lp.width;
122 final int childLeft = (isLayoutRtl) ? width - x - childWidth : x;
123 final int childRight = childLeft + childWidth;
135 x += childWidth + mCellGapX;
  /frameworks/base/core/java/com/android/internal/widget/
AbsActionBarView.java 258 int childWidth = child.getMeasuredWidth();
263 child.layout(x - childWidth, childTop, x, childTop + childHeight);
265 child.layout(x, childTop, x + childWidth, childTop + childHeight);
268 return (reverse ? -childWidth : childWidth);
SizeAdaptiveLayout.java 164 int childWidth = model.getMeasuredHeight();
167 int resolvedWidth = resolveSizeAndState(childWidth, widthMeasureSpec, childState);
277 final int childWidth = mActiveChild.getMeasuredWidth();
280 mActiveChild.layout(0, 0, childWidth, childHeight);
283 mModestyPanel.layout(0, mModestyPanelTop, childWidth, mModestyPanelTop + childHeight);
ResolverDrawerLayout.java 624 final int childWidth = child.getMeasuredWidth();
626 final int left = leftEdge + (widthAvailable - childWidth) / 2;
627 final int right = left + childWidth;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AbsActionBarView.java 242 int childWidth = child.getMeasuredWidth();
247 child.layout(x - childWidth, childTop, x, childTop + childHeight);
249 child.layout(x, childTop, x + childWidth, childTop + childHeight);
252 return (reverse ? -childWidth : childWidth);
  /frameworks/base/core/java/android/widget/
SlidingDrawer.java 346 int childWidth = handle.getMeasuredWidth();
355 childLeft = (width - childWidth) / 2;
361 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset;
364 content.layout(mTopOffset + childWidth, 0,
365 mTopOffset + childWidth + content.getMeasuredWidth(),
369 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
670 final int childWidth = mHandle.getWidth();
671 int width = mRight - mLeft - childWidth - mTopOffset;
674 content.layout(childWidth + mTopOffset, 0,
675 mTopOffset + childWidth + content.getMeasuredWidth()
    [all...]
LinearLayout.java     [all...]
TabWidget.java 199 final int childWidth = child.getMeasuredWidth();
201 final int newWidth = Math.max(0, childWidth - delta);
204 extraWidth -= childWidth - newWidth; // delta may have been clamped
TableRow.java 226 final int childWidth = child.getMeasuredWidth();
227 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth;
HorizontalScrollView.java 260 int childWidth = child.getWidth();
261 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ;
    [all...]
RelativeLayout.java 563 final int childWidth = child.getMeasuredWidth();
564 params.mLeft = width - mPaddingRight - childWidth;
565 params.mRight = params.mLeft + childWidth;
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
MultiPaneChallengeLayout.java 397 final int childWidth = child.getMeasuredWidth();
402 int right = left + childWidth;
432 padding.left + (adjustedWidth - childWidth) / 2 : padding.left;
433 right = left + childWidth;
436 padding.right += childWidth / 2;
441 ? width - padding.right - (adjustedWidth - childWidth) / 2
443 left = right - childWidth;
446 padding.left += childWidth / 2;
451 left = (paddedWidth - childWidth) / 2;
452 right = left + childWidth;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
LinearLayoutCompat.java     [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactTileAdapter.java 568 final int childWidth = child.getMeasuredWidth();
569 child.layout(childLeft, 0, childLeft + childWidth, child.getMeasuredHeight());
570 childLeft += childWidth;
616 final int childWidth = imageSize + child.getPaddingRight() + child.getPaddingLeft()
621 MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
  /frameworks/support/v4/java/android/support/v4/widget/
DrawerLayout.java     [all...]
SlidingPaneLayout.java 541 final int childWidth = child.getMeasuredWidth();
548 widthRemaining -= childWidth;
682 final int childWidth = child.getMeasuredWidth();
691 lp.dimWhenOffset = xStart + lpMargin + range + childWidth / 2 >
707 childLeft = childRight - childWidth;
710 childRight = childLeft + childWidth;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
InterpolatingLayout.java 228 int childWidth = params.resolveWidth(parentWidth);
230 switch (childWidth) {
236 childWidth, MeasureSpec.EXACTLY);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PseudoGridView.java 73 int childWidth = (width - (mNumColumns - 1) * mHorizontalSpacing) / mNumColumns;
74 int childWidthSpec = MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY);
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedView.java 869 int childWidth;
885 childWidth = getViewportWidth() - horizontalPadding
894 childWidth = getViewportWidth() - mInsets.left - mInsets.right;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderFlexibleBox.cpp     [all...]

Completed in 3262 milliseconds

1 2 3