/frameworks/base/core/java/android/widget/ |
AbsoluteLayout.java | 119 int childTop = mPaddingTop + lp.y; 120 child.layout(childLeft, childTop, 122 childTop + child.getMeasuredHeight());
|
FrameLayout.java | 390 int childTop; 418 childTop = parentTop + lp.topMargin; 421 childTop = parentTop + (parentBottom - parentTop - height) / 2 + 425 childTop = parentBottom - height - lp.bottomMargin; 428 childTop = parentTop + lp.topMargin; 431 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
LinearLayout.java | 446 // We should add to childTop: 450 int childTop = mBaselineChildTop; 457 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; 461 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - 469 return childTop + lp.topMargin + childBaseline; [all...] |
Spinner.java | 415 int childTop = mSpinnerPadding.top 418 int childBottom = childTop + child.getMeasuredHeight(); 424 child.layout(childLeft, childTop, childRight, childBottom);
|
Gallery.java | 890 int childTop = calculateTop(child, true); 891 int childBottom = childTop + child.getMeasuredHeight(); 902 child.layout(childLeft, childTop, childRight, childBottom); 915 int childTop = 0; 919 childTop = mSpinnerPadding.top; 924 childTop = mSpinnerPadding.top + (availableSpace / 2); 927 childTop = myHeight - mSpinnerPadding.bottom - childHeight; 930 return childTop; [all...] |
GridView.java | [all...] |
SlidingDrawer.java | 323 int childTop; 329 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; 335 childTop = (height - childHeight) / 2; 342 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); [all...] |
ListView.java | [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PictureLayout.java | 153 final int childTop = getPaddingTop(); 154 child.layout(childLeft, childTop, 156 childTop + child.getMeasuredHeight());
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
FloatingChildLayout.java | 112 final int childTop = mFixedTopPosition; 113 layoutChild(child, childLeft, childTop); 118 final int childTop = target.centerY() - Math.round(childHeight * 0.35f); 122 final int clampedChildTop = clampDimension(childTop, childHeight, getHeight());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
CellLayoutChildren.java | 107 int childTop = lp.y; 108 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); 118 cellXY[1] + childTop + lp.height / 2, 0, null);
|
PagedViewCellLayoutChildren.java | 138 int childTop = lp.y; 139 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height);
|
PagedView.java | 574 int childTop = mPaddingTop; 576 childTop += ((getMeasuredHeight() - verticalPadding) - childHeight) / 2; 579 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop); 580 child.layout(childLeft, childTop, 581 childLeft + child.getMeasuredWidth(), childTop + childHeight); [all...] |
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 196 int childTop = getHeight(); 201 childTop -= childHeight + mMarginBottom; 202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 203 childTop -= mMarginTop; 204 mFavoritesEnd = childTop - mMarginBottom; 206 int oldChildTop = childTop; 207 childTop = stackApplications(mFavorites, childLeft, childTop); 208 if (childTop != oldChildTop) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
AbsActionBarView.java | 223 int childTop = y + (contentHeight - childHeight) / 2; 225 child.layout(x, childTop, x + childWidth, childTop + childHeight); 233 int childTop = y + (contentHeight - childHeight) / 2; 235 child.layout(x - childWidth, childTop, x, childTop + childHeight);
|