Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/animation/
DTranslateAnimation.java171 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
172 super.initialize(width, height, parentWidth, parentHeight); in initialize()
175 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight); in initialize()
176 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.java424 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
425 super.initialize(width, height, parentWidth, parentHeight); in initialize()
482 a.initialize(width, height, parentWidth, parentHeight); in initialize()
DAnimation.java352 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java350 final int parentHeight = b - t; in layout() local
359 final int targetTop = (parentHeight - targetHeight) / 2; in layout()
361 final int top = (parentHeight - handleHeight) / 2; in layout()
362 final int bottom = (parentHeight + handleHeight) / 2; in layout()
380 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout()
381 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2; in layout()
384 text.layout(left, 0 - parentHeight, right, 0); in layout()
388 tab.layout(left, parentHeight - handleHeight, right, parentHeight); in layout()
389 text.layout(left, parentHeight, right, parentHeight + parentHeight); in layout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationSettingsIconRow.java233 int parentHeight = mParent.getCollapsedHeight(); in updateVerticalLocation() local
234 if (parentHeight < mVertSpaceForGear) { in updateVerticalLocation()
235 mGearIcon.setTranslationY((parentHeight / 2) - (mGearIcon.getHeight() / 2)); in updateVerticalLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationChildrenContainer.java428 int parentHeight = parentState.height;
455 if (updateChildStateForExpandedGroup(child, parentHeight, childState, yPosition)) {
531 int parentHeight, StackViewState childState, int yPosition) {
536 if (bottom >= parentHeight) {
538 newHeight = Math.max((parentHeight - top), 0);