Searched refs:parentHeight (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/view/animation/ |
D | TranslateAnimation.java | 171 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()
|
D | ScaleAnimation.java | 278 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()
|
D | RotateAnimation.java | 178 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()
|
D | AnimationSet.java | 424 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()
|
D | Animation.java | 347 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 350 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()
|