Home
last modified time | relevance | path

Searched refs:sensor_event_queue_ (Results 1 – 2 of 2) sorted by relevance

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotNativeActivity.cpp60 ASensorEventQueue* sensor_event_queue_; member in Engine
103 sensor_event_queue_( NULL ) in Engine()
331 sensor_event_queue_ = ASensorManager_createEventQueue( sensor_manager_, app_->looper, in InitSensors()
343 while( ASensorEventQueue_getEvents( sensor_event_queue_, &event, 1 ) > 0 ) in ProcessSensors()
355 ASensorEventQueue_enableSensor( sensor_event_queue_, accelerometer_sensor_ ); in ResumeSensors()
357 ASensorEventQueue_setEventRate( sensor_event_queue_, accelerometer_sensor_, in ResumeSensors()
368 ASensorEventQueue_disableSensor( sensor_event_queue_, accelerometer_sensor_ ); in SuspendSensors()
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsNativeActivity.cpp70 ASensorEventQueue* sensor_event_queue_; member in Engine
113 sensor_event_queue_( NULL ) in Engine()
342 sensor_event_queue_ = ASensorManager_createEventQueue( sensor_manager_, app_->looper, in InitSensors()
354 while( ASensorEventQueue_getEvents( sensor_event_queue_, &event, 1 ) > 0 ) in ProcessSensors()
366 ASensorEventQueue_enableSensor( sensor_event_queue_, accelerometer_sensor_ ); in ResumeSensors()
368 ASensorEventQueue_setEventRate( sensor_event_queue_, accelerometer_sensor_, in ResumeSensors()
379 ASensorEventQueue_disableSensor( sensor_event_queue_, accelerometer_sensor_ ); in SuspendSensors()