/frameworks/base/core/java/android/view/animation/ |
H A D | RotateAnimation.java | 178 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 D | TranslateAnimation.java | 171 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 D | ScaleAnimation.java | 278 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 D | AnimationSet.java | 424 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 D | Animation.java | 351 * @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 D | RecyclerViewActivity.java | 173 final int parentHeight = getHeight(); 177 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0); 248 final int parentHeight = getHeight(); 257 getDecoratedTop(v) <= parentHeight)) {
|
H A D | AnimatedRecyclerView.java | 554 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 D | RecyclerViewActivity.java | 173 final int parentHeight = getHeight(); 177 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0); 248 final int parentHeight = getHeight(); 257 getDecoratedTop(v) <= parentHeight)) {
|
H A D | AnimatedRecyclerView.java | 554 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 D | SlidingTab.java | 350 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 D | BoxInsetLayoutTest.java | 159 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 D | WearableDrawerLayout.java | 1112 // 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 D | NotificationMenuRow.java | 423 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 D | AppWindowAnimator.java | 125 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 D | NotificationChildrenContainer.java | 634 * @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
|