/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/support/design/src/android/support/design/internal/ |
BaselineLayout.java | 101 final int childTop; 103 childTop = parentTop + mBaseline - child.getBaseline(); 105 childTop = parentTop; 108 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
/frameworks/support/percent/tests/java/android/support/percent/ |
PercentRelativeTest.java | 88 final int childTop = childToTest.getTop(); 93 0.05f * mContainerHeight, childTop); 109 final int childTop = childToTest.getTop(); 114 0.2f * mContainerHeight, childTop); 164 final int childTop = childToTest.getTop(); 174 topChild.getBottom() + 0.1f * mContainerHeight, childTop);
|
PercentFrameTest.java | 93 int childTop = childToTest.getTop(); 100 0.3f * mContainerHeight, childTop); 112 int childTop = childToTest.getTop(); 117 0.1f * mContainerHeight, childTop); 133 int childTop = childToTest.getTop(); 142 0.2f * mContainerHeight, childTop);
|
PercentRelativeRtlTest.java | 148 final int childTop = childToTest.getTop(); 150 0.05f * mContainerHeight, childTop); 188 final int childTop = childToTest.getTop(); 191 0.2f * mContainerHeight, childTop); 274 final int childTop = childToTest.getTop(); 286 topChild.getBottom() + 0.1f * mContainerHeight, childTop);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ScaleFrameLayout.java | 134 int childTop; 159 childTop = parentTop + lp.topMargin; 162 childTop = parentTop + (parentBottom - parentTop - height) / 2 166 childTop = parentBottom - height - lp.bottomMargin; 169 childTop = parentTop + lp.topMargin; 172 child.layout(childLeft, childTop, childLeft + width, childTop + height); 175 child.setPivotY(pivotY - childTop);
|
/frameworks/base/core/java/com/android/internal/widget/ |
MessagingLinearLayout.java | 212 int childTop; 221 childTop = mPaddingTop; 244 childTop += mSpacing; 247 childTop += lp.topMargin; 248 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 250 childTop += childHeight + lp.bottomMargin;
|
AlertDialogLayout.java | 288 int childTop; 292 childTop = mPaddingTop + bottom - top - totalLength; 297 childTop = mPaddingTop + (bottom - top - totalLength) / 2; 302 childTop = mPaddingTop; 345 childTop += dividerHeight; 348 childTop += lp.topMargin; 349 setChildFrame(child, childLeft, childTop, childWidth, childHeight); 350 childTop += childHeight + lp.bottomMargin;
|
NotificationActionListLayout.java | 205 int childTop; 246 childTop = paddingTop + ((innerHeight - childHeight) / 2) 250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
|
AbsActionBarView.java | 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);
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
PercentFrameLayout.java | 90 final int childTop = subTop + (subHeight - childHeight) / 2; 91 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AlertDialogLayout.java | 279 int childTop; 283 childTop = getPaddingTop() + bottom - top - totalLength; 288 childTop = getPaddingTop() + (bottom - top - totalLength) / 2; 293 childTop = getPaddingTop(); 336 childTop += dividerHeight; 339 childTop += lp.topMargin; 340 setChildFrame(child, childLeft, childTop, childWidth, childHeight); 341 childTop += childHeight + lp.bottomMargin;
|
AbsActionBarView.java | 261 int childTop = y + (contentHeight - childHeight) / 2; 264 child.layout(x - childWidth, childTop, x, childTop + childHeight); 266 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
LinearLayoutCompat.java | 446 // We should add to childTop: 450 int childTop = mBaselineChildTop; 457 childTop = getBottom() - getTop() - getPaddingBottom() - mTotalLength; 461 childTop += ((getBottom() - getTop() - getPaddingTop() - getPaddingBottom()) - 469 return childTop + lp.topMargin + childBaseline; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
BoxInsetLayout.java | 261 int childTop; 326 childTop = parentTop + lp.topMargin; 332 childTop = 0; 334 childTop = parentTop + lp.topMargin; 338 childTop = parentTop + (parentBottom - parentTop - height) / 2 + 344 childTop = bottom - top - height; 346 childTop = parentBottom - height - lp.bottomMargin; 350 childTop = parentTop + lp.topMargin; 355 child.layout(childLeft, childTop, childLeft + width, childTop + height) [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());
|
/frameworks/base/core/java/android/widget/ |
AbsoluteLayout.java | 122 int childTop = mPaddingTop + lp.y; 123 child.layout(childLeft, childTop, 125 childTop + child.getMeasuredHeight());
|
FrameLayout.java | 282 int childTop; 310 childTop = parentTop + lp.topMargin; 313 childTop = parentTop + (parentBottom - parentTop - height) / 2 + 317 childTop = parentBottom - height - lp.bottomMargin; 320 childTop = parentTop + lp.topMargin; 323 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
PrintOptionsLayout.java | 152 final int childTop = cellTop + childParams.topMargin; 154 final int childBottom = childTop + child.getMeasuredHeight(); 156 child.layout(childLeft, childTop, childRight, childBottom);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayoutChildren.java | 138 int childTop = lp.y; 139 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height);
|
ShortcutAndWidgetContainer.java | 143 int childTop = lp.y; 144 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); 154 cellXY[1] + childTop + lp.height / 2, 0, null);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
MatchParentShrinkingLinearLayout.java | 492 // We should add to childTop: 496 int childTop = mBaselineChildTop; 503 childTop = mBottom - mTop - mPaddingBottom - mTotalLength; 507 childTop += ((mBottom - mTop - mPaddingTop - mPaddingBottom) - 515 return childTop + lp.topMargin + childBaseline; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 165 int childTop = lp.y; 166 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); 176 cellXY[1] + childTop + lp.height / 2, 0, null);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 194 int childTop = 0; 205 // in the grid, reset childLeft to 0 and update childTop 209 childTop += childHeight + mTilePadding; 214 child.layout(childLeft, childTop, 215 childLeft + childWidth, childTop + childHeight);
|
/frameworks/support/wear/src/android/support/wear/widget/ |
BoxInsetLayout.java | 249 int childTop; 288 childTop = parentTop + topChildMargin; 292 childTop = parentTop + (parentBottom - parentTop - height) / 2 296 childTop = parentBottom - height - bottomChildMargin; 300 childTop = parentTop + topChildMargin; 303 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|