Home
last modified time | relevance | path

Searched refs:parentWidth (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/view/animation/
DTranslateAnimation.java163 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()
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()
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()
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()
180 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth); 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.java345 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java349 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()