/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
WeightSumTest.java | 52 final int childWidth = mChild.getWidth(); 55 assertEquals(containerWidth / 2, childWidth);
|
/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/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;
|
/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;
|
/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 | 226 final int childWidth = child.getMeasuredWidth(); 227 lp.mOffset[LayoutParams.LOCATION_NEXT] = columnWidth - childWidth;
|
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
|
AdapterViewAnimator.java | 680 final int childWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; 685 child.measure(MeasureSpec.makeMeasureSpec(childWidth, MeasureSpec.EXACTLY), [all...] |
HorizontalScrollView.java | 255 int childWidth = child.getWidth(); 256 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; [all...] |
LinearLayout.java | [all...] |
RelativeLayout.java | 555 final int childWidth = child.getMeasuredWidth(); 556 params.mLeft = width - mPaddingRight - childWidth; 557 params.mRight = params.mLeft + childWidth; [all...] |
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...] |
GridView.java | [all...] |
ListView.java | [all...] |
/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/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());
|
/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/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...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderFlexibleBox.cpp | [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
HorizontalScrollView.java | 244 int childWidth = child.getWidth(); 245 return getWidth() < childWidth + mPaddingLeft + mPaddingRight ; [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/Launcher2/src/com/android/launcher2/ |
PagedView.java | 662 final int childWidth = getScaledMeasuredWidth(child); 672 childLeft += childWidth + mPageSpacing; [all...] |