/frameworks/support/percent/tests/java/android/support/percent/ |
PercentRelativeTest.java | 80 final int childHeight = childToTest.getHeight(); 85 0.05f * childWidth, childHeight); 101 final int childHeight = childToTest.getHeight(); 104 0.5f * mContainerHeight, childHeight); 106 0.05f * childHeight, childWidth); 122 final int childHeight = childToTest.getHeight(); 127 0.05f * childWidth, childHeight); 143 final int childHeight = childToTest.getHeight(); 146 0.4f * mContainerHeight, childHeight); 148 0.05f * childHeight, childWidth) [all...] |
PercentFrameTest.java | 57 int childHeight = childToTest.getHeight(); 62 0.5f * mContainerHeight, childHeight); 70 int childHeight = childToTest.getHeight(); 75 childWidth / 1.2f, childHeight); 83 int childHeight = childToTest.getHeight(); 86 0.5f * mContainerHeight, childHeight); 88 1.5f * childHeight, childWidth); 134 int childHeight = childToTest.getHeight(); 141 0.5f * mContainerHeight, childHeight); 153 int childHeight = childToTest.getHeight() [all...] |
PercentRelativeRtlTest.java | 152 final int childHeight = childToTest.getHeight(); 157 0.05f * childWidth, childHeight); 177 final int childHeight = childToTest.getHeight(); 180 0.5f * mContainerHeight, childHeight); 182 0.05f * childHeight, childWidth); 208 final int childHeight = childToTest.getHeight(); 213 0.05f * childWidth, childHeight); 238 final int childHeight = childToTest.getHeight(); 241 0.4f * mContainerHeight, childHeight); 243 0.05f * childHeight, childWidth) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LinearLayoutEditTextsTest.java | 52 final int childHeight = mChild.getHeight(); 55 assertEquals(containerHeight, childHeight);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
LineWrapLayout.java | 117 int childHeight = currChild.getMeasuredHeight(); 128 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + 146 int childHeight = currChild.getMeasuredHeight(); 165 startPositionY = y + lineHeight - childHeight - layoutParams.bottomMargin; 169 startPositionY = y + (lineHeight - childHeight) / 2; 177 width - startPositionX, startPositionY + childHeight); 180 startPositionY + childHeight); 182 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin +
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MiniDrawerView.java | 195 int childHeight = 0; 203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight(); 206 if (childHeight <= availableHeight) { 213 if (childHeight <= availableHeight) { 215 measureSpacer(availableHeight - childHeight); 231 childHeight -= childToHideParams.topMargin + childToHideParams.bottomMargin + 235 if (childHeight <= availableHeight) { 237 measureSpacer(availableHeight - childHeight);
|
AttachmentTileGrid.java | 202 final int childHeight = child.getMeasuredHeight(); 209 childTop += childHeight + mTilePadding; 215 childLeft + childWidth, childTop + childHeight);
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 199 int childHeight = mButton.getMeasuredHeight(); 201 childTop -= childHeight + mMarginBottom; 202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 222 int childHeight = mButton.getMeasuredHeight(); 225 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 245 int childHeight; 260 childHeight = view.getMeasuredHeight(); 263 childTop -= childHeight + mMarginBottom; 266 childTop += childHeight + mMarginBottom; 280 view.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); [all...] |
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
PercentFrameLayout.java | 87 final int childHeight = child.getMeasuredHeight(); 90 final int childTop = subTop + (subHeight - childHeight) / 2; 91 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
CalculatorPadLayout.java | 87 final int childHeight = childBottom - childTop; 89 childHeight != childView.getMeasuredHeight()) { 92 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
ProportionalLayout.java | 100 final int childHeight = child.getMeasuredHeight(); 105 width = Math.round(childHeight * mRatio); 106 height = childHeight;
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
BottomScrollViewTest.java | 64 private BottomScrollView createScrollView(final int childHeight) { 68 final View child = new TestChildView(getContext(), childHeight);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
StackScrollAlgorithm.java | 336 int childHeight = getMaxAllowedChildHeight(child); 340 updateFirstChildHeight(child, childViewState, childHeight, ambientState); 344 float nextYPosition = currentYPosition + childHeight + 359 childViewState, childHeight); 365 clampPositionToBottomStackStart(childViewState, childViewState.height, childHeight, 375 currentYPosition = childViewState.yTranslation + childHeight + paddingAfterChild; 463 * @param childHeight the height of this child 467 int childHeight, int minHeight, AmbientState ambientState) { 471 int childStart = bottomStackStart - childHeight; 492 StackViewState childViewState, int childHeight) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
MessagingLinearLayout.java | 134 final int childHeight = child.getMeasuredHeight(); 135 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + 212 final int childHeight = child.getMeasuredHeight(); 226 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 228 childTop += childHeight + lp.bottomMargin;
|
AbsActionBarView.java | 320 int childHeight = child.getMeasuredHeight(); 321 int childTop = y + (contentHeight - childHeight) / 2; 324 child.layout(x - childWidth, childTop, x, childTop + childHeight); 326 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
NotificationActionListLayout.java | 242 final int childHeight = child.getMeasuredHeight(); 246 childTop = paddingTop + ((innerHeight - childHeight) / 2) 250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
FlowLayout.java | 101 final int childHeight = child.getMeasuredHeight(); 106 child.layout(x, y, x + childWidth, y + childHeight);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
LinearLayoutCompat.java | 668 final int childHeight = child.getMeasuredHeight(); 670 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 674 largestChildHeight = Math.max(childHeight, largestChildHeight); 804 int childHeight = child.getMeasuredHeight() + share; 805 if (childHeight < 0) { 806 childHeight = 0; 810 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); [all...] |
AbsActionBarView.java | 261 int childHeight = child.getMeasuredHeight(); 262 int childTop = y + (contentHeight - childHeight) / 2; 265 child.layout(x - childWidth, childTop, x, childTop + childHeight); 267 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
/frameworks/base/core/java/android/widget/ |
SlidingDrawer.java | 344 int childHeight = handle.getMeasuredHeight(); 353 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; 355 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), 356 mTopOffset + childHeight + content.getMeasuredHeight()); 359 childTop = (height - childHeight) / 2; 366 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 660 final int childHeight = mHandleHeight; 661 int height = mBottom - mTop - childHeight - mTopOffset; 664 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), 665 mTopOffset + childHeight + content.getMeasuredHeight()) [all...] |
LinearLayout.java | 761 final int childHeight = child.getMeasuredHeight(); 767 consumedExcessSpace += childHeight; 771 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 775 largestChildHeight = Math.max(childHeight, largestChildHeight); [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
MatchParentShrinkingLinearLayout.java | 716 final int childHeight = child.getMeasuredHeight(); 718 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 722 largestChildHeight = Math.max(childHeight, largestChildHeight); 853 int childHeight = child.getMeasuredHeight() + share; 854 if (childHeight < 0) { 855 childHeight = 0; 859 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
LinearLayoutTest.java | 424 final int childHeight = 200; 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);
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
ListViewRemovalAnimation.java | 225 int childHeight = child.getHeight() + listview.getDividerHeight(); 226 startTop = top + (i > 0 ? childHeight : -childHeight);
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
InsertionListView.java | 210 int childHeight = child.getHeight() + getDividerHeight(); 211 int startTop = top + (i > 0 ? childHeight : -childHeight); 234 int childHeight = startBounds.bottom - startBounds.top + getDividerHeight(); 236 endBounds.offset(0, childHeight);
|