HomeSort by relevance Sort by last modified time
    Searched defs:childWidth (Results 1 - 25 of 64) 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 53 int childWidth = childToTest.getWidth();
57 0.5f * mContainerWidth, childWidth);
66 int childWidth = childToTest.getWidth();
70 0.6f * mContainerWidth, childWidth);
72 childWidth / 1.2f, childHeight);
79 int childWidth = childToTest.getWidth();
85 1.5f * childHeight, childWidth);
130 int childWidth = childToTest.getWidth();
136 0.5f * mContainerWidth, childWidth);
149 int childWidth = childToTest.getWidth()
    [all...]
PercentRelativeRtlTest.java 152 final int childWidth = childToTest.getWidth();
156 0.5f * mContainerWidth, childWidth);
158 0.05f * childWidth, childHeight);
180 final int childWidth = childToTest.getWidth();
186 0.05f * childHeight, childWidth);
214 final int childWidth = childToTest.getWidth();
218 0.4f * mContainerWidth, childWidth);
220 0.05f * childWidth, childHeight);
247 final int childWidth = childToTest.getWidth();
253 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/Contacts/src/com/android/contacts/widget/
ProportionalLayout.java 99 final int childWidth = child.getMeasuredWidth();
108 width = childWidth;
109 height = Math.round(childWidth * mRatio);
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/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 194 final int childWidth = child.getMeasuredWidth();
196 final int newWidth = Math.max(0, childWidth - delta);
199 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...]
  /frameworks/base/core/java/com/android/internal/widget/
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);
AlertDialogLayout.java 313 final int childWidth = child.getMeasuredWidth();
330 childLeft = paddingLeft + ((childSpace - childWidth) / 2)
335 childLeft = childRight - childWidth - lp.rightMargin;
349 setChildFrame(child, childLeft, childTop, childWidth, childHeight);
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 284 final int childWidth = getDrawable().getIntrinsicWidth();
286 if (childWidth < 0 || fraction >= 1) {
289 return (int) (childWidth / (1 - fraction)) + mState.mInsetLeft.mDimension
  /frameworks/support/design/src/android/support/design/internal/
BottomNavigationMenuView.java 131 final int childWidth = Math.min(maxAvailable, mActiveItemMaxWidth);
132 int extra = width - childWidth * count;
134 mTempChildWidths[i] = childWidth;
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AbsActionBarView.java 259 int childWidth = child.getMeasuredWidth();
264 child.layout(x - childWidth, childTop, x, childTop + childHeight);
266 child.layout(x, childTop, x + childWidth, childTop + childHeight);
269 return (reverse ? -childWidth : childWidth);
AlertDialogLayout.java 304 final int childWidth = child.getMeasuredWidth();
321 childLeft = paddingLeft + ((childSpace - childWidth) / 2)
326 childLeft = childRight - childWidth - lp.rightMargin;
340 setChildFrame(child, childLeft, childTop, childWidth, childHeight);
  /packages/apps/Settings/src/com/android/settings/widget/
MatchParentShrinkingLinearLayout.java     [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 648 final int childWidth = 100;
656 ViewGroup.LayoutParams childParams = new ViewGroup.LayoutParams(childWidth, childHeight);
660 childParams = new ViewGroup.LayoutParams(childWidth, childHeight);
670 verifyBounds(viewGroup, child1, countDownLatch1, 0, 0, childWidth, childHeight);
672 childWidth, 0, childWidth, childHeight);
683 verifyBounds(viewGroup, child2, countDownLatch2, 0, 0, childWidth, childHeight);
694 verifyBounds(viewGroup, child1, countDownLatch3, 0, 0, childWidth, childHeight);
696 childWidth, 0, childWidth, childHeight)
    [all...]

Completed in 448 milliseconds

1 2 3