OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getCenteredAxis
(Results
1 - 2
of
2
) sorted by null
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
FullscreenActivity.java
303
mAxes[axesMapping.ordinal()] =
getCenteredAxis
(ev, device,
321
private float
getCenteredAxis
(MotionEvent event, InputDevice device, int axis) {
/development/samples/ControllerSample/src/com/example/controllersample/
GameView.java
465
private static float
getCenteredAxis
(MotionEvent event, InputDevice device,
830
float x =
getCenteredAxis
(event, mInputDevice, MotionEvent.AXIS_X, historyPos);
832
x =
getCenteredAxis
(event, mInputDevice, MotionEvent.AXIS_HAT_X, historyPos);
835
x =
getCenteredAxis
(event, mInputDevice, MotionEvent.AXIS_Z, historyPos);
838
float y =
getCenteredAxis
(event, mInputDevice, MotionEvent.AXIS_Y, historyPos);
840
y =
getCenteredAxis
(event, mInputDevice, MotionEvent.AXIS_HAT_Y, historyPos);
843
y =
getCenteredAxis
(event, mInputDevice, MotionEvent.AXIS_RZ, historyPos);
[
all
...]
Completed in 1290 milliseconds