~azzar1/unity/fix-1036231

« back to all changes in this revision

Viewing changes to tests/test-gestures/sed_script_switcher

  • Committer: Tarmac
  • Author(s): Daniel d'Andrada
  • Date: 2012-08-20 14:59:10 UTC
  • mfrom: (2534.1.12 alt_tab_v2)
  • Revision ID: tarmac-20120820145910-y17ko481ufxhmmga
Multi-touch gestures for switching between windows (a.k.a. "alt-tab with gestures").

Approved by Tim Penhey.

The following gestural interactions with the window switcher have been implemented:

1. 3-fingers double tap -> switches to previous window

2. 3-fingers tap followed by 3-fingers hold -> shows window switcher
- drag those 3-fingers -> change selected window icon
- release fingers -> selects window and closes switcher

3. 3-fingers tap followed by 3-fingers hold -> shows window switcher
- release fingers -> switcher will kept being shown for some seconds still
- drag with one or three fingers -> change selected window
- release finger(s) -> selects window and closes switcher

4. 3-fingers tap followed by 3-fingers hold -> shows window switcher
- release fingers -> switcher will kept being shown for some seconds still
- tap on some window icon -> selects that icon and closes the switcher

Unit tests included.. Fixes: . Approved by Tim Penhey.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
s|<core/core.h>|<compiz_mock/core/core.h>|
 
2
s|<core/timer.h>|<compiz_mock/core/timer.h>|
 
3
s|\<CompScreen\>|CompScreenMock|g
 
4
s|\<CompWindow\>|CompWindowMock|g
 
5
s|\<CompWindowVector\>|CompWindowMockVector|g
 
6
s|\<screen\>|screen_mock|g
 
7
s|\<pointerX\>|pointerX_mock|g
 
8
s|\<pointerY\>|pointerY_mock|g
 
9
s|\<XSync\>|XSyncMock|g
 
10
s|\<XWarpPointer\>|XWarpPointerMock|g
 
11
s|\<XFreeCursor\>|XFreeCursorMock|g
 
12
s|\<XCreateFontCursor\>|XCreateFontCursorMock|g
 
13
s|\<ubus-server.h\>|ubus-server-mock.h|g
 
14
s|\<unityshell.h\>|unityshell_mock.h|g
 
15
s|\<PluginAdapter\>|PluginAdapterMock|g
 
16
s|\<UnityWindow\>|UnityWindowMock|g
 
17
s|\<UnityScreen\>|UnityScreenMock|g
 
18
s|\<InputArea\>|InputAreaMock|g
 
19
s|\<Nux/Nux\.h\>|NuxMock.h|g
 
20
s|\<CompTimer\>|CompTimerMock|g
 
21
s|\<LauncherController\>|LauncherControllerMock|g
 
22
s|\<SwitcherController\>|SwitcherControllerMock|g
 
23
s|\<switcher\:\:Controller\>|switcher\:\:ControllerMock|g
 
24
s|\<launcher\:\:Controller\>|launcher\:\:ControllerMock|g
 
25
s|\<SwitcherView\>|SwitcherViewMock|g