Home
last modified time | relevance | path

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

/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java45 int mNumberOfCameras; field in CameraFragment
60 mNumberOfCameras = Camera.getNumberOfCameras(); in onCreate()
64 for (int i = 0; i < mNumberOfCameras; i++) { in onCreate()
70 setHasOptionsMenu(mNumberOfCameras > 1); in onCreate()
119 if (mNumberOfCameras > 1) { in onCreateOptionsMenu()
142 mCurrentCamera = (mCameraCurrentlyLocked + 1) % mNumberOfCameras; in onOptionsItemSelected()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java132 int mNumberOfCameras = Camera.getNumberOfCameras(); in getDefaultCamera() local
136 for (int i = 0; i < mNumberOfCameras; i++) { in getDefaultCamera()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java132 int mNumberOfCameras = Camera.getNumberOfCameras(); in getDefaultCamera() local
136 for (int i = 0; i < mNumberOfCameras; i++) { in getDefaultCamera()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java132 int mNumberOfCameras = Camera.getNumberOfCameras(); in getDefaultCamera() local
136 for (int i = 0; i < mNumberOfCameras; i++) { in getDefaultCamera()