Home
last modified time | relevance | path

Searched refs:childTop (Results 1 – 2 of 2) sorted by relevance

/development/samples/Home/src/com/example/android/home/
DApplicationsStackLayout.java196 int childTop = getHeight(); in layoutVertical() local
201 childTop -= childHeight + mMarginBottom; in layoutVertical()
202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in layoutVertical()
203 childTop -= mMarginTop; in layoutVertical()
204 mFavoritesEnd = childTop - mMarginBottom; in layoutVertical()
206 int oldChildTop = childTop; in layoutVertical()
207 childTop = stackApplications(mFavorites, childLeft, childTop); in layoutVertical()
208 if (childTop != oldChildTop) { in layoutVertical()
209 mFavoritesStart = childTop + mMarginTop; in layoutVertical()
214 stackApplications(mRecents, childLeft, childTop); in layoutVertical()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java153 final int childTop = getPaddingTop(); in onLayout() local
154 child.layout(childLeft, childTop, in onLayout()
156 childTop + child.getMeasuredHeight()); in onLayout()