List of usage examples for android.hardware SensorEventListener interface-usage
From source file org.skt.runtime.original.TempListener.java
public class TempListener extends Plugin implements SensorEventListener { Sensor mSensor; private SensorManager sensorManager; /**
From source file org.apache.cordova.TempListener.java
public class TempListener extends Plugin implements SensorEventListener { Sensor mSensor; private SensorManager sensorManager; /**
From source file me.ziccard.secureit.fragment.AccelerometerFragment.java
public class AccelerometerFragment extends Fragment implements SensorEventListener { // For shake motion detection. private SensorManager sensorMgr; /**
From source file com.achep.acdisplay.ui.fragments.PocketFragment.java
/**
* Non-UI fragment that listens to the proximity sensor to let us know
* when to turn screen off.
* <p>
* <b>Please note, that you must
* {@link #setListener(PocketFragment.OnSleepRequestListener) initialize listener}
From source file com.bullmobi.message.ui.fragments.PocketFragment.java
/**
* Non-UI fragment that listens to the proximity sensor to let us know
* when to turn screen off.
* <p>
* <b>Please note, that you must
* {@link #setListener(PocketFragment.OnSleepRequestListener) initialize listener}
From source file sathittham.sangthong.slims_master.fused_sensors.GyroscopeSensor.java
/**
* Gyroscope Sensor is a subject in an Observer Pattern for classes that need to
* be provided with rotation measurements. Gyroscope Sensor implements
* Sensor.TYPE_GYROSCOPE and provides methods for managing SensorEvents and
* rotations.
*
From source file uk.ac.horizon.ubihelper.service.channel.SensorChannel.java
/** * @author cmg * */ public class SensorChannel extends NamedChannel implements SensorEventListener {
From source file sathittham.sangthong.slims_master.fused_sensors.MagneticSensor.java
/**
* Magnetic Sensor is a subject in an Observer Pattern for classes that need to
* be provided with magnetic field measurements. Magnetic Sensor implements
* Sensor.TYPE_MAGNETIC and provides methods for managing SensorEvents and
* rotations.
*
From source file com.example.android.camera2basic.CameraActivity.java
public class CameraActivity extends Activity implements SensorEventListener { private static final String TAG = "CameraActivity"; private SensorManager mSensorManager; private Camera2VideoFragment videofragment; private Camera2BasicFragment camerafragment; private Sensor mSensor;
From source file com.polyvi.xface.extension.XCompassExt.java
public class XCompassExt extends XExtension implements SensorEventListener { /** XCompassExt ??js??? */ private static final String COMMAND_GET_HEADING = "getHeading"; private static final int STOPPED = 0;