Loading libs/gui/include/gui/WindowInfo.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -178,6 +178,8 @@ struct WindowInfo : public Parcelable { static_cast<uint32_t>(os::InputConfig::GLOBAL_STYLUS_BLOCKS_TOUCH), static_cast<uint32_t>(os::InputConfig::GLOBAL_STYLUS_BLOCKS_TOUCH), SENSITIVE_FOR_PRIVACY = SENSITIVE_FOR_PRIVACY = static_cast<uint32_t>(os::InputConfig::SENSITIVE_FOR_PRIVACY), static_cast<uint32_t>(os::InputConfig::SENSITIVE_FOR_PRIVACY), DISPLAY_TOPOLOGY_AWARE = static_cast<uint32_t>(os::InputConfig::DISPLAY_TOPOLOGY_AWARE), // clang-format on // clang-format on }; }; Loading libs/input/android/os/InputConfig.aidl +13 −0 Original line number Original line Diff line number Diff line Loading @@ -160,4 +160,17 @@ enum InputConfig { * determine how these sensitive events are eventually traced. * determine how these sensitive events are eventually traced. */ */ SENSITIVE_FOR_PRIVACY = 1 << 18, SENSITIVE_FOR_PRIVACY = 1 << 18, /** * InputConfig used to indicate that this window is topology aware. Using this flag will allow * windows to receive gestures that can cross display boundaries. This flag is used for cross * display drag and drop of windows and contents. * * Window with this flag can receive an input event stream containing events with varying * displayIds in the corresponding coordinate space when the cursor crosses display boundary. * * When this flag is not set, window will receive a modified event stream where display Id will * remain unchanged and coordinate space will extend beyond the logical display space. */ DISPLAY_TOPOLOGY_AWARE = 1 << 19, } } Loading
libs/gui/include/gui/WindowInfo.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -178,6 +178,8 @@ struct WindowInfo : public Parcelable { static_cast<uint32_t>(os::InputConfig::GLOBAL_STYLUS_BLOCKS_TOUCH), static_cast<uint32_t>(os::InputConfig::GLOBAL_STYLUS_BLOCKS_TOUCH), SENSITIVE_FOR_PRIVACY = SENSITIVE_FOR_PRIVACY = static_cast<uint32_t>(os::InputConfig::SENSITIVE_FOR_PRIVACY), static_cast<uint32_t>(os::InputConfig::SENSITIVE_FOR_PRIVACY), DISPLAY_TOPOLOGY_AWARE = static_cast<uint32_t>(os::InputConfig::DISPLAY_TOPOLOGY_AWARE), // clang-format on // clang-format on }; }; Loading
libs/input/android/os/InputConfig.aidl +13 −0 Original line number Original line Diff line number Diff line Loading @@ -160,4 +160,17 @@ enum InputConfig { * determine how these sensitive events are eventually traced. * determine how these sensitive events are eventually traced. */ */ SENSITIVE_FOR_PRIVACY = 1 << 18, SENSITIVE_FOR_PRIVACY = 1 << 18, /** * InputConfig used to indicate that this window is topology aware. Using this flag will allow * windows to receive gestures that can cross display boundaries. This flag is used for cross * display drag and drop of windows and contents. * * Window with this flag can receive an input event stream containing events with varying * displayIds in the corresponding coordinate space when the cursor crosses display boundary. * * When this flag is not set, window will receive a modified event stream where display Id will * remain unchanged and coordinate space will extend beyond the logical display space. */ DISPLAY_TOPOLOGY_AWARE = 1 << 19, } }