/frameworks/base/core/java/android/view/animation/ |
D | ClipRectAnimation.java | 156 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument 157 super.initialize(width, height, parentWidth, parentHeight); in initialize() 158 mFromRect.set((int) resolveSize(mFromLeftType, mFromLeftValue, width, parentWidth), in initialize() 160 (int) resolveSize(mFromRightType, mFromRightValue, width, parentWidth), in initialize() 162 mToRect.set((int) resolveSize(mToLeftType, mToLeftValue, width, parentWidth), in initialize() 164 (int) resolveSize(mToRightType, mToRightValue, width, parentWidth), in initialize()
|
D | TranslateAnimation.java | 176 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument 177 super.initialize(width, height, parentWidth, parentHeight); in initialize() 178 mFromXDelta = resolveSize(mFromXType, mFromXValue, width, parentWidth); in initialize() 179 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 | 420 public void initialize(int width, int height, int parentWidth, int parentHeight) { in initialize() argument 421 super.initialize(width, height, parentWidth, parentHeight); in initialize() 478 a.initialize(width, height, parentWidth, parentHeight); in initialize()
|
D | Animation.java | 366 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 | 355 final int parentWidth = r - l; in layout() local 358 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout() 359 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout() 360 final int left = (parentWidth - handleWidth) / 2; in layout() 371 text.layout(0 - parentWidth, top, 0, bottom); in layout() 376 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); in layout() 377 text.layout(parentWidth, top, parentWidth + parentWidth, bottom); in layout() 384 final int targetLeft = (parentWidth - targetWidth) / 2; in layout() 385 final int targetRight = (parentWidth + targetWidth) / 2; in layout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHeaderInfoLayout.kt | 121 fun setLocationFromOffset(parentWidth: Int, offset: Int, width: Int, RTL: Boolean) { in setLocationFromOffset() 123 left = parentWidth - offset - width in setLocationFromOffset() 124 right = parentWidth - offset in setLocationFromOffset()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | FillContentLayout.java | 85 private void measureIllustrationChild(View child, int parentWidth, int parentHeight) { in measureIllustrationChild() argument 93 Math.min(maxWidth, parentWidth), in measureIllustrationChild()
|
D | Illustration.java | 137 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 138 int illustrationHeight = (int) (parentWidth / aspectRatio); in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusIconContainer.java | 386 float parentWidth = 0; in applyToView() local 388 parentWidth = ((View) view.getParent()).getWidth(); in applyToView() 391 float currentDistanceToEnd = parentWidth - xTranslation; in applyToView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleFlyoutView.java | 207 CharSequence updateMessage, PointF stackPos, float parentWidth, in setupFlyoutStartingAsDot() argument 221 (int) (parentWidth * FLYOUT_MAX_WIDTH_PERCENT) - mFlyoutPadding * 2); in setupFlyoutStartingAsDot()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskRecord.java | 2286 final int parentWidth = parentBounds.width(); in computeFullscreenBounds() local 2288 final float aspect = ((float) parentHeight) / parentWidth; in computeFullscreenBounds() 2290 final int height = (int) (parentWidth / aspect); in computeFullscreenBounds()
|