HomeSort by relevance Sort by last modified time
    Searched defs:childWidth (Results 1 - 25 of 63) 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);
  /frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
FlowLayout.java 59 final int childWidth = child.getMeasuredWidth();
62 if (x + childWidth > width) {
67 x += childWidth;
100 final int childWidth = child.getMeasuredWidth();
102 if (x + childWidth > width) {
106 child.layout(x, y, x + childWidth, y + childHeight);
107 x += childWidth;
  /frameworks/support/percent/tests/java/android/support/percent/
PercentRelativeTest.java 79 final int childWidth = childToTest.getWidth();
83 0.5f * mContainerWidth, childWidth);
85 0.05f * childWidth, childHeight);
100 final int childWidth = childToTest.getWidth();
106 0.05f * childHeight, childWidth);
121 final int childWidth = childToTest.getWidth();
125 0.4f * mContainerWidth, childWidth);
127 0.05f * childWidth, childHeight);
142 final int childWidth = childToTest.getWidth();
148 0.05f * childHeight, childWidth);
    [all...]
PercentFrameTest.java 56 int childWidth = childToTest.getWidth();
60 0.5f * mContainerWidth, childWidth);
69 int childWidth = childToTest.getWidth();
73 0.6f * mContainerWidth, childWidth);
75 childWidth / 1.2f, childHeight);
82 int childWidth = childToTest.getWidth();
88 1.5f * childHeight, childWidth);
133 int childWidth = childToTest.getWidth();
139 0.5f * mContainerWidth, childWidth);
152 int childWidth = childToTest.getWidth()
    [all...]
PercentRelativeRtlTest.java 151 final int childWidth = childToTest.getWidth();
155 0.5f * mContainerWidth, childWidth);
157 0.05f * childWidth, childHeight);
176 final int childWidth = childToTest.getWidth();
182 0.05f * childHeight, childWidth);
207 final int childWidth = childToTest.getWidth();
211 0.4f * mContainerWidth, childWidth);
213 0.05f * childWidth, childHeight);
237 final int childWidth = childToTest.getWidth();
243 0.05f * childHeight, childWidth);
    [all...]
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
PercentFrameLayout.java 86 final int childWidth = child.getMeasuredWidth();
89 final int childLeft = subLeft + (subWidth - childWidth) / 2;
91 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcutKeysLayout.java 66 int childWidth = child.getMeasuredWidth();
70 if (xPos + childWidth > width) {
74 xPos += childWidth + layoutParams.mHorizontalSpacing;
  /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);
  /frameworks/base/core/java/com/android/internal/widget/
MessagingLinearLayout.java 211 final int childWidth = child.getMeasuredWidth();
216 childLeft = childRight - childWidth - lp.rightMargin;
226 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
AbsActionBarView.java 319 int childWidth = child.getMeasuredWidth();
324 child.layout(x - childWidth, childTop, x, childTop + childHeight);
326 child.layout(x, childTop, x + childWidth, childTop + childHeight);
329 return (reverse ? -childWidth : childWidth);
NotificationActionListLayout.java 241 final int childWidth = child.getMeasuredWidth();
250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
251 childLeft += childWidth + lp.rightMargin;
  /frameworks/base/graphics/java/android/graphics/drawable/
InsetDrawable.java 225 final int childWidth = getDrawable().getIntrinsicWidth();
226 if (childWidth < 0) {
229 return childWidth + mState.mInsetLeft + mState.mInsetRight;
  /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/Messaging/src/com/android/messaging/ui/
LineWrapLayout.java 116 int childWidth = currChild.getMeasuredWidth();
121 if ((x + childWidth + startMargin + endMargin) > width) {
130 x += childWidth + startMargin + endMargin;
145 int childWidth = currChild.getMeasuredWidth();
150 if ((x + childWidth + startMargin + endMargin) > width) {
176 currChild.layout(width - startPositionX - childWidth, startPositionY,
179 currChild.layout(startPositionX, startPositionY, startPositionX + childWidth,
184 x += childWidth + startMargin + endMargin;
  /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;
  /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...]
  /frameworks/base/core/java/android/widget/
TableRow.java 225 final int childWidth = child.getMeasuredWidth();
226 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth;
TabWidget.java 192 final int childWidth = child.getMeasuredWidth();
194 final int newWidth = Math.max(0, childWidth - delta);
197 extraWidth -= childWidth - newWidth; // delta may have been clamped
AdapterViewAnimator.java 682 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight;
687 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY),
    [all...]
HorizontalScrollView.java 264 int childWidth = child.getWidth();
265 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AbsActionBarView.java 260 int childWidth = child.getMeasuredWidth();
265 child.layout(x - childWidth, childTop, x, childTop + childHeight);
267 child.layout(x, childTop, x + childWidth, childTop + childHeight);
270 return (reverse ? -childWidth : childWidth);
  /packages/apps/Contacts/src/com/android/contacts/widget/
InterpolatingLayout.java 228 int childWidth = params.resolveWidth(parentWidth);
230 switch (childWidth) {
236 childWidth, MeasureSpec.EXACTLY);
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 423 final int childWidth = 100;
431 ViewGroup.LayoutParams childParams = new ViewGroup.LayoutParams(childWidth, childHeight);
435 childParams = new ViewGroup.LayoutParams(childWidth, childHeight);
446 checkBounds(viewGroup, child1, countDownLatch1, 0, 0, childWidth, childHeight);
448 childWidth, 0, childWidth, childHeight);
457 checkBounds(viewGroup, child2, countDownLatch2, 0, 0, childWidth, childHeight);
466 checkBounds(viewGroup, child1, countDownLatch3, 0, 0, childWidth, childHeight);
468 childWidth, 0, childWidth, childHeight)
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
MatchParentShrinkingLinearLayout.java     [all...]

Completed in 727 milliseconds

1 2 3