Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/params/
DDeviceStateSensorOrientationMap.java73 private final HashMap<Long, Integer> mDeviceStateOrientationMap; field in DeviceStateSensorOrientationMap
100 mDeviceStateOrientationMap = new HashMap<>(); in DeviceStateSensorOrientationMap()
112 mDeviceStateOrientationMap.put(elements[i], Math.toIntExact(elements[i + 1])); in DeviceStateSensorOrientationMap()
127 mDeviceStateOrientationMap = deviceStateOrientationMap; in DeviceStateSensorOrientationMap()
141 if (!mDeviceStateOrientationMap.containsKey(deviceState)) { in getSensorOrientation()
145 return mDeviceStateOrientationMap.get(deviceState); in getSensorOrientation()
212 mDeviceStateOrientationMap.put(deviceState, Math.toIntExact(angle)); in addOrientationForState()
229 return new DeviceStateSensorOrientationMap(mElements, mDeviceStateOrientationMap); in build()
233 private final HashMap<Long, Integer> mDeviceStateOrientationMap = new HashMap<>(); field in DeviceStateSensorOrientationMap.Builder
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2757 if (!mDeviceStateOrientationMap.empty() && in notifyDeviceStateChange()
2758 (mDeviceStateOrientationMap.find(newState) != mDeviceStateOrientationMap.end())) { in notifyDeviceStateChange()
2760 &mDeviceStateOrientationMap[newState], 1); in notifyDeviceStateChange()
2763 &mDeviceStateOrientationMap[newState], 1); in notifyDeviceStateChange()
DCameraProviderManager.h736 std::unordered_map<int64_t, int32_t> mDeviceStateOrientationMap; member
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.cpp602 mDeviceStateOrientationMap.emplace(stateMap.data.i64[i], stateMap.data.i64[i+1]); in HidlDeviceInfo3()
/frameworks/av/services/camera/libcameraservice/common/aidl/
DAidlProviderInfo.cpp513 mDeviceStateOrientationMap.emplace(stateMap.data.i64[i], stateMap.data.i64[i+1]); in AidlDeviceInfo3()