Searched refs:useNewApi (Results 1 – 2 of 2) sorted by relevance
216 public void requestCamera(int id, boolean useNewApi) { in requestCamera() argument236 useNewApi = mCameraAgentNg != null && useNewApi; in requestCamera()237 CameraAgent cameraManager = useNewApi ? mCameraAgentNg : mCameraAgent; in requestCamera()242 } else if (mCameraProxy.getCameraId() != id || mUsingNewApi != useNewApi) { in requestCamera()261 mUsingNewApi = useNewApi; in requestCamera()
43 public void requestCamera(int id, boolean useNewApi); in requestCamera() argument