Searched refs:mAxes (Results 1 – 2 of 2) sorted by relevance
66 private float[] mAxes; field in ControllerView350 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 …]
128 private float[] mAxes = new float[AxesMapping.values().length]; field in FullscreenActivity146 for (int i = 0; i < mAxes.length; i++) { in onCreate()147 mAxes[i] = 0.0f; in onCreate()149 mControllerView.setButtonsAxes(mButtons, mAxes); in onCreate()303 mAxes[axesMapping.ordinal()] = getCenteredAxis(ev, device, in onGenericMotionEvent()