/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 | ClipRectAnimation.java | 156 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument 157 super.initialize(width, height, parentWidth, parentHeight); 159 (int) resolveSize(mFromTopType, mFromTopValue, height, parentHeight), 161 (int) resolveSize(mFromBottomType, mFromBottomValue, height, parentHeight)); 163 (int) resolveSize(mToTopType, mToTopValue, height, parentHeight), 165 (int) resolveSize(mToBottomType, mToBottomValue, 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 | 356 * @param parentHeight Height of the animated object's parent 358 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | FillContentLayout.java | 90 private void measureIllustrationChild(View child, int parentWidth, int parentHeight) { argument 101 Math.min(mMaxHeight, parentHeight),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardClockPositionAlgorithm.java | 137 float panelExpansion, int parentHeight, 144 mHeight = parentHeight; 136 setup(int minTopMargin, int maxShadeBottom, int notificationStackHeight, float panelExpansion, int parentHeight, int keyguardStatusHeight, float dark, boolean secure, boolean pulsing, int bouncerTop) argument
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 174 final int parentHeight = getHeight(); 178 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0); 249 final int parentHeight = getHeight(); 258 getDecoratedTop(v) <= parentHeight)) {
|
H A D | AnimatedRecyclerView.java | 549 final int parentHeight = getHeight(); 552 final int hangingBottom = Math.max(bottomView.getBottom() - parentHeight, 0); 623 final int parentHeight = getHeight(); 630 v.getBottom() >= 0 && v.getTop() <= parentHeight)) {
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | RecyclerViewActivity.java | 174 final int parentHeight = getHeight(); 178 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0); 249 final int parentHeight = getHeight(); 258 getDecoratedTop(v) <= parentHeight)) {
|
H A D | AnimatedRecyclerView.java | 549 final int parentHeight = getHeight(); 552 final int hangingBottom = Math.max(bottomView.getBottom() - parentHeight, 0); 623 final int parentHeight = getHeight(); 630 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/car/src/androidTest/java/androidx/car/widget/ |
H A D | DividerVisibilityManagerTest.java | 225 TestAdapter(int itemCount, int parentHeight) { argument 230 mParentHeight = parentHeight;
|
H A D | PagedListViewSavedStateTest.java | 186 TestAdapter(int itemCount, int parentHeight) { argument 191 mParentHeight = parentHeight;
|
H A D | PagedListViewTest.java | 694 TestAdapter(int itemCount, int parentHeight) { argument 699 mParentHeight = parentHeight;
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/ |
H A D | BoxInsetLayoutTest.java | 161 int parentHeight = boxParent.getHeight(); 200 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1)))) 203 closeTo((parentHeight / 2 + child3.getHeight() / 2), 1)))); 215 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1)))) 218 closeTo((parentHeight / 2 + child4.getHeight() / 2), 1))));
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/ |
H A D | WearableDrawerLayout.java | 1114 // The bottom drawer can be dragged vertically from (parentHeight - height) to 1115 // (parentHeight - peekHeight). 1116 int parentHeight = getHeight(); 1118 return Math.max(parentHeight - child.getHeight(), 1119 Math.min(top, parentHeight - peekHeight)); 1140 final int parentHeight = getHeight(); 1145 finalTop = parentHeight - releasedChild.getHeight(); 1162 final int parentHeight = getHeight(); 1164 mBottomDrawerView.setOpenedPercent((float) (parentHeight - top) / height);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationMenuRow.java | 451 int parentHeight = mParent.getActualHeight(); 453 if (parentHeight < mVertSpaceForIcons) { 454 translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2);
|
/frameworks/support/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
H A D | TextListItemActivity.java | 102 int parentHeight = ((View) v.getParent().getParent()).getHeight(); 104 "card height is " + pixelToDip(mContext, parentHeight) + " dp",
|
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
H A D | TextListItemActivity.java | 102 int parentHeight = ((View) v.getParent().getParent()).getHeight(); 104 "card height is " + pixelToDip(mContext, parentHeight) + " dp",
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationChildrenContainer.java | 682 * @param parentHeight the height of the parent. 688 int parentHeight, ExpandableViewState childState, int yPosition) { 693 if (bottom >= parentHeight) { 695 newHeight = Math.max((parentHeight - top), 0); 687 updateChildStateForExpandedGroup(ExpandableNotificationRow child, int parentHeight, ExpandableViewState childState, int yPosition) argument
|