question: acquires a sample from the pool . concode_field_sep Sample next concode_elem_sep Listener listener concode_elem_sep SampleQueue queue concode_elem_sep boolean accelerating concode_elem_sep int MIN_QUEUE_SIZE concode_elem_sep int acceleratingCount concode_elem_sep int sampleCount concode_elem_sep Sample head concode_elem_sep long MAX_WINDOW_SIZE concode_elem_sep Sample oldest concode_elem_sep Sensor accelerometer concode_elem_sep int ACCELERATION_THRESHOLD concode_elem_sep long MIN_WINDOW_SIZE concode_elem_sep SensorManager sensorManager concode_elem_sep SamplePool pool concode_elem_sep Sample newest concode_elem_sep long timestamp concode_field_sep void add concode_elem_sep void onSensorChanged concode_elem_sep void hearShake concode_elem_sep void stop concode_elem_sep boolean isAccelerating concode_elem_sep boolean isShaking concode_elem_sep void release concode_elem_sep boolean start concode_elem_sep void clear concode_elem_sep void purge concode_elem_sep void onAccuracyChanged concode_elem_sep List<Sample> asList
target: Sample function ( ) { Sample loc0 = head ; if ( loc0 == null ) { loc0 = new Sample ( ) ; } else { head = loc0 . next ; } return loc0 ; }