Namespace Tizen.NUI.Utility

    Classes

    AccumulatingVelocityTrackerStrategy

    TextPageUtil

    This is utility class for paging very long text.

    VelocityTracker

    Calculates the velocity of touch movements over time. private void OnPanGestureDetected(object source, PanGestureDetector.DetectedEventArgs e) { tracker.AddMovement(e.PanGesture.ScreenPosition, e.PanGesture.Time); if (e.PanGesture.State == Gesture.StateType.Started) { } else if (e.PanGesture.State == Gesture.StateType.Continuing) { } else if (e.PanGesture.State == Gesture.StateType.Finished || e.PanGesture.State == Gesture.StateType.Cancelled) { float panVelocity = (ScrollingDirection == Direction.Horizontal) ? tracker.GetVelocity().X : tracker.GetVelocity().Y; tracker.Clear(); } }

    VelocityTrackerStrategy

    Structs

    AccumulatingVelocityTrackerStrategy.Movement

    Positions and event time information

    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX