Searched refs:FaceDetectMode (Results 1 – 8 of 8) sorted by relevance
23 import com.android.camera.one.OneCameraCharacteristics.FaceDetectMode;32 … public static FaceDetectMode getHighestFaceDetectMode(OneCameraCharacteristics characteristics) { in getHighestFaceDetectMode()33 List<FaceDetectMode> faceDetectModes = characteristics.getSupportedFaceDetectModes(); in getHighestFaceDetectMode()35 if (faceDetectModes.contains(FaceDetectMode.FULL)) { in getHighestFaceDetectMode()36 return FaceDetectMode.FULL; in getHighestFaceDetectMode()37 } else if (faceDetectModes.contains(FaceDetectMode.SIMPLE)) { in getHighestFaceDetectMode()38 return FaceDetectMode.SIMPLE; in getHighestFaceDetectMode()40 return FaceDetectMode.NONE; in getHighestFaceDetectMode()
21 import com.android.camera.one.OneCameraCharacteristics.FaceDetectMode;29 private final Supplier<FaceDetectMode> mFaceDetectMode;31 public StatisticsFaceDetectMode(Supplier<FaceDetectMode> faceDetectMode) { in StatisticsFaceDetectMode()37 if (mFaceDetectMode.get() == FaceDetectMode.FULL) { in get()41 if (mFaceDetectMode.get() == FaceDetectMode.SIMPLE) { in get()
21 import com.android.camera.one.OneCameraCharacteristics.FaceDetectMode;30 private final Supplier<FaceDetectMode> mFaceDetectMode;35 Supplier<FaceDetectMode> faceDetectMode, in ControlModeSelector()50 if (mFaceDetectMode.get() == FaceDetectMode.FULL || in get()51 mFaceDetectMode.get() == FaceDetectMode.SIMPLE) { in get()
23 import com.android.camera.one.OneCameraCharacteristics.FaceDetectMode;37 private final Supplier<FaceDetectMode> mFaceDetectMode;41 Supplier<FaceDetectMode> faceDetectMode, in ControlSceneModeSelector()56 if (mFaceDetectMode.get() == FaceDetectMode.FULL || in get()57 mFaceDetectMode.get() == FaceDetectMode.SIMPLE) { in get()
30 import com.android.camera.one.OneCameraCharacteristics.FaceDetectMode;97 Supplier<FaceDetectMode> faceDetectMode = Suppliers.ofInstance( in BasicCameraFactory()
165 public List<FaceDetectMode> getSupportedFaceDetectModes() { in getSupportedFaceDetectModes()169 List<FaceDetectMode> oneModes = new ArrayList<>(modes.length); in getSupportedFaceDetectModes()173 oneModes.add(FaceDetectMode.FULL); in getSupportedFaceDetectModes()176 oneModes.add(FaceDetectMode.SIMPLE); in getSupportedFaceDetectModes()179 oneModes.add(FaceDetectMode.NONE); in getSupportedFaceDetectModes()
118 public List<FaceDetectMode> getSupportedFaceDetectModes() { in getSupportedFaceDetectModes()119 List<FaceDetectMode> oneModes = new ArrayList<>(1); in getSupportedFaceDetectModes()120 oneModes.add(FaceDetectMode.NONE); in getSupportedFaceDetectModes()
37 public enum FaceDetectMode { enum92 public List<FaceDetectMode> getSupportedFaceDetectModes(); in getSupportedFaceDetectModes()