Loading include/input/InputDevice.h +0 −4 Original line number Diff line number Diff line Loading @@ -329,9 +329,6 @@ public: inline void setHasBattery(bool hasBattery) { mHasBattery = hasBattery; } inline bool hasBattery() const { return mHasBattery; } inline void setButtonUnderPad(bool hasButton) { mHasButtonUnderPad = hasButton; } inline bool hasButtonUnderPad() const { return mHasButtonUnderPad; } inline void setHasSensor(bool hasSensor) { mHasSensor = hasSensor; } inline bool hasSensor() const { return mHasSensor; } Loading Loading @@ -371,7 +368,6 @@ private: bool mHasVibrator; bool mHasBattery; bool mHasButtonUnderPad; bool mHasSensor; std::vector<MotionRange> mMotionRanges; Loading libs/input/InputDevice.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -204,7 +204,6 @@ InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) mEnabled(other.mEnabled), mHasVibrator(other.mHasVibrator), mHasBattery(other.mHasBattery), mHasButtonUnderPad(other.mHasButtonUnderPad), mHasSensor(other.mHasSensor), mMotionRanges(other.mMotionRanges), mSensors(other.mSensors), Loading @@ -230,7 +229,6 @@ InputDeviceInfo& InputDeviceInfo::operator=(const InputDeviceInfo& other) { mEnabled = other.mEnabled; mHasVibrator = other.mHasVibrator; mHasBattery = other.mHasBattery; mHasButtonUnderPad = other.mHasButtonUnderPad; mHasSensor = other.mHasSensor; mMotionRanges = other.mMotionRanges; mSensors = other.mSensors; Loading Loading @@ -260,7 +258,6 @@ void InputDeviceInfo::initialize(int32_t id, int32_t generation, int32_t control mEnabled = enabled; mHasVibrator = false; mHasBattery = false; mHasButtonUnderPad = false; mHasSensor = false; mViewBehavior = viewBehavior; mUsiVersion.reset(); Loading Loading
include/input/InputDevice.h +0 −4 Original line number Diff line number Diff line Loading @@ -329,9 +329,6 @@ public: inline void setHasBattery(bool hasBattery) { mHasBattery = hasBattery; } inline bool hasBattery() const { return mHasBattery; } inline void setButtonUnderPad(bool hasButton) { mHasButtonUnderPad = hasButton; } inline bool hasButtonUnderPad() const { return mHasButtonUnderPad; } inline void setHasSensor(bool hasSensor) { mHasSensor = hasSensor; } inline bool hasSensor() const { return mHasSensor; } Loading Loading @@ -371,7 +368,6 @@ private: bool mHasVibrator; bool mHasBattery; bool mHasButtonUnderPad; bool mHasSensor; std::vector<MotionRange> mMotionRanges; Loading
libs/input/InputDevice.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -204,7 +204,6 @@ InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) mEnabled(other.mEnabled), mHasVibrator(other.mHasVibrator), mHasBattery(other.mHasBattery), mHasButtonUnderPad(other.mHasButtonUnderPad), mHasSensor(other.mHasSensor), mMotionRanges(other.mMotionRanges), mSensors(other.mSensors), Loading @@ -230,7 +229,6 @@ InputDeviceInfo& InputDeviceInfo::operator=(const InputDeviceInfo& other) { mEnabled = other.mEnabled; mHasVibrator = other.mHasVibrator; mHasBattery = other.mHasBattery; mHasButtonUnderPad = other.mHasButtonUnderPad; mHasSensor = other.mHasSensor; mMotionRanges = other.mMotionRanges; mSensors = other.mSensors; Loading Loading @@ -260,7 +258,6 @@ void InputDeviceInfo::initialize(int32_t id, int32_t generation, int32_t control mEnabled = enabled; mHasVibrator = false; mHasBattery = false; mHasButtonUnderPad = false; mHasSensor = false; mViewBehavior = viewBehavior; mUsiVersion.reset(); Loading