Home
last modified time | relevance | path

Searched refs:mCameraInfo (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v1/
DOneCameraCharacteristicsImpl.java37 private final Camera.CameraInfo mCameraInfo; field in OneCameraCharacteristicsImpl
48 mCameraInfo = cameraInfo; in OneCameraCharacteristicsImpl()
78 return mCameraInfo.orientation; in getSensorOrientation()
83 int direction = mCameraInfo.facing; in getCameraDirection()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java148 private final CameraInfo mCameraInfo; field in CameraManager
213 mCameraInfo = new CameraInfo(); in CameraManager()
296 selectCamera(mCameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT ? in swapCamera()
310 if (mCameraIndex >= 0 && mCameraInfo.facing == desiredFacing) { in selectCamera()
324 sCameraWrapper.getCameraInfo(i, mCameraInfo); in selectCamera()
333 sCameraWrapper.getCameraInfo(0, mCameraInfo); in selectCamera()
361 sCameraWrapper.getCameraInfo(mCameraIndex, mCameraInfo); in selectCameraByIndex()
378 return mCameraInfo; in getCameraInfo()
685 if (mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in updateCameraOrientation()
686 orientation = (mCameraInfo.orientation + degrees) % 360; in updateCameraOrientation()
[all …]
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraController.java349 private CameraInfo mCameraInfo = null; field in CameraController
373 mCameraInfo = getOrCreateCameraInfo(mCameraId); in CameraController()
377 mCameraInfo.getSensorOrientation(), mCameraInfo.getLensFacing()); in CameraController()
821 if (mCameraInfo.isStreamUseCaseSupported() && shouldUseStreamUseCase()) { in setupPreviewOnlyStreamLocked()
861 if (mCameraInfo.isFacePrioritySupported()) { in createInitialPreviewRequestBuilder()
953 if (mCameraInfo.isStreamUseCaseSupported() && shouldUseStreamUseCase()) { in setupPreviewStreamAlongsideWebcamStreamLocked()
1009 if (mCameraInfo.isStreamUseCaseSupported() && shouldUseStreamUseCase()) { in setupWebcamOnlyStreamAndOpenCameraLocked()
1026 if (mCameraInfo.isStreamUseCaseSupported() && shouldUseStreamUseCase()) { in setupWebcamStreamAndReconfigureSessionLocked()
1058 if (mCameraInfo.isStreamUseCaseSupported()) { in adjustPreviewOutputConfiguration()
1284 return mCameraInfo; in getCameraInfo()
[all …]
/packages/services/Car/cpp/evs/apps/default/src/
DRenderDirectView.cpp64 mCameraInfo = *target; in RenderDirectView()
68 sincosf(mCameraInfo.roll, &sinRoll, &cosRoll); in RenderDirectView()
200 if (mCameraInfo.hflip) { in drawFrame()
205 if (mCameraInfo.vflip) { in drawFrame()
DRenderPixelCopy.cpp42 mCameraInfo = cam; in RenderPixelCopy()
49 if (auto status = mEnumerator->openCamera(mCameraInfo.cameraId.c_str(), emptyConfig, &pCamera); in activate()
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DConfigManager.h148 for (auto&& v : mCameraInfo) { in getCameraIdList()
203 return mCameraInfo[cameraId]; in getCameraInfo()
225 std::unordered_map<std::string, std::unique_ptr<CameraInfo>> mCameraInfo; variable
DEvsV4lCamera.h143 std::unique_ptr<ConfigManager::CameraInfo>& mCameraInfo; variable
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DConfigManager.h144 for (auto&& v : mCameraInfo) { in getCameraIdList()
199 return mCameraInfo[cameraId]; in getCameraInfo()
221 std::unordered_map<std::string, std::unique_ptr<CameraInfo>> mCameraInfo; variable
DEvsV4lCamera.cpp55 mFramesAllowed(0), mFramesInUse(0), mCameraInfo(camInfo) { in EvsV4lCamera()
350 if (mCameraInfo != nullptr) { in getParameterList()
351 hidlCtrls.resize(mCameraInfo->controls.size()); in getParameterList()
353 for (auto& [cid, range] : mCameraInfo->controls) { in getParameterList()
363 if (mCameraInfo != nullptr) { in getIntParameterRange()
364 auto range = mCameraInfo->controls[id]; in getIntParameterRange()
DConfigManager.cpp112 mCameraInfo.insert_or_assign(id, std::unique_ptr<CameraInfo>(aCamera)); in readCameraInfo()
538 mCameraInfo.clear(); in readConfigDataFromBinary()
620 mCameraInfo.insert_or_assign(cameraId, std::move(aCamera)); in readConfigDataFromBinary()
643 mCameraInfo.clear(); in readConfigDataFromBinary()
721 mCameraInfo.insert_or_assign(cameraId, std::move(aCamera)); in readConfigDataFromBinary()
839 sz = mCameraInfo.size(); in writeConfigDataToBinary()
841 for (auto&& [camId, camInfo] : mCameraInfo) { in writeConfigDataToBinary()
DEvsV4lCamera.h151 std::unique_ptr<ConfigManager::CameraInfo>& mCameraInfo; variable
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsV4lCamera.cpp54 mFramesAllowed(0), mFramesInUse(0), mCameraInfo(camInfo) { in EvsV4lCamera()
297 if (mCameraInfo) { in getParameterList()
298 _aidl_return->resize(mCameraInfo->controls.size()); in getParameterList()
300 for (auto& [name, range] : mCameraInfo->controls) { in getParameterList()
309 if (!mCameraInfo) { in getIntParameterRange()
313 auto it = mCameraInfo->controls.find(id); in getIntParameterRange()
314 if (it == mCameraInfo->controls.end()) { in getIntParameterRange()
DConfigManager.cpp112 mCameraInfo.insert_or_assign(id, std::unique_ptr<CameraInfo>(aCamera)); in readCameraInfo()
537 mCameraInfo.clear(); in readConfigDataFromBinary()
620 mCameraInfo.insert_or_assign(cameraId, std::move(aCamera)); in readConfigDataFromBinary()
643 mCameraInfo.clear(); in readConfigDataFromBinary()
722 mCameraInfo.insert_or_assign(cameraId, std::move(aCamera)); in readConfigDataFromBinary()
838 sz = mCameraInfo.size(); in writeConfigDataToBinary()
840 for (auto&& [camId, camInfo] : mCameraInfo) { in writeConfigDataToBinary()
/packages/services/Car/cpp/evs/apps/default/inc/
DRenderPixelCopy.h43 ConfigManager::CameraInfo mCameraInfo; variable
DRenderDirectView.h46 ConfigManager::CameraInfo mCameraInfo; variable
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java67 private final CameraInfo[] mCameraInfo; field in CameraSettings
75 mCameraInfo = cameraInfo; in CameraSettings()
222 int numOfCameras = mCameraInfo.length; in buildCameraId()