Searched refs:parentHeight (Results 1 - 22 of 22) 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 DClipRectAnimation.java156 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 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.java356 * @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 DFillContentLayout.java90 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 DKeyguardClockPositionAlgorithm.java137 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 DRecyclerViewActivity.java174 final int parentHeight = getHeight();
178 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0);
249 final int parentHeight = getHeight();
258 getDecoratedTop(v) <= parentHeight)) {
H A DAnimatedRecyclerView.java549 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 DRecyclerViewActivity.java174 final int parentHeight = getHeight();
178 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0);
249 final int parentHeight = getHeight();
258 getDecoratedTop(v) <= parentHeight)) {
H A DAnimatedRecyclerView.java549 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 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/car/src/androidTest/java/androidx/car/widget/
H A DDividerVisibilityManagerTest.java225 TestAdapter(int itemCount, int parentHeight) { argument
230 mParentHeight = parentHeight;
H A DPagedListViewSavedStateTest.java186 TestAdapter(int itemCount, int parentHeight) { argument
191 mParentHeight = parentHeight;
H A DPagedListViewTest.java694 TestAdapter(int itemCount, int parentHeight) { argument
699 mParentHeight = parentHeight;
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DBoxInsetLayoutTest.java161 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 DWearableDrawerLayout.java1114 // 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 DNotificationMenuRow.java451 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 DTextListItemActivity.java102 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 DTextListItemActivity.java102 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 DNotificationChildrenContainer.java682 * @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

Completed in 583 milliseconds