From 82fdb2e9d1c5a3e8fe1c38d705c6038690258e16 Mon Sep 17 00:00:00 2001 From: Vladislav Kaznacheev Date: Tue, 5 Apr 2016 17:06:44 -0700 Subject: [PATCH] Rename View.DragShadowBuilder#onProvideShadowMetrics parameters Added 'out' prefix to the two out parameters of this method. Bug: 27810738 Change-Id: I2825cc90c2d2a1786578be31aff250ea6673ff9f --- core/java/android/view/View.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 3ee6a8d1a1791..2e6dad0585a1f 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -20398,21 +20398,21 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * the touch point. *

* - * @param shadowSize A {@link android.graphics.Point} containing the width and height + * @param outShadowSize A {@link android.graphics.Point} containing the width and height * of the shadow image. Your application must set {@link android.graphics.Point#x} to the * desired width and must set {@link android.graphics.Point#y} to the desired height of the * image. * - * @param shadowTouchPoint A {@link android.graphics.Point} for the position within the + * @param outShadowTouchPoint A {@link android.graphics.Point} for the position within the * shadow image that should be underneath the touch point during the drag and drop * operation. Your application must set {@link android.graphics.Point#x} to the * X coordinate and {@link android.graphics.Point#y} to the Y coordinate of this position. */ - public void onProvideShadowMetrics(Point shadowSize, Point shadowTouchPoint) { + public void onProvideShadowMetrics(Point outShadowSize, Point outShadowTouchPoint) { final View view = mView.get(); if (view != null) { - shadowSize.set(view.getWidth(), view.getHeight()); - shadowTouchPoint.set(shadowSize.x / 2, shadowSize.y / 2); + outShadowSize.set(view.getWidth(), view.getHeight()); + outShadowTouchPoint.set(outShadowSize.x / 2, outShadowSize.y / 2); } else { Log.e(View.VIEW_LOG_TAG, "Asked for drag thumb metrics but no view"); }