Home
last modified time | relevance | path

Searched refs:parentHeight (Results 1 – 4 of 4) sorted by relevance

/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DFitCenterFrameLayout.java62 final int parentHeight = parentBottom - parentTop; in onLayout() local
85 parentUnpaddedHeight = parentHeight - childPaddingTop - childPaddingBottom; in onLayout()
102 parentTop + (parentHeight - scaledChildHeight) / 2, in onLayout()
104 parentTop + (parentHeight + scaledChildHeight) / 2); in onLayout()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DRotate3dAnimation.java63 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
64 super.initialize(width, height, parentWidth, parentHeight); in initialize()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java174 final int parentHeight = getHeight(); in scrollVerticallyBy() local
178 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0); in scrollVerticallyBy()
249 final int parentHeight = getHeight(); in recycleViewsOutOfBounds() local
258 getDecoratedTop(v) <= parentHeight)) { in recycleViewsOutOfBounds()
DAnimatedRecyclerView.java312 final int parentHeight = getHeight(); in scrollVerticallyBy() local
315 final int hangingBottom = Math.max(bottomView.getBottom() - parentHeight, 0); in scrollVerticallyBy()
386 final int parentHeight = getHeight(); in recycleViewsOutOfBounds() local
393 v.getBottom() >= 0 && v.getTop() <= parentHeight)) { in recycleViewsOutOfBounds()