From 50de30a5230dd15326f8bcbb4beaf617bca265e2 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Tue, 22 Jun 2010 01:27:15 -0700 Subject: Native input event dispatching. Target identification is now fully native. Fixed a couple of minor issues related to input injection. Native input enabled by default, can be disabled by setting WindowManagerPolicy.ENABLE_NATIVE_INPUT_DISPATCH to false. Change-Id: I7edf66ed3e987cc9306ad4743ac57a116af452ff --- include/ui/InputReader.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/ui/InputReader.h') diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h index d76b8fe..2093560 100644 --- a/include/ui/InputReader.h +++ b/include/ui/InputReader.h @@ -361,7 +361,11 @@ public: // The input dispatcher should add POLICY_FLAG_BRIGHT_HERE to the policy flags it // passes through the dispatch pipeline. - ACTION_BRIGHT_HERE = 0x00000008 + ACTION_BRIGHT_HERE = 0x00000008, + + // The input dispatcher should add POLICY_FLAG_INTERCEPT_DISPATCH to the policy flags + // it passed through the dispatch pipeline. + ACTION_INTERCEPT_DISPATCH = 0x00000010 }; /* Describes a virtual key. */ -- cgit v1.1