Example usage for android.hardware SensorEventListener interface-usage

List of usage examples for android.hardware SensorEventListener interface-usage

Introduction

In this page you can find the example usage for android.hardware SensorEventListener interface-usage.

Usage

From source file com.kircherelectronics.gyrolinearacceleration.sensor.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.kircherelectronics.fusedlinearacceleration.sensor.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.kircherelectronics.gyrolinearacceleration.sensor.AccelerationSensor.java

/**
 * Acceleration Sensor is a subject in an Observer Pattern for classes that need
 * to be provided with acceleration measurements. Acceleration Sensor implements
 * Sensor.TYPE_ACCELEROMETER and provides methods for managing SensorEvents and
 * rotations.
 * 

From source file com.kircherelectronics.gyrolinearacceleration.sensor.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 com.kircherelectronics.fusedlinearacceleration.sensor.AccelerationSensor.java

/**
 * Acceleration Sensor is a subject in an Observer Pattern for classes that need
 * to be provided with acceleration measurements. Acceleration Sensor implements
 * Sensor.TYPE_ACCELEROMETER and provides methods for managing SensorEvents and
 * rotations.
 * 

From source file com.kircherelectronics.fusedlinearacceleration.sensor.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 com.kircherelectronics.androidlinearacceleration.sensor.AccelerationSensor.java

/**
 * Acceleration Sensor is a subject in an Observer Pattern for classes that need
 * to be provided with acceleration measurements. Acceleration Sensor implements
 * Sensor.TYPE_ACCELEROMETER and provides methods for managing SensorEvents and
 * rotations.
 * 

From source file com.polyvi.xface.extension.XAccelerometerExt.java

public class XAccelerometerExt extends XExtension implements SensorEventListener {

    private final static int STOPPED = 0;
    private final static int STARTING = 1;
    private final static int RUNNING = 2;
    private final static int ERROR_FAILED_TO_START = 3;

From source file org.sociotech.fishification.ui.fragments.FeedFishFragment.java

class FeedFishFragment extends Fragment implements SensorEventListener {

    private View m_view;
    private Drawable m_defaultBackground;
    private OnFeedFishListener m_feedFishListener;

From source file com.kircherelectronics.androidlinearacceleration.sensor.LinearAccelerationSensor.java

/**
 * Acceleration Sensor is a subject in an Observer Pattern for classes that need
 * to be provided with acceleration measurements. Acceleration Sensor implements
 * Sensor.TYPE_ACCELEROMETER and provides methods for managing SensorEvents and
 * rotations.
 *