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/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.java145 float panelExpansion, int parentHeight, int keyguardStatusHeight, int clockPreferredY, in setup() argument
152 mHeight = parentHeight; in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java462 int parentHeight = mParent.getActualHeight(); in onParentHeightUpdate() local
464 if (parentHeight < mVertSpaceForIcons) { in onParentHeightUpdate()
465 translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2); in onParentHeightUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java639 int parentHeight, ExpandableViewState childState, int yPosition) {
644 if (bottom >= parentHeight) {
646 newHeight = Math.max((parentHeight - top), 0);
/frameworks/base/services/core/java/com/android/server/wm/
DTaskRecord.java2287 final int parentHeight = parentBounds.height(); in computeFullscreenBounds() local
2288 final float aspect = ((float) parentHeight) / parentWidth; in computeFullscreenBounds()
2294 final int width = (int) (parentHeight * aspect); in computeFullscreenBounds()