01.
static
{
02.
map.put(
"waitForIdle"
,
new
WaitForIdle());
03.
map.put(
"clear"
,
new
Clear());
04.
map.put(
"orientation"
,
new
Orientation());
05.
map.put(
"swipe"
,
new
Swipe());
06.
map.put(
"flick"
,
new
Flick());
07.
map.put(
"drag"
,
new
Drag());
08.
map.put(
"pinch"
,
new
Pinch());
09.
map.put(
"click"
,
new
Click());
10.
map.put(
"touchLongClick"
,
new
TouchLongClick());
11.
map.put(
"touchDown"
,
new
TouchDown());
12.
map.put(
"touchUp"
,
new
TouchUp());
13.
map.put(
"touchMove"
,
new
TouchMove());
14.
map.put(
"getText"
,
new
GetText());
15.
map.put(
"setText"
,
new
SetText());
16.
map.put(
"getName"
,
new
GetName());
17.
map.put(
"getAttribute"
,
new
GetAttribute());
18.
map.put(
"getDeviceSize"
,
new
GetDeviceSize());
19.
map.put(
"scrollTo"
,
new
ScrollTo());
20.
map.put(
"find"
,
new
Find());
21.
map.put(
"getLocation"
,
new
GetLocation());
22.
map.put(
"getSize"
,
new
GetSize());
23.
map.put(
"wake"
,
new
Wake());
24.
map.put(
"pressBack"
,
new
PressBack());
25.
map.put(
"dumpWindowHierarchy"
,
new
DumpWindowHierarchy());
26.
map.put(
"pressKeyCode"
,
new
PressKeyCode());
27.
map.put(
"longPressKeyCode"
,
new
LongPressKeyCode());
28.
map.put(
"takeScreenshot"
,
new
TakeScreenshot());
29.
map.put(
"updateStrings"
,
new
UpdateStrings());
30.
map.put(
"getDataDir"
,
new
GetDataDir());
31.
map.put(
"performMultiPointerGesture"
,
new
MultiPointerGesture());
32.
map.put(
"openNotification"
,
new
OpenNotification());
33.
}