lp://staging/~dandrader/unity8/ddaImprovements
- Get this branch:
- bzr branch lp://staging/~dandrader/unity8/ddaImprovements
Branch merges
- Michael Zanetti (community): Approve
- Albert Astals Cid (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- MichaĆ Sawicz: Pending requested
-
Diff: 5591 lines (+1769/-1521)49 files modifiedlibs/UbuntuGestures/CMakeLists.txt (+1/-0)
libs/UbuntuGestures/CandidateInactivityTimer.h (+1/-1)
libs/UbuntuGestures/TimeSource.h (+14/-4)
libs/UbuntuGestures/Timer.cpp (+67/-14)
libs/UbuntuGestures/Timer.h (+15/-3)
libs/UbuntuGestures/TouchRegistry.cpp (+12/-14)
libs/UbuntuGestures/TouchRegistry.h (+18/-4)
plugins/Ubuntu/Gestures/CMakeLists.txt (+1/-1)
plugins/Ubuntu/Gestures/Damper.cpp (+24/-0)
plugins/Ubuntu/Gestures/Damper.h (+2/-0)
plugins/Ubuntu/Gestures/DirectionalDragArea.cpp (+362/-363)
plugins/Ubuntu/Gestures/DirectionalDragArea.h (+34/-207)
plugins/Ubuntu/Gestures/DirectionalDragArea_p.h (+167/-0)
plugins/Ubuntu/Gestures/TouchDispatcher.cpp (+88/-53)
plugins/Ubuntu/Gestures/TouchDispatcher.h (+16/-9)
plugins/Ubuntu/Gestures/TouchGate.cpp (+87/-63)
plugins/Ubuntu/Gestures/TouchGate.h (+18/-5)
qml/Components/DragHandle.qml (+20/-35)
qml/Components/EdgeDragArea.qml (+0/-46)
qml/Dash/Dash.qml (+5/-12)
qml/Greeter/CoverPage.qml (+3/-2)
qml/Launcher/Launcher.qml (+7/-15)
qml/Panel/IndicatorsMenu.qml (+12/-2)
qml/Stages/PhoneStage.qml (+33/-43)
qml/Stages/TabletStage.qml (+19/-21)
qml/Tutorial/TutorialBottom.qml (+1/-1)
tests/libs/UbuntuGestures/tst_TouchRegistry.cpp (+68/-2)
tests/plugins/Ubuntu/Gestures/CMakeLists.txt (+3/-1)
tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml (+5/-19)
tests/plugins/Ubuntu/Gestures/GestureTest.cpp (+13/-3)
tests/plugins/Ubuntu/Gestures/GestureTest.h (+4/-0)
tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml (+6/-19)
tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml (+5/-19)
tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml (+6/-19)
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.cpp (+496/-461)
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml (+8/-1)
tests/plugins/Ubuntu/Gestures/tst_TouchDispatcher.cpp (+5/-6)
tests/plugins/Ubuntu/Gestures/tst_TouchGate.cpp (+56/-1)
tests/qmltests/Components/CMakeLists.txt (+3/-1)
tests/qmltests/Components/tst_DragHandle.cpp (+15/-13)
tests/qmltests/Components/tst_DragHandle.qml (+7/-0)
tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml (+2/-2)
tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml (+4/-4)
tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml (+4/-4)
tests/qmltests/Stages/tst_PhoneStage.qml (+8/-8)
tests/qmltests/Tutorial/tst_Tutorial.qml (+5/-1)
tests/qmltests/tst_Shell.qml (+14/-10)
tests/qmltests/tst_ShellWithPin.qml (+2/-2)
tests/utils/modules/Unity/Test/UnityTestCase.qml (+3/-7)
Related bugs
Bug #1417920: Cannot drag up/down launcher if right-edge DDA area covers the whole panel | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 1711. By Daniel d'Andrada
-
DirectionalDragArea & friends: various improvements & API grooming
-Simplified DirectionalDragArea gesture recognition
* The widening angle property was dropped. Didn't really work
as in real life swipes might start up in very different directions
before finally turning to the final overall direction. That's specially
bad when you have to conclude the recognition in a short amount
of time so that you can still play animations to follow the user's finger
* minSpeed as well. Went for a simpler way of expressing and evaluating it
which is having maxTime and maxDistance.-EdgeDragArea got absorbed by DirectionalDragArea
-Privatized all gesture recognition parameters.
-Privatized DirectionalDrag
Area.status property. All apps need is
DirectionalDragArea.dragging. Modified qml code using DDA accordingly. -Modified DirectionalDrag
Area.dragging semantics a bit. It goes to true only
once a gesture is recognized-Moved code that smooths out touch movement into DirectionalDragArea so all users
get it for free.-Cleaned up DirectionalDrag
Area.h of all implementation details, getting it ready
to be moved out of unity8, into the SDK.-Removed DirectionalDrag
Area.tapped( ) signal as it doesn't belong to it. -Fine-tuned gesture recognition parameters and made them based on physical size.
-Added tests with input from real gestures to catch those annoying
false-negatives and false-positives introduced by badly set recognition parameters-Improved debug output
-UnownedTouchEvents are no longer sent to interim owners
-Fixed issue when TouchGate got disabled while holding an active touch
-Made "make tryDirectionalD
ragArea" and "make tryDragHandle" work with mouse again.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/unity8