public ExponentiallyWeightedSmoother(SensorListener listener, float alpha, int exponent) { super(listener); Log.d(TAG, "ExponentionallyWeightedSmoother with alpha = " + alpha + " and exp = " + exponent); this.alpha = alpha; this.exponent = exponent; }
public SensorSmoother(SensorListener listener) { this.listener = listener; }
@Deprecated public boolean registerListener(SensorListener listener, int sensors, int rate) //----------------------------------------------------------------------------- { throw new UnsupportedOperationException("Deprecated registerListener not supported"); }
@Deprecated public void unregisterListener(SensorListener listener, int sensors) //----------------------------------------------------------------- { throw new UnsupportedOperationException("Deprecated unregisterListener not supported"); }
@Deprecated public boolean registerListener(SensorListener listener, int sensors) //------------------------------------------------------------------- { throw new UnsupportedOperationException("Deprecated registerListener not supported"); }
@Deprecated public void unregisterListener(SensorListener listener) { throw new UnsupportedOperationException("Deprecated unregisterListener not supported"); }