HomeSort by relevance Sort by last modified time
    Searched refs:childWidth (Results 1 - 25 of 39) 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 230 int childWidth = child.getMeasuredWidth();
235 child.layout(x - childWidth, childTop, x, childTop + childHeight);
237 child.layout(x, childTop, x + childWidth, childTop + childHeight);
240 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/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...]
LinearLayout.java     [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
TableRow.java 226 final int childWidth = child.getMeasuredWidth();
227 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth;
RelativeLayout.java 564 final int childWidth = child.getMeasuredWidth();
565 params.mLeft = width - mPaddingRight - childWidth;
566 params.mRight = params.mLeft + childWidth;
    [all...]
AdapterViewAnimator.java 680 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight;
685 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
    [all...]
StackView.java     [all...]
HorizontalScrollView.java 250 int childWidth = child.getWidth();
251 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ;
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
MultiPaneChallengeLayout.java 390 final int childWidth = child.getMeasuredWidth();
395 int right = left + childWidth;
425 padding.left + (adjustedWidth - childWidth) / 2 : padding.left;
426 right = left + childWidth;
429 padding.right += childWidth / 2;
434 ? width - padding.right - (adjustedWidth - childWidth) / 2
436 left = right - childWidth;
439 padding.left += childWidth / 2;
444 left = (paddedWidth - childWidth) / 2;
445 right = left + childWidth;
    [all...]
SlidingChallengeLayout.java     [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
DrawerLayout.java 678 final int childWidth = child.getMeasuredWidth();
684 childLeft = -childWidth + (int) (childWidth * lp.onScreen);
685 newOffset = (float) (childWidth + childLeft) / childWidth;
687 childLeft = width - (int) (childWidth * lp.onScreen);
688 newOffset = (float) (width - childLeft) / childWidth;
698 child.layout(childLeft, lp.topMargin, childLeft + childWidth, childHeight);
706 childLeft + childWidth,
722 child.layout(childLeft, childTop, childLeft + childWidth,
    [all...]
SlidingPaneLayout.java 523 final int childWidth = child.getMeasuredWidth();
530 widthRemaining -= childWidth;
655 final int childWidth = child.getMeasuredWidth();
663 lp.dimWhenOffset = xStart + lp.leftMargin + range + childWidth / 2 >
674 final int childRight = childLeft + childWidth;
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactTileAdapter.java 594 final int childWidth = child.getMeasuredWidth();
595 child.layout(childLeft, 0, childLeft + childWidth, child.getMeasuredHeight());
596 childLeft += childWidth;
642 final int childWidth = imageSize + child.getPaddingRight()
647 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/Launcher2/src/com/android/launcher2/
PagedView.java 662 final int childWidth = getScaledMeasuredWidth(child);
672 childLeft += childWidth + mPageSpacing;
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderBox.cpp     [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
HorizontalScrollView.java 244 int childWidth = child.getWidth();
245 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ;
    [all...]

Completed in 3921 milliseconds

1 2