Home
last modified time | relevance | path

Searched refs:mHeadingSensor (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceCaptureToolsImpl.java52 private final HeadingSensor mHeadingSensor; field in ResourceCaptureToolsImpl
99 mHeadingSensor = headingSensor; in ResourceCaptureToolsImpl()
100 mHeadingSensor.activate(); // Will be balanced in close(). in ResourceCaptureToolsImpl()
114 mHeadingSensor.deactivate(); in close()
200 mHeadingSensor.getCurrentHeading(), in takePictureNow()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java308 private HeadingSensor mHeadingSensor; field in CaptureModule
431 mHeadingSensor = new HeadingSensor(AndroidServices.instance().provideSensorManager()); in init()
545 mHeadingSensor.getCurrentHeading(), mZoomValue, 0); in takePictureNow()
720 mHeadingSensor.activate(); in resume()
731 mHeadingSensor.deactivate(); in pause()
DPhotoModule.java251 private HeadingSensor mHeadingSensor; field in PhotoModule
407 mHeadingSensor = new HeadingSensor(AndroidServices.instance().provideSensorManager()); in init()
991 int heading = mHeadingSensor.getCurrentHeading(); in saveFinalPhoto()
1478 mHeadingSensor.activate(); in resume()
1543 mHeadingSensor.deactivate(); in pause()