Intervention Conditions for Touch Input Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Mobile devices face challenges in handling touch inputs efficiently within nested hierarchies of views, where the default hit-test behavior often allocates processing to the lowest view, potentially leading to incorrect gesture recognition and intervention.
Innovation Solution
Implementing a method that allows higher views in the hierarchy to express interest in processing touch inputs by evaluating intervention conditions, enabling the parent view to override the default hit-test behavior and process gestures, such as pinch and zoom or scroll, based on specific conditions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the default hit-test behavior allocates processing to the lowest view, then the processing is simple and fast, but the gesture recognition may be incorrect and not intuitive
Solution Approach 1:
The patent introduces an intervention condition evaluation mechanism as an intermediary between the default hit-test view and the higher-level view. This mediator evaluates whether a higher view should intervene in processing the touch input, allowing accurate gesture recognition when conditions are met while maintaining the simplicity of default hit-test behavior when they are not. The intervention condition acts as a gatekeeper that selectively enables higher-level processing only when necessary.
2Reliability
If higher views are allowed to override default hit-test behavior, then gesture recognition becomes more accurate, but the processing complexity increases
Solution Approach 1:
The patent implements partial action by allowing higher views to override default hit-test behavior only when specific intervention conditions are met, rather than always evaluating all possible overrides. This selective approach maintains fast processing for common cases where the default behavior is sufficient, while enabling accurate gesture recognition only when the intervention conditions indicate it is necessary.
3Ease of operation
If the default hit-test behavior is used, then the processing is fast and simple, but the user interaction may not be intuitive
Solution Approach 1:
The patent makes the hit-test processing dynamic by allowing the processing path to change based on intervention conditions. Instead of a static default behavior, the system dynamically evaluates whether higher views should intervene and adjusts the processing flow accordingly. This dynamic approach enables intuitive user interaction when gestures are recognized correctly while maintaining simplicity through conditional logic rather than permanent complexity.
Data Source
AI summary
In one embodiment, a method includes receiving a touch input within a particular region of a display area of the computing device. The display area presents a user interface (UI) including a number of views organized in a hierarchy. One or more of the views has a gesture recognizer configured to process a touch input detected within the regions of the display area associated with each of the views. Each of the views corresponds to one or more regions of the display area. One or more of the gesture recognizers has one or more intervention conditions. A particular one of the views is a default view to process the touch input. The method also includes evaluating the intervention conditions to identify a particular one of the views from among the number of views to process the touch input.


