code: protected E generateMotionEvent(SensorEvent sensorEvent) {
  		
  		try {
  		
  			return motionDetector.getMotionEvent(sensorEvent);
  		}
  		catch (MotionDetectorException mde) {
  			
  			Log.w(getClass().getSimpleName(), mde);
  			return null;
  		}
  	}
docs: <p>Takes the {@link SensorEvent} generated by the motion sensor and creates the
  associated {@link MotionEvent} using the {@link #motionDetector}.
  
  @param sensorEvent
  the {@link SensorEvent} generated by the motion sensor
  
  @return the generated {@link MotionEvent}, else {@code null} if motion detection
  failed with a {@link MotionDetectorException}
  
  @since 1.0.0