/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/percent/src/androidTest/java/androidx/percentlayout/widget/ |
PercentRelativeTest.java | 89 final int childTop = childToTest.getTop(); 94 0.05f * mContainerHeight, childTop); 110 final int childTop = childToTest.getTop(); 115 0.2f * mContainerHeight, childTop); 165 final int childTop = childToTest.getTop(); 175 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/base/core/java/com/android/internal/widget/ |
MessagingLinearLayout.java | 146 int childTop; 155 childTop = mPaddingTop; 179 child.layout(childLeft, childTop, childLeft + childWidth, 180 childTop + lp.lastVisibleHeight); 191 childTop += mSpacing; 194 childTop += lp.topMargin; 195 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 197 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;
|
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);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
ScaleFrameLayout.java | 135 int childTop; 160 childTop = parentTop + lp.topMargin; 163 childTop = parentTop + (parentBottom - parentTop - height) / 2 167 childTop = parentBottom - height - lp.bottomMargin; 170 childTop = parentTop + lp.topMargin; 173 child.layout(childLeft, childTop, childLeft + width, childTop + height); 176 child.setPivotY(pivotY - childTop);
|
/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/main/java/androidx/appcompat/widget/ |
AlertDialogLayout.java | 280 int childTop; 284 childTop = getPaddingTop() + bottom - top - totalLength; 289 childTop = getPaddingTop() + (bottom - top - totalLength) / 2; 294 childTop = getPaddingTop(); 337 childTop += dividerHeight; 340 childTop += lp.topMargin; 341 setChildFrame(child, childLeft, childTop, childWidth, childHeight); 342 childTop += childHeight + lp.bottomMargin;
|
AbsActionBarView.java | 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);
|
LinearLayoutCompat.java | 448 // We should add to childTop: 452 int childTop = mBaselineChildTop; 459 childTop = getBottom() - getTop() - getPaddingBottom() - mTotalLength; 463 childTop += ((getBottom() - getTop() - getPaddingTop() - getPaddingBottom()) - 471 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 | 160 final int childTop = cellTop + childParams.topMargin; 162 final int childBottom = childTop + child.getMeasuredHeight(); 164 child.layout(childStart, childTop, childEnd, 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...] |
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
BaseLayout.java | 178 int childTop; 183 childTop = parentTop + (parentBottom - parentTop - height) / 2 + 186 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
/frameworks/support/media-widget/src/main/java/androidx/media/widget/ |
BaseLayout.java | 190 int childTop; 195 childTop = parentTop + (parentBottom - parentTop - height) / 2 198 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 162 int childTop = lp.y; 163 child.layout(childLeft, childTop, childLeft + lp.width, childTop + lp.height); 173 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/main/java/androidx/wear/widget/ |
BoxInsetLayout.java | 230 int childTop; 269 childTop = parentTop + topChildMargin; 273 childTop = parentTop + (parentBottom - parentTop - height) / 2 277 childTop = parentBottom - height - bottomChildMargin; 281 childTop = parentTop + topChildMargin; 284 child.layout(childLeft, childTop, childLeft + width, childTop + height);
|