Searched refs:AxesMapping (Results 1 – 2 of 2) sorted by relevance
34 import com.example.android.visualgamecontroller.FullscreenActivity.AxesMapping;350 if (mAxes[AxesMapping.AXIS_BRAKE.ordinal()] > 0.0f) { in onDraw()351 mGradientPaint.setAlpha((int) (mAxes[AxesMapping.AXIS_BRAKE.ordinal()] * 100) + 155); in onDraw()355 if (mAxes[AxesMapping.AXIS_GAS.ordinal()] > 0.0f) { in onDraw()356 mGradientPaint.setAlpha((int) (mAxes[AxesMapping.AXIS_GAS.ordinal()] * 100) + 155); in onDraw()387 if (mAxes[AxesMapping.AXIS_X.ordinal()] != 0.0f) { in onDraw()389 * mAxes[AxesMapping.AXIS_X.ordinal()]; in onDraw()391 if (mAxes[AxesMapping.AXIS_Y.ordinal()] != 0.0f) { in onDraw()393 * getHeight() * mAxes[AxesMapping.AXIS_Y.ordinal()]; in onDraw()396 if (mAxes[AxesMapping.AXIS_Z.ordinal()] != 0.0f) { in onDraw()[all …]
104 public enum AxesMapping { enum in FullscreenActivity118 AxesMapping(int motionEvent) { in AxesMapping() method in FullscreenActivity.AxesMapping128 private float[] mAxes = new float[AxesMapping.values().length];302 for (AxesMapping axesMapping : AxesMapping.values()) { in onGenericMotionEvent()