private final int MOTION_SMOOTHING_MIN;
private final int MOTION_SMOOTHING_MAX;
private final int MOTION_THRESHOLD_MIN;</BUG>
private final int ACCEL_ARRAY_SIZE= 30;
<BUG>private float mHorizontalSpeed, mVerticalSpeed;
</BUG>
private float mAccelArray[]= new float[ACCEL_ARRAY_SIZE];
private float mLowPassFilterWeight;
private PointF mPrevMotion = new PointF();
private int mMotionThreshold;

import android.graphics.PointF;
import com.crea_si.eviacam.Preferences;
import java.lang.Math;
class PointerControl implements OnSharedPreferenceChangeListener {
private final int ACCEL_ARRAY_SIZE= 30;
private float mHorizontalMultiplier, mVerticalMultiplier;
private float mAccelArray[]= new float[ACCEL_ARRAY_SIZE];
private float mLowPassFilterWeight;
private PointF mPrevMotion = new PointF();
private int mMotionThreshold;
