diff options
| author | Vladislav Kaznacheev <kaznacheev@google.com> | 2016-04-05 17:06:44 -0700 |
|---|---|---|
| committer | Vladislav Kaznacheev <kaznacheev@google.com> | 2016-04-05 17:06:44 -0700 |
| commit | 82fdb2e9d1c5a3e8fe1c38d705c6038690258e16 (patch) | |
| tree | 7d2038835a116872be1fff2b192f7d28f2f5828a /core/java | |
| parent | b8572b3d50475918d3e2b25961b7c6189d6af39e (diff) | |
Rename View.DragShadowBuilder#onProvideShadowMetrics parameters
Added 'out' prefix to the two out parameters of this method.
Bug: 27810738
Change-Id: I2825cc90c2d2a1786578be31aff250ea6673ff9f
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/View.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 3ee6a8d1a179..2e6dad0585a1 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. * </p> * - * @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"); } |
