Home
last modified time | relevance | path

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

/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java201 private OrientationEventListener mOrientationListener; field in Camera2RawFragment
617 mOrientationListener = new OrientationEventListener(getActivity(), in onViewCreated()
643 if (mOrientationListener != null && mOrientationListener.canDetectOrientation()) { in onResume()
644 mOrientationListener.enable(); in onResume()
650 if (mOrientationListener != null) { in onPause()
651 mOrientationListener.disable(); in onPause()