diff options
| author | 2010-08-31 15:53:17 -0700 | |
|---|---|---|
| committer | 2010-08-31 15:53:17 -0700 | |
| commit | 9b83cce203444f9ee790574a2bbc4c57ffb35af9 (patch) | |
| tree | 44bbf7b9195e3a502cf4adf9f1879703a0afc9f9 | |
| parent | f36e8e8262d78453595ba35e6d08d5a85ed9b937 (diff) | |
| parent | 006f136d2b59c29c64bc8481ea1fd675062bd81f (diff) | |
am df02df11: am 307ed31c: Merge "Remove incomplete input device enumeration NDK API." into gingerbread
Merge commit 'df02df115a594553b3ebaa95a0a7f7185a8787d3'
* commit 'df02df115a594553b3ebaa95a0a7f7185a8787d3':
Remove incomplete input device enumeration NDK API.
| -rw-r--r-- | include/ui/Input.h | 23 | ||||
| -rw-r--r-- | libs/ui/Input.cpp | 17 |
2 files changed, 0 insertions, 40 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h index 49347d3f89..3fa825f9bf 100644 --- a/include/ui/Input.h +++ b/include/ui/Input.h @@ -466,29 +466,6 @@ private: KeyedVector<int32_t, MotionRange> mMotionRanges; }; -/* - * Provides remote access to information about an input device. - * - * Note: This is essentially a wrapper for Binder calls into the Window Manager Service. - */ -class InputDeviceProxy : public RefBase, public AInputDevice { -protected: - InputDeviceProxy(); - virtual ~InputDeviceProxy(); - -public: - static void getDeviceIds(Vector<int32_t>& outIds); - - static sp<InputDeviceProxy> getDevice(int32_t id); - - inline const InputDeviceInfo* getInfo() { return & mInfo; } - - // TODO add hasKeys, keymap, etc... - -private: - InputDeviceInfo mInfo; -}; - } // namespace android diff --git a/libs/ui/Input.cpp b/libs/ui/Input.cpp index 5fbaf0961b..4973cd89f2 100644 --- a/libs/ui/Input.cpp +++ b/libs/ui/Input.cpp @@ -210,21 +210,4 @@ void InputDeviceInfo::addMotionRange(int32_t rangeType, const MotionRange& range mMotionRanges.add(rangeType, range); } -// class InputDeviceProxy - -InputDeviceProxy::InputDeviceProxy() { -} - -InputDeviceProxy::~InputDeviceProxy() { -} - -void InputDeviceProxy::getDeviceIds(Vector<int32_t>& outIds) { - // TODO use Binder -} - -sp<InputDeviceProxy> InputDeviceProxy::getDevice(int32_t id) { - // TODO use Binder - return NULL; -} - } // namespace android |