Lines Matching refs:mState

173     private int mState = CAMERA_UNINITIALIZED;  field in TestingCamera
377 if (mState == CAMERA_RECORD) { in onPause()
383 if (mState == CAMERA_PREVIEW) { in onPause()
385 mState = CAMERA_OPEN; in onPause()
393 mState = CAMERA_UNINITIALIZED; in onPause()
435 if (mState >= CAMERA_OPEN) { in surfaceChanged()
453 if (mPreviewHolder != null || mState == CAMERA_UNINITIALIZED) { in surfaceChanged()
563 if (mState == CAMERA_PREVIEW) {
579 if (mState == CAMERA_PREVIEW) {
615 if (mState == CAMERA_TAKE_PICTURE) {
635 if (mState == CAMERA_TAKE_PICTURE) {
642 mState = CAMERA_PREVIEW;
647 mState = CAMERA_OPEN;
762 if (mState == CAMERA_PREVIEW) {
763 mState = CAMERA_TAKE_PICTURE;
849 if (mState == CAMERA_PREVIEW) {
851 } else if (mState == CAMERA_RECORD) {
887 if (mState == CAMERA_RECORD) {
937 mState = CAMERA_OPEN;
950 switch (mState) {
971 if (mState == CAMERA_PREVIEW) {
1012 if (mState < CAMERA_OPEN) { in setUpCamera()
1033 mState = CAMERA_OPEN; in setUpCamera()
1122 mState = CAMERA_PREVIEW; in setUpCamera()
1124 mState = CAMERA_OPEN; in setUpCamera()
1131 if (mState >= CAMERA_OPEN) { in resetCamera()
1137 mState = CAMERA_UNINITIALIZED; in resetCamera()
1491 if (mState >= CAMERA_OPEN && mCallbacksEnabled) { in configureCallbacks()
1515 if (mState >= CAMERA_OPEN) { in stopCallbacks()
1535 if (mState < CAMERA_PREVIEW || !mCallbacksEnabled) { in onPreviewFrame()
1728 mState = CAMERA_RECORD; in startRecording()
1744 mState = CAMERA_UNINITIALIZED; in startRecording()
1757 if (mState == CAMERA_RECORD) {
1786 mState = CAMERA_UNINITIALIZED; in stopRecording()
1790 mState = CAMERA_PREVIEW; in stopRecording()