Home
last modified time | relevance | path

Searched refs:parentHeight (Results 1 – 6 of 6) 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.java347 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()