Lines Matching refs:mAppController
203 private AppController mAppController; field in PhotoModule
274 mAppController.getFatalErrorHandler().onMediaStorageFailure(); in onError()
354 mAppController.getCameraAppUI().freezeScreenUntilPreviewReady(); in switchToGcamCapture()
375 return mAppController.getAndroidContext() in getPeekAccessibilityString()
384 mAppController = mActivity; in init()
392 if (mAppController.getCameraAppUI().shouldShowAspectRatioDialog()) { in init()
394 settingsManager.setToDefault(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID); in init()
396 mCameraId = settingsManager.getInteger(mAppController.getModuleScope(), in init()
408 mCountdownSoundPlayer = new SoundPlayer(mAppController.getAndroidContext()); in init()
431 mAppController.getCameraAppUI().transitionToCapture(); in cancelCountDown()
432 mAppController.getCameraAppUI().showModeOptions(); in cancelCountDown()
433 mAppController.setShutterEnabled(true); in cancelCountDown()
449 mAppController.onPreviewStarted(); in onPreviewStarted()
450 mAppController.setShutterEnabled(true); in onPreviewStarted()
472 mAppController.startFlashAnimation(false); in startPreCaptureAnimation()
486 mAppController.freezeScreenUntilPreviewReady(); in switchCamera()
493 settingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID, mCameraId); in switchCamera()
524 if (mPaused || mAppController.getCameraProvider().waitingForCamera()) {
531 mAppController.getModuleScope())) {
533 mAppController.getModuleScope())) {
559 mAppController.getCameraFeatureConfig())) {
561 settingsManager.setToDefault(mAppController.getModuleScope(),
566 … settingsManager.set(mAppController.getCameraScope(), Keys.KEY_SCENE_MODE,
570 … settingsManager.set(mAppController.getCameraScope(), Keys.KEY_SCENE_MODE,
610 if (GcamHelper.hasGcamAsSeparateModule(mAppController.getCameraFeatureConfig())) { in hardResetSettings()
620 mAppController.getCameraFeatureConfig(), isCameraFrontFacing()) : null); in getHardwareSpec()
631 bottomBarSpec.enableFlash = !mAppController.getSettingsManager() in getBottomBarSpec()
682 mAppController.updatePreviewAspectRatio(aspectRatio); in updatePreviewAspectRatio()
691 settingsManager.setToDefault(mAppController.getCameraScope(), in resetExposureCompensation()
868 mAppController.setShutterEnabled(true); in onPictureTaken()
941 mActivity.getSettingsManager().getString(mAppController.getCameraScope(), in saveFinalPhoto()
1144 mAppController.getOrientationManager().getDeviceOrientation().getDegrees(); in capture()
1185 settingsManager.set(mAppController.getCameraScope(), Keys.KEY_FLASH_MODE, in overrideCameraSettings()
1193 settingsManager.set(mAppController.getCameraScope(), Keys.KEY_FOCUS_MODE, in overrideCameraSettings()
1208 mAppController.getCameraAppUI().showAccessibilityZoomUI( in onCameraAvailable()
1241 mAppController.getCameraFeatureConfig(), isCameraFrontFacing()); in onCameraAvailable()
1368 || !mAppController.isShutterEnabled()) { in onShutterButtonClick()
1383 mAppController.setShutterEnabled(false); in onShutterButtonClick()
1390 mAppController.getCameraAppUI().transitionToCancel(); in onShutterButtonClick()
1391 mAppController.getCameraAppUI().hideModeOptions(); in onShutterButtonClick()
1430 mAppController.getCameraAppUI().transitionToCapture(); in onCountDownFinished()
1431 mAppController.getCameraAppUI().showModeOptions(); in onCountDownFinished()
1448 mAppController.addPreviewAreaSizeChangedListener(mFocusManager); in resume()
1450 mAppController.addPreviewAreaSizeChangedListener(mUI); in resume()
1488 return mAppController.getCameraProvider().getCharacteristics(mCameraId) in isCameraFrontFacing()
1516 new FocusOverlayManager(mAppController, defaultFocusModes, in initializeFocusManager()
1524 mAppController.addPreviewAreaSizeChangedListener(mFocusManager); in initializeFocusManager()
1581 mAppController.removePreviewAreaSizeChangedListener(mFocusManager); in pause()
1582 mAppController.removePreviewAreaSizeChangedListener(mUI); in pause()
1858 mAppController.getButtonManager().disableButton(ButtonManager.BUTTON_FLASH); in onSettingChanged()
1860 mAppController.getCameraScope(), Keys.KEY_FLASH_MODE); in onSettingChanged()
1863 settingsManager.set(mAppController.getCameraScope(), in onSettingChanged()
1869 mAppController.getButtonManager().enableButton(ButtonManager.BUTTON_FLASH); in onSettingChanged()
1976 CameraPictureSizesCacher.updateSizesForCamera(mAppController.getAndroidContext(), in updateParametersPictureSize()
1983 pictureSize = mAppController.getResolutionSetting().getPictureSize( in updateParametersPictureSize()
1984 mAppController.getCameraProvider().getCurrentCameraId(), in updateParametersPictureSize()
1987 mAppController.getFatalErrorHandler().onGenericCameraAccessFailure(); in updateParametersPictureSize()
2033 int value = settingsManager.getInteger(mAppController.getCameraScope(), in updateParametersExposureCompensation()
2053 sceneModeFromString(settingsManager.getString(mAppController.getCameraScope(), in updateParametersSceneMode()
2089 .flashModeFromString(settingsManager.getString(mAppController.getCameraScope(), in updateParametersFlashMode()
2121 settingsManager.set(mAppController.getCameraScope(), in setExposureCompensation()
2224 mAppController.setShutterEnabled(state == MemoryManager.STATE_OK); in onMemoryStateChanged()