Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/animation/
DClipRectAnimation.java156 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
157 super.initialize(width, height, parentWidth, parentHeight); in initialize()
159 (int) resolveSize(mFromTopType, mFromTopValue, height, parentHeight), in initialize()
161 (int) resolveSize(mFromBottomType, mFromBottomValue, height, parentHeight)); in initialize()
163 (int) resolveSize(mToTopType, mToTopValue, height, parentHeight), in initialize()
165 (int) resolveSize(mToBottomType, mToBottomValue, height, parentHeight)); in initialize()
DTranslateAnimation.java176 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
177 super.initialize(width, height, parentWidth, parentHeight); in initialize()
180 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight); in initialize()
181 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight); in initialize()
DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
279 super.initialize(width, height, parentWidth, parentHeight); in initialize()
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight); in initialize()
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight); in initialize()
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight); in initialize()
DRotateAnimation.java178 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
179 super.initialize(width, height, parentWidth, parentHeight); in initialize()
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight); in initialize()
DAnimationSet.java420 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
421 super.initialize(width, height, parentWidth, parentHeight); in initialize()
478 a.initialize(width, height, parentWidth, parentHeight); in initialize()
DAnimation.java366 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/
DExtensionHelper.java63 private static void rotateBounds(Rect inOutRect, int parentWidth, int parentHeight, in rotateBounds() argument
80 inOutRect.left = parentHeight - inOutRect.bottom; in rotateBounds()
82 inOutRect.right = parentHeight - inOutRect.top; in rotateBounds()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java356 final int parentHeight = b - t; in layout() local
365 final int targetTop = (parentHeight - targetHeight) / 2; in layout()
367 final int top = (parentHeight - handleHeight) / 2; in layout()
368 final int bottom = (parentHeight + handleHeight) / 2; in layout()
386 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout()
387 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2; in layout()
390 text.layout(left, 0 - parentHeight, right, 0); in layout()
394 tab.layout(left, parentHeight - handleHeight, right, parentHeight); in layout()
395 text.layout(left, parentHeight, right, parentHeight + parentHeight); in layout()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java85 private void measureIllustrationChild(View child, int parentWidth, int parentHeight) { in measureIllustrationChild() argument
98 Math.min(maxHeight, parentHeight), in measureIllustrationChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java173 int notificationStackHeight, float panelExpansion, int parentHeight, in setup() argument
183 mHeight = parentHeight; in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java477 int parentHeight = mParent.getActualHeight(); in onParentHeightUpdate() local
479 if (parentHeight < mVertSpaceForIcons) { in onParentHeightUpdate()
480 translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2); in onParentHeightUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java671 int parentHeight, ExpandableViewState childState, int yPosition) {
676 if (bottom >= parentHeight) {
678 newHeight = Math.max((parentHeight - top), 0);