Searched refs:parentWidth (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/view/animation/ |
D | TranslateAnimation.java | 163 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument 164 super.initialize(width, height, parentWidth, parentHeight); in initialize() 165 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth); in initialize() 166 mToXDelta = resolveSize(mToXType, mToXValue, width, parentWidth); 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() 281 mFromX = resolveScale(mFromX, mFromXType, mFromXData, width, parentWidth); in initialize() 282 mToX = resolveScale(mToX, mToXType, mToXData, width, parentWidth); in initialize() 286 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth); 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() 180 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth); 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 | 345 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 | 349 final int parentWidth = r - l; in layout() local 352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout() 353 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout() 354 final int left = (parentWidth - handleWidth) / 2; in layout() 365 text.layout(0 - parentWidth, top, 0, bottom); in layout() 370 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); in layout() 371 text.layout(parentWidth, top, parentWidth + parentWidth, bottom); in layout() 378 final int targetLeft = (parentWidth - targetWidth) / 2; in layout() 379 final int targetRight = (parentWidth + targetWidth) / 2; in layout()
|