Code example for InputDevice.MotionRange

Methods: toString, getAxis, getFlat, getFuzz, getMax, getMin, getRange, getSource

0
	} 
 
	static void dumpMotionRange(MotionRange range) {
		final int depth = 4;
 
		Log.d(depth - 1, "motion range info------ " + range.toString());
 
		Log.d(depth, "axis=" + MotionEvent.axisToString(range.getAxis()));
		Log.d(depth, "source=" + range.getSource()); // どうしようかな
		Log.d(depth, "flat=" + range.getFlat());
		Log.d(depth, "fuzz=" + range.getFuzz());
		Log.d(depth, "max=" + range.getMax());
		Log.d(depth, "min=" + range.getMin());
		Log.d(depth, "range=" + range.getRange());
	} 
 
	static void dumpInputDevice(InputDevice device) {
		final int depth = 3;
 
		Log.d(depth - 1, "input device info------ ");
Contextual code suggestions in your IDE  Get Codota for Java