HomeSort by relevance Sort by last modified time
    Searched refs:Touchpad (Results 1 - 2 of 2) sorted by null

  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
TouchpadTest.java 23 import com.badlogic.gdx.scenes.scene2d.ui.Touchpad;
28 Touchpad touchpad; field in class:TouchpadTest
36 touchpad = new Touchpad(20, skin);
37 touchpad.setBounds(15, 15, 100, 100);
38 stage.addActor(touchpad);
42 // System.out.println(touchpad.getKnobPercentX() + " " + touchpad.getKnobPercentY());
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
Touchpad.java 30 /** An on-screen joystick. The movement area of the joystick is circular, centered on the touchpad, and its size determined by the
31 * smaller touchpad dimension.
33 * The preferred size of the touchpad is determined by the background.
35 * {@link ChangeEvent} is fired when the touchpad knob is moved. Cancelling the event will move the knob to where it was
38 public class Touchpad extends Widget {
49 /** @param deadzoneRadius The distance in pixels from the center of the touchpad required for the knob to be moved. */
50 public Touchpad (float deadzoneRadius, Skin skin) {
54 /** @param deadzoneRadius The distance in pixels from the center of the touchpad required for the knob to be moved. */
55 public Touchpad (float deadzoneRadius, Skin skin, String styleName) {
59 /** @param deadzoneRadius The distance in pixels from the center of the touchpad required for the knob to be moved. */
    [all...]

Completed in 93 milliseconds