Home
last modified time | relevance | path

Searched refs:mDeviceStateOrientationMap (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/core/java/android/hardware/camera2/params/
H A DDeviceStateSensorOrientationMap.java70 private final HashMap<Long, Integer> mDeviceStateOrientationMap = new HashMap<>(); field in DeviceStateSensorOrientationMap
101 mDeviceStateOrientationMap.put(elements[i], Math.toIntExact(elements[i + 1])); in DeviceStateSensorOrientationMap()
116 if (!mDeviceStateOrientationMap.containsKey(deviceState)) { in getSensorOrientation()
120 return mDeviceStateOrientationMap.get(deviceState); in getSensorOrientation()
/aosp12/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp2310 mDeviceStateOrientationMap.emplace(stateMap.data.i64[i], stateMap.data.i64[i+1]);
2449 if (!mDeviceStateOrientationMap.empty() && in notifyDeviceStateChange()
2450 (mDeviceStateOrientationMap.find(newState) != mDeviceStateOrientationMap.end())) { in notifyDeviceStateChange()
2452 &mDeviceStateOrientationMap[newState], 1); in notifyDeviceStateChange()
H A DCameraProviderManager.h578 std::unordered_map<int64_t, int32_t> mDeviceStateOrientationMap; member