Searched refs:parentHeight (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java178 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
179 super.initialize(width, height, parentWidth, parentHeight);
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
H A DTranslateAnimation.java171 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
172 super.initialize(width, height, parentWidth, parentHeight);
175 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
176 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
H A DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
279 super.initialize(width, height, parentWidth, parentHeight);
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight);
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
H A DAnimationSet.java424 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
425 super.initialize(width, height, parentWidth, parentHeight);
482 a.initialize(width, height, parentWidth, parentHeight);
H A DAnimation.java351 * @param parentHeight Height of the animated object's parent
353 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java173 final int parentHeight = getHeight();
177 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0);
248 final int parentHeight = getHeight();
257 getDecoratedTop(v) <= parentHeight)) {
H A DAnimatedRecyclerView.java554 final int parentHeight = getHeight();
557 final int hangingBottom = Math.max(bottomView.getBottom() - parentHeight, 0);
628 final int parentHeight = getHeight();
635 v.getBottom() >= 0 && v.getTop() <= parentHeight)) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java173 final int parentHeight = getHeight();
177 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0);
248 final int parentHeight = getHeight();
257 getDecoratedTop(v) <= parentHeight)) {
H A DAnimatedRecyclerView.java554 final int parentHeight = getHeight();
557 final int hangingBottom = Math.max(bottomView.getBottom() - parentHeight, 0);
628 final int parentHeight = getHeight();
635 v.getBottom() >= 0 && v.getTop() <= parentHeight)) {
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java350 final int parentHeight = b - t;
359 final int targetTop = (parentHeight - targetHeight) / 2;
361 final int top = (parentHeight - handleHeight) / 2;
362 final int bottom = (parentHeight + handleHeight) / 2;
380 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight;
381 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2;
384 text.layout(left, 0 - parentHeight, right, 0);
388 tab.layout(left, parentHeight - handleHeight, right, parentHeight);
389 text.layout(left, parentHeight, righ
[all...]
/frameworks/support/wear/tests/src/android/support/wear/widget/
H A DBoxInsetLayoutTest.java159 int parentHeight = boxParent.getHeight();
198 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1))))
201 closeTo((parentHeight / 2 + child3.getHeight() / 2), 1))));
213 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1))))
216 closeTo((parentHeight / 2 + child4.getHeight() / 2), 1))));
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DWearableDrawerLayout.java1112 // The bottom drawer can be dragged vertically from (parentHeight - height) to
1113 // (parentHeight - peekHeight).
1114 int parentHeight = getHeight();
1116 return Math.max(parentHeight - child.getHeight(),
1117 Math.min(top, parentHeight - peekHeight));
1138 final int parentHeight = getHeight();
1143 finalTop = parentHeight - releasedChild.getHeight();
1159 final int parentHeight = getHeight();
1161 mBottomDrawerView.setOpenedPercent((float) (parentHeight - top) / height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationMenuRow.java423 int parentHeight = mParent.getCollapsedHeight();
425 if (parentHeight < mVertSpaceForIcons) {
426 translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java125 int parentHeight, boolean skipFirstFrame, int stackClip, int transit,
133 anim.initialize(width, height, parentWidth, parentHeight);
124 setAnimation(Animation anim, int width, int height, int parentWidth, int parentHeight, boolean skipFirstFrame, int stackClip, int transit, int transitFlags) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationChildrenContainer.java634 * @param parentHeight the height of the parent.
640 int parentHeight, ExpandableViewState childState, int yPosition) {
645 if (bottom >= parentHeight) {
647 newHeight = Math.max((parentHeight - top), 0);
639 updateChildStateForExpandedGroup(ExpandableNotificationRow child, int parentHeight, ExpandableViewState childState, int yPosition) argument

Completed in 2282 milliseconds