mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:11:31 +02:00
[Android] Add Javadoc to InputOverlayDrawableJoystick.
This commit is contained in:
parent
76843b450b
commit
7f85c3215b
@ -28,8 +28,11 @@ public final class InputOverlayDrawableJoystick extends BitmapDrawable
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param res {@link Resources} instance.
|
* @param res {@link Resources} instance.
|
||||||
* @param bitmapOuter {@link Bitmap} to use with this Drawable.
|
* @param bitmapOuter {@link Bitmap} which represents the outer non-movable part of the joystick.
|
||||||
* @param joystick Identifier for which joystick this is.
|
* @param bitmapInner {@link Bitmap} which represents the inner movable part of the joystick.
|
||||||
|
* @param rectOuter {@link Rect} which represents the outer joystick bounds.
|
||||||
|
* @param rectInner {@link Rect} which represents the inner joystick bounds.
|
||||||
|
* @param joystick Identifier for which joystick this is.
|
||||||
*/
|
*/
|
||||||
public InputOverlayDrawableJoystick(Resources res,
|
public InputOverlayDrawableJoystick(Resources res,
|
||||||
Bitmap bitmapOuter, Bitmap bitmapInner,
|
Bitmap bitmapOuter, Bitmap bitmapInner,
|
||||||
@ -139,6 +142,5 @@ public final class InputOverlayDrawableJoystick extends BitmapDrawable
|
|||||||
int height = this.ringInner.getBounds().height() / 2;
|
int height = this.ringInner.getBounds().height() / 2;
|
||||||
this.ringInner.setBounds(X - width, Y - height,
|
this.ringInner.setBounds(X - width, Y - height,
|
||||||
X + width, Y + height);
|
X + width, Y + height);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user