public void execute(LGParameters lgParameters, Object arg) {
   CamLog.d(FaceDetector.TAG, "SetCameraColorEffect");
   if (CameraConstants.TYPE_PREFERENCE_NOT_FOUND.equals(
       this.mGet.getSettingValue(Setting.KEY_CAMERA_COLOREFFECT))) {
     CamLog.d(FaceDetector.TAG, "Color effect doesn't supported. Return.");
     return;
   }
   String olaValue = lgParameters.getParameters().getColorEffect();
   String newValue = this.mGet.getSettingValue(Setting.KEY_CAMERA_COLOREFFECT);
   CamLog.i(FaceDetector.TAG, "oldValue : " + olaValue + ", newValue : " + newValue);
   if (!this.mGet.getSettingValue(Setting.KEY_CAMERA_COLOREFFECT).equals(Setting.HELP_OTHER)) {
     if (!this.mGet
         .getSettingValue(Setting.KEY_CAMERA_WHITEBALANCE)
         .equals(LGT_Limit.ISP_AUTOMODE_AUTO)) {
       this.mGet.setSetting(Setting.KEY_CAMERA_WHITEBALANCE, LGT_Limit.ISP_AUTOMODE_AUTO);
       lgParameters.getParameters().setWhiteBalance(LGT_Limit.ISP_AUTOMODE_AUTO);
       this.mGet.toast((int) R.string.note_white_balance_change);
       this.mGet.setQuickFunctionControllerAllMenuIcons();
     }
     this.mGet.checkSceneMode(
         lgParameters, true, this.mGet.getString(R.string.note_shot_mode_change_normal));
     checkFocusMode(lgParameters);
   }
   if (!(olaValue == null || olaValue.equals(newValue))) {
     CamLog.i(FaceDetector.TAG, "color effect set to " + newValue);
     this.mGet.setSetting(Setting.KEY_CAMERA_COLOREFFECT, newValue);
     lgParameters.getParameters().setColorEffect(newValue);
   }
   this.mGet.setMenuEnableForSceneMode(2);
 }
 public void execute() {
   ApplicationInfo info = null;
   try {
     info =
         this.mGet
             .getActivity()
             .getPackageManager()
             .getApplicationInfo("com.kddi.android.auclouduploader", 128);
   } catch (NameNotFoundException e) {
     CamLog.d(FaceDetector.TAG, "Au Cloud cannot be founded:", e);
   }
   if (info == null || info.enabled) {
     Intent intent = new Intent();
     intent.setComponent(
         new ComponentName(
             "com.kddi.android.auclouduploader",
             "com.kddi.android.auclouduploader.activity.AutoUploadSettingActivity"));
     intent.addFlags(67108864);
     try {
       this.mGet.getActivity().startActivity(intent);
       return;
     } catch (ActivityNotFoundException ex) {
       CamLog.e(FaceDetector.TAG, "AU Cloud App is not exist", ex);
       return;
     }
   }
   this.mGet.showDialogPopup(28);
 }
 static {
   try {
     System.loadLibrary(Ola_JniLabrary.OLA_JNI_LIB);
   } catch (SecurityException se) {
     CamLog.i(TAG, "SecurityException", se);
   } catch (UnsatisfiedLinkError ule) {
     CamLog.i(TAG, "UnsatisfiedLinkError", ule);
   } finally {
     CamLog.i(TAG, "OlaBitmapGraphicsJNI-end");
   }
 }
 public void execute() {
   CamLog.d(FaceDetector.TAG, "ChangeToCamcorder");
   try {
     this.mGet.perfLockAcquire();
   } catch (NoSuchMethodError e) {
   }
   this.mGet.removeScheduledAllCommand();
   if (this.mGet.getApplicationMode() == 0) {
     this.mGet.cancelAutoFocus();
   }
   Intent intent = new Intent("android.media.action.VIDEO_CAMERA");
   intent.putExtra("keepLastValue", true);
   intent.putExtra(
       "isFirst", this.mGet.getActivity().getIntent().getBooleanExtra("isFirst", true));
   intent.putExtra("orientation", this.mGet.getOrientation());
   intent.putExtra("mainCameraDimension", this.mGet.getMainCameraDimension());
   intent.putExtra(CameraConstants.INTENT_EXTRA_SHOW_LOADING, true);
   intent.addFlags(67108864);
   intent.addFlags(65536);
   intent.setClassName(this.mGet.getActivity().getPackageName(), Camcorder.class.getName());
   this.mGet.setIsSendBroadcastIntent(false);
   CameraConstants.IS_CHANGE_MODE_STATUS = true;
   intent.putExtra(CameraConstants.SECURE_CAMERA, Common.isSecureCamera());
   CameraHolder.instance().keep();
   this.mGet.setChangeMode();
   CheckStatusManager.setTelephonyStateCheckSkip(true);
   this.mGet.getActivity().startActivity(intent);
   this.mGet.activityFinish();
   this.mGet.getActivity().overridePendingTransition(0, 0);
   Common.checkEnteringTime(false);
 }
 public void execute(LGParameters lgParameters, Object arg) {
   if (!(this.mGet.getCurrentModule() instanceof MainBeautyShot)
       || !this.mGet.getEngineProcessor().checkEngineTag(FaceBeauty.ENGINE_TAG)) {
     lgParameters.getParameters().set(CameraConstants.PARAM_KEY_DUAL_RECORDER, 0);
     this.mGet.setModule(Module.MAIN_BEAUTY_SHOT);
     this.mGet.getEngineProcessor().setEngine(this.mGet.getFaceBeauty());
     int value = 0;
     if (this.mGet.findPreference(Setting.KEY_BEAUTYSHOT) != null) {
       value = Integer.parseInt(this.mGet.getSettingValue(Setting.KEY_BEAUTYSHOT));
       CamLog.e(FaceDetector.TAG, "beautyshot value : " + value);
     }
     if (value < 0) {
       value = 0;
     }
     this.mGet.setFaceBeutyShotParameter(value);
   }
 }
 public void execute(LGParameters lgParameters, Object arg) {
   CamLog.d(FaceDetector.TAG, "SetOlaPanoramaShot");
   if (!(this.mGet.getCurrentModule() instanceof PanoramaShot)) {
     lgParameters.getParameters().setZoom(0);
     this.mGet.resetZoomController();
     lgParameters.getParameters().set(CameraConstants.PARAM_KEY_DUAL_RECORDER, 0);
     this.mGet.setModule(Module.PANORAMA_SHOT);
     this.mGet.setSetting(Setting.KEY_CAMERA_SHOT_MODE, CameraConstants.TYPE_SHOTMODE_PANORAMA);
     this.mGet.setTimerAndSceneSmartShutterEnable(lgParameters.getParameters(), true, true, false);
     this.mGet.runOnUiThread(
         new Runnable() {
           public void run() {
             SetOlaPanoramaShot.this.mGet.removePostRunnable(this);
             SetOlaPanoramaShot.this.mGet.setPanoramaEngine();
           }
         });
     if (!this.mGet.isReadyEngineProcessor() && !this.mGet.isPreviewOnGoing()) {
       this.mGet.setEngineProcessor();
     }
   } else if (!this.mGet.isReadyEngineProcessor()) {
     this.mGet.setPanoramaEngine();
   }
 }