Gesture Recognizers with Delegates for Context-Aware Input
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing user interfaces with touch-sensitive surfaces face complexity in recognizing and responding to touch-based gestures, as different gestures are recognized in varying contexts, leading to intricate software logic that requires frequent revisions with updates or additions of applications.
Innovation Solution
A method and system that utilize gesture recognizers with delegates to process touch events, allowing for adaptable gesture recognition across multiple contexts without significant revisions, by executing delegates to determine values based on application states and sending information conditionally to the software application.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If different gesture recognition logic is implemented for different contexts and applications, then gesture recognition accuracy is improved, but software complexity increases
Solution Approach 1:
The patent implements a universal gesture recognition framework where a single gesture recognizer can serve multiple contexts and applications through configurable parameters and delegates. The recognizer is designed to be context-agnostic, allowing the same hardware and core software to handle diverse gesture recognition needs across different applications without requiring separate recognition logic for each context.
Solution Approach 2:
The patent segments the gesture recognition system into independent modular components: event sensors, gesture recognizers, delegates, and application logic. Each component has a specific responsibility, and they can be independently configured and combined. This modular architecture allows the system to maintain low overall complexity while achieving high recognition accuracy through selective composition of components for different contexts.
2Adaptability or versatility
If context-specific gesture recognition logic is added for each application, then gesture recognition adaptability is improved, but software maintainability deteriorates
Solution Approach 1:
The gesture recognizer is designed as a universal component that can adapt to different applications and contexts through configuration rather than through hard-coded context-specific logic. The same recognizer instance can serve multiple applications with different gesture sets by changing parameters or delegates, eliminating the need to modify core recognition logic when adding new applications or updating existing ones.
Solution Approach 2:
The system employs dynamic configuration where gesture recognizers can be enabled, disabled, or reconfigured at runtime based on application needs. Delegates provide dynamic control over gesture recognition behavior without requiring changes to the recognizer's core logic, allowing the system to adapt to new contexts while maintaining a stable, maintainable codebase.
3Adaptability or versatility
If comprehensive gesture recognition coverage is implemented across all applications, then system versatility is improved, but development time increases
Solution Approach 1:
The patent implements preliminary action by providing pre-configured gesture recognizers and delegates that can be directly applied to new applications without requiring development of recognition logic from scratch. The framework includes ready-to-use components that can be instantiated and configured with minimal effort, allowing rapid deployment of gesture recognition across multiple applications while maintaining comprehensive coverage.
Solution Approach 2:
The system enables copying of gesture recognizer configurations and delegates across applications. Once a gesture recognition setup is created for one application, it can be replicated and adapted for other applications by instantiating copies of the recognizer with different configuration parameters, significantly reducing development time while achieving comprehensive versatility across the application ecosystem.
Data Source
AI summary
An electronic device displays one or more views of a software application with a plurality of gesture recognizers including at least one discrete gesture recognizer, configured to send a single action message in response to a respective gesture; and at least one continuous gesture recognizer, configured to send action messages at successive recognized sub-events of a respective recognized gesture. The device detects one or more events and processes each event using one or more of the gesture recognizers, including: processing the respective event at a respective gesture recognizer in accordance with a respective gesture definition corresponding to the respective gesture recognizer, and conditionally sending one or more respective action messages to the software application in accordance with an outcome of the processing of the respective event. The device executes the software application in accordance with one or more action messages received from one or more of the gesture recognizers.


