/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LinearLayoutEditTextsTest.java | 52 final int childHeight = mChild.getHeight(); 55 assertEquals(containerHeight, childHeight);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AbsActionBarView.java | 194 int childHeight = child.getMeasuredHeight(); 195 int childTop = y + (contentHeight - childHeight) / 2; 197 child.layout(x, childTop, x + childWidth, childTop + childHeight); 204 int childHeight = child.getMeasuredHeight(); 205 int childTop = y + (contentHeight - childHeight) / 2; 207 child.layout(x - childWidth, childTop, x, 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...] |
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsContainerView.java | 121 final int childHeight = lp.height; 128 y += childHeight + mCellGap; 136 final int childBottom = childTop + childHeight; 148 y += childHeight + mCellGap;
|
/frameworks/base/core/java/com/android/internal/widget/ |
AbsActionBarView.java | 238 int childHeight = child.getMeasuredHeight(); 239 int childTop = y + (contentHeight - childHeight) / 2; 242 child.layout(x - childWidth, childTop, x, childTop + childHeight); 244 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
SizeAdaptiveLayout.java | 158 int childHeight = model.getMeasuredHeight(); 161 if (DEBUG) Log.d(TAG, "measured child at: " + childHeight); 163 int resolvedHeight = resolveSizeAndState(childHeight, heightMeasureSpec, childState); 271 final int childHeight = mActiveChild.getMeasuredHeight(); 273 mActiveChild.layout(0, 0, childWidth, childHeight); 276 mModestyPanel.layout(0, mModestyPanelTop, childWidth, mModestyPanelTop + childHeight);
|
/frameworks/base/core/java/android/widget/ |
SlidingDrawer.java | 326 int childHeight = handle.getMeasuredHeight(); 335 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; 337 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), 338 mTopOffset + childHeight + content.getMeasuredHeight()); 341 childTop = (height - childHeight) / 2; 348 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 642 final int childHeight = mHandleHeight; 643 int height = mBottom - mTop - childHeight - mTopOffset; 646 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), 647 mTopOffset + childHeight + content.getMeasuredHeight()) [all...] |
LinearLayout.java | 703 final int childHeight = child.getMeasuredHeight(); 705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 709 largestChildHeight = Math.max(childHeight, largestChildHeight); 837 int childHeight = child.getMeasuredHeight() + share; 838 if (childHeight < 0) { 839 childHeight = 0; 843 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); [all...] |
RelativeLayout.java | 585 final int childHeight = child.getMeasuredHeight(); 586 params.mTop = height - mPaddingBottom - childHeight; 587 params.mBottom = params.mTop + childHeight; [all...] |
AdapterViewAnimator.java | 681 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; 686 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); [all...] |
ScrollView.java | 276 int childHeight = child.getHeight(); 277 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
MultiPaneChallengeLayout.java | 399 final int childHeight = child.getMeasuredHeight(); 404 int bottom = top + childHeight; 408 padding.top + (adjustedHeight - childHeight) / 2 : padding.top; 409 bottom = top + childHeight; 412 padding.bottom += childHeight / 2; 417 ? padding.top + height - (adjustedHeight - childHeight) / 2 419 top = bottom - childHeight; 422 padding.top += childHeight / 2; 426 top = padding.top + (height - childHeight) / 2; 427 bottom = top + childHeight; [all...] |
SlidingChallengeLayout.java | 413 final int childHeight = mChallengeView.getHeight(); 414 final int halfHeight = childHeight / 2; 415 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / childHeight); 424 final float childDelta = (float) Math.abs(dy) / childHeight; [all...] |
/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);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
FloatingChildLayout.java | 147 final int childHeight = child.getMeasuredHeight(); 158 final int childTop = target.centerY() - Math.round(childHeight * 0.35f); 162 final int clampedChildTop = clampDimension(childTop, childHeight, getHeight());
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 175 final int childHeight = child.getMeasuredHeight(); 182 childTop += childHeight; 188 childLeft + childWidth, childTop + 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);
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 291 final int childHeight = getHeight() - getPaddingTop() - getPaddingBottom(); 294 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST); 431 int childHeight = heightSize; 435 childHeight -= padding; 439 final int childHeightSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST);
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 297 int childHeight = child.getHeight() + listview.getDividerHeight(); 298 startTop = top + (i > 0 ? childHeight : -childHeight);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 802 final int childHeight = child.getMeasuredHeight(); 803 final int childBottom = childTop + childHeight; 813 if (rec != null && rec.height != childHeight) { 815 rec.height = childHeight; [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideView.java | 468 int childHeight = getChildAt(0).getHeight(); 470 mBottomY = height < childHeight ? childHeight - height : 0;
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
StaggeredGridView.java | [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
DrawerLayout.java | 695 final int childHeight = child.getMeasuredHeight(); 715 lp.topMargin + childHeight); 730 int childTop = (height - childHeight) / 2; 736 } else if (childTop + childHeight > height - lp.bottomMargin) { 737 childTop = height - lp.bottomMargin - childHeight; 740 childTop + childHeight); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactTileAdapter.java | 647 final int childHeight = imageSize + child.getPaddingBottom(); 650 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)
|