summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-06-28 15:27:30 -0700
committerDianne Hackborn <hackbod@google.com>2010-06-29 10:43:54 -0700
commit9c7f8186aea675628894b8f3844f83e791870859 (patch)
tree7c4db0fc94505652fcc5997ea249dab0018c4921 /include/ui
parent0c3af05e12d6c3983143bd574418956e6388e45c (diff)
downloadframeworks_native-9c7f8186aea675628894b8f3844f83e791870859.zip
frameworks_native-9c7f8186aea675628894b8f3844f83e791870859.tar.gz
frameworks_native-9c7f8186aea675628894b8f3844f83e791870859.tar.bz2
Update native activity & event APIs to follow correct conventions.
Change-Id: Ie64fb3a9c68bc9c117fa5621b75d1f609e304e0e
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/Input.h4
-rw-r--r--include/ui/InputTransport.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h
index 57b292b..8890789 100644
--- a/include/ui/Input.h
+++ b/include/ui/Input.h
@@ -43,7 +43,7 @@ enum {
/*
* Declare a concrete type for the NDK's input event forward declaration.
*/
-struct input_event_t { };
+struct AInputEvent { };
namespace android {
@@ -136,7 +136,7 @@ struct PointerCoords {
/*
* Input events.
*/
-class InputEvent : public input_event_t {
+class InputEvent : public AInputEvent {
public:
virtual ~InputEvent() { }
diff --git a/include/ui/InputTransport.h b/include/ui/InputTransport.h
index d6bded6..4e76051 100644
--- a/include/ui/InputTransport.h
+++ b/include/ui/InputTransport.h
@@ -333,13 +333,13 @@ private:
/*
* NDK input queue API.
*/
-struct input_queue_t {
+struct AInputQueue {
public:
/* Creates a consumer associated with an input channel. */
- explicit input_queue_t(const android::sp<android::InputChannel>& channel);
+ explicit AInputQueue(const android::sp<android::InputChannel>& channel);
/* Destroys the consumer and releases its input channel. */
- ~input_queue_t();
+ ~AInputQueue();
inline android::InputConsumer& getConsumer() { return mConsumer; }