copies the samples into a list , with the oldest entry at index 0 . concode_field_sep long MAX_WINDOW_SIZE concode_elem_sep Sample next concode_elem_sep Listener listener concode_elem_sep SampleQueue queue concode_elem_sep boolean accelerating concode_elem_sep int acceleratingCount concode_elem_sep int sampleCount concode_elem_sep Sample head concode_elem_sep Sample oldest concode_elem_sep Sensor accelerometer concode_elem_sep int MIN_QUEUE_SIZE 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 Sample acquire
List < Sample > function ( ) { List < Sample > loc0 = new ArrayList < Sample > ( ) ; Sample loc1 = oldest ; while ( loc1 != null ) { loc0 . add ( loc1 ) ; loc1 = loc1 . next ; } return loc0 ; }