/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() 173 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth); in initialize() 174 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 | 353 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument
|
/frameworks/support/wear/tests/src/android/support/wear/widget/ |
D | BoxInsetLayoutTest.java | 158 int parentWidth = boxParent.getWidth(); in testCase2() local 212 .check(screenLeft(is(parentWidth - desiredPadding - child4.getWidth()))) in testCase2() 214 .check(screenRight(is(equalTo(parentWidth - desiredPadding)))) in testCase2() 221 onView(withId(R.id.content4)).check(screenRight(equalTo(parentWidth - desiredPadding))); in testCase2() 265 int parentWidth = boxParent.getWidth(); in testCase3() local 284 .check(screenLeft(is(equalTo(parentWidth - desiredPadding - child2.getWidth())))) in testCase3() 286 .check(screenRight(is(equalTo(parentWidth - desiredPadding)))) in testCase3() 293 .check(screenRight(equalTo(parentWidth - desiredPadding))); in testCase3() 298 .check(screenLeft(is(equalTo(parentWidth - desiredPadding - child3.getWidth())))) in testCase3() 301 .check(screenRight(is(equalTo(parentWidth - desiredPadding)))) in testCase3() [all …]
|
/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()
|
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/ |
D | TestUtilsMatchers.java | 211 final int parentWidth = parentGroup.getWidth(); 214 final int parentMiddle = parentWidth / 2; 221 viewLeft + "-" + viewRight + "], parent width=" + parentWidth;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | FillContentLayout.java | 90 private void measureIllustrationChild(View child, int parentWidth, int parentHeight) { in measureIllustrationChild() argument 97 Math.min(mMaxWidth, parentWidth), in measureIllustrationChild()
|
D | Illustration.java | 138 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 139 int illustrationHeight = (int) (parentWidth / mAspectRatio); in onMeasure()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | RecyclerViewActivity.java | 247 final int parentWidth = getWidth(); in recycleViewsOutOfBounds() local 255 getDecoratedLeft(v) <= parentWidth && in recycleViewsOutOfBounds()
|
D | AnimatedRecyclerView.java | 627 final int parentWidth = getWidth(); in recycleViewsOutOfBounds() local 634 if (v.hasFocus() || (v.getRight() >= 0 && v.getLeft() <= parentWidth && in recycleViewsOutOfBounds()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowAnimator.java | 124 public void setAnimation(Animation anim, int width, int height, int parentWidth, in setAnimation() argument 133 anim.initialize(width, height, parentWidth, parentHeight); in setAnimation()
|