Searched refs:orientationVals (Results 1 – 1 of 1) sorted by relevance
1171 float[] orientationVals = new float[3]; in sendResponse() local1173 SensorManager.getOrientation(mRotationMatrix, orientationVals); in sendResponse()1174 orientationVals[0] = (float) Math.toDegrees(orientationVals[0]); in sendResponse()1175 orientationVals[1] = (float) Math.toDegrees(orientationVals[1]); in sendResponse()1176 orientationVals[2] = (float) Math.toDegrees(orientationVals[2]); in sendResponse()1178 obj.put("x", orientationVals[0]); in sendResponse()1179 obj.put("y", orientationVals[1]); in sendResponse()1180 obj.put("z", orientationVals[2]); in sendResponse()