List of usage examples for android.hardware SensorEventListener interface-usage
From source file org.osm.keypadmapper2.KeypadMapper2Activity.java
public class KeypadMapper2Activity extends FragmentActivity implements AddressInterface, LocationListener, MenuListener, NotificationListener, SensorEventListener { SensorManager sensorManager; Sensor gsensor, msensor; float[] mGravity;
From source file edu.drake.research.android.lipswithmaps.activity.MapsActivity.java
public class MapsActivity extends AppCompatActivity implements OnMapReadyCallback, SensorEventListener { //region TAG //Logging private final LatLng DRAKE_UNIVERSITY = new LatLng(41.6013800, -93.6518900); private static final String TAG = MapsActivity.class.getSimpleName(); //endregion
From source file com.richwareham.android.logallthethings.Camera2VideoFragment.java
public class Camera2VideoFragment extends Fragment implements View.OnClickListener, FragmentCompat.OnRequestPermissionsResultCallback, SensorEventListener, GoogleApiClient.OnConnectionFailedListener, GoogleApiClient.ConnectionCallbacks, LocationListener { private static final int SENSOR_ORIENTATION_DEFAULT_DEGREES = 90; private static final int SENSOR_ORIENTATION_INVERSE_DEGREES = 270;
From source file com.davidmascharka.lips.MainActivity.java
/**
* @author David Mascharka (david.mascharka@drake.edu)
*
* Main activity for the IndoorLocalization application
*
* Presents the user a grid of specifiable size to allow the user to collect data
From source file com.kircherelectronics.accelerationfilter.activity.AccelerationPlotActivity.java
/**
* Implements an Activity that is intended to run filters on accelerometer
* inputs and then graph the outputs. The user can select which filters should
* be used and set key parameters for each filter.
*
* Currently supports an IIR digital low-pass filter. The low-pass filters are
From source file org.mixare.MixViewActivity.java
/**
* This class is the main application which uses the other classes for different
* functionalities.
* It sets up the camera screen and the augmented screen which is in front of the
* camera screen.
* It also handles the main sensor events, touch events and location events.
From source file com.woofy.haifa.MapActivity.java
@TargetApi(Build.VERSION_CODES.GINGERBREAD) public class MapActivity extends FragmentActivity implements GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener, LocationListener, SensorEventListener { Handler mHandler = new Handler(); private Marker meet; static boolean background = false;
From source file com.google.android.apps.santatracker.games.gumball.TiltGameFragment.java
/** * Gumball game fragment. */ public class TiltGameFragment extends Fragment implements SensorEventListener, ContactListener, AnimationListener, OnClickListener {
From source file com.prod.intelligent7.engineautostart.ConnectDaemonService.java
/**
* This {@code IntentService} does the actual handling of the GCM message.
* {@code GcmBroadcastReceiver} (a {@code WakefulBroadcastReceiver}) holds a
* partial wake lock for this service while the service does its work. When the
* service is finished, it calls {@code completeWakefulIntent()} to release the
* wake lock.
From source file io.authme.sdk.widget.LockPatternView.java
/** * Displays and detects the user's unlock attempt, which is a drag of a finger across 9 regions of the screen. * <p/> * Is also capable of displaying a static pattern in "in progress", "wrong" or "correct" states. */ public class LockPatternView extends View implements SensorEventListener {