Java 类android.hardware.SensorListener 实例源码

项目:stardroid    文件:ExponentiallyWeightedSmoother.java   
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;
}
项目:stardroid    文件:SensorSmoother.java   
public SensorSmoother(SensorListener listener) {
  this.listener = listener;
}
项目:AARemu    文件:ARSensorManager.java   
@Deprecated
public boolean registerListener(SensorListener listener, int sensors, int rate)
//-----------------------------------------------------------------------------
{
   throw new UnsupportedOperationException("Deprecated registerListener not supported");
}
项目:AARemu    文件:ARSensorManager.java   
@Deprecated
public void unregisterListener(SensorListener listener, int sensors)
//-----------------------------------------------------------------
{
   throw new UnsupportedOperationException("Deprecated unregisterListener not supported");
}
项目:AARemu    文件:ARSensorManager.java   
@Deprecated
public boolean registerListener(SensorListener listener, int sensors)
//-------------------------------------------------------------------
{
   throw new UnsupportedOperationException("Deprecated registerListener not supported");
}
项目:AARemu    文件:ARSensorManager.java   
@Deprecated
public void unregisterListener(SensorListener listener)
{
   throw new UnsupportedOperationException("Deprecated unregisterListener not supported");
}