• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2013 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.camera.util;
18 
19 import android.content.ContentResolver;
20 
21 import com.android.camera.CameraModule;
22 import com.android.camera.app.AppController;
23 import com.android.camera.one.config.OneCameraFeatureConfig;
24 import com.android.camera.one.config.OneCameraFeatureConfig.HdrPlusSupportLevel;
25 
26 public class GcamHelper {
27 
createGcamModule(AppController app, HdrPlusSupportLevel hdrPlusSupportLevel)28     public static CameraModule createGcamModule(AppController app,
29             HdrPlusSupportLevel hdrPlusSupportLevel) {
30         return null;
31     }
32 
hasGcamAsSeparateModule(OneCameraFeatureConfig config)33     public static boolean hasGcamAsSeparateModule(OneCameraFeatureConfig config) {
34         return false;
35     }
36 
hasGcamCapture(OneCameraFeatureConfig config)37     public static boolean hasGcamCapture(OneCameraFeatureConfig config) {
38         return false;
39     }
40 
determineHdrPlusSupportLevel( ContentResolver contentResolver, boolean useCaptureModule)41     public static HdrPlusSupportLevel determineHdrPlusSupportLevel(
42             ContentResolver contentResolver, boolean useCaptureModule) {
43         return HdrPlusSupportLevel.NONE;
44     }
45 }
46