Home
last modified time | relevance | path

Searched refs:tapSquareSize (Results 1 – 4 of 4) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
DDragListener.java28 …private float tapSquareSize = 14, touchDownX = -1, touchDownY = -1, stageTouchDownX = -1, stageTou… field in DragListener
47 …if (!dragging && (Math.abs(touchDownX - x) > tapSquareSize || Math.abs(touchDownY - y) > tapSquare… in touchDragged()
90 tapSquareSize = halfTapSquareSize; in setTapSquareSize()
94 return tapSquareSize; in getTapSquareSize()
DClickListener.java36 private float tapSquareSize = 14, touchDownX = -1, touchDownY = -1; field in ClickListener
126 return Math.abs(x - touchDownX) < tapSquareSize && Math.abs(y - touchDownY) < tapSquareSize; in inTapSquare()
161 tapSquareSize = halfTapSquareSize; in setTapSquareSize()
165 return tapSquareSize; in getTapSquareSize()
DDragAndDrop.java41 private float tapSquareSize = 8; field in DragAndDrop
148 listener.setTapSquareSize(tapSquareSize); in addSource()
177 tapSquareSize = halfTapSquareSize; in setTapSquareSize()
/external/libgdx/gdx/src/com/badlogic/gdx/input/
DGestureDetector.java32 private float tapSquareSize; field in GestureDetector
77 this.tapSquareSize = halfTapSquareSize; in GestureDetector()
255 return Math.abs(x - centerX) < tapSquareSize && Math.abs(y - centerY) < tapSquareSize; in isWithinTapSquare()
264 this.tapSquareSize = halfTapSquareSize; in setTapSquareSize()