OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:action_dict
(Results
1 - 2
of
2
) sorted by null
/external/skia/platform_tools/android/skp_gen/
android_skp_capture.py
48
def parse_action(
action_dict
):
50
if
action_dict
['type'] == 'drag':
51
return DragAction(tuple(
action_dict
['start']),
52
tuple(
action_dict
['end']),
53
action_dict
['duration'],
54
action_dict
['points'])
55
elif
action_dict
['type'] == 'press':
56
return PressAction(
action_dict
['button'],
action_dict
['press_type'])
58
raise TypeError('Unsupported action type: %s' %
action_dict
['type']
[
all
...]
/external/skqp/platform_tools/android/skp_gen/
android_skp_capture.py
48
def parse_action(
action_dict
):
50
if
action_dict
['type'] == 'drag':
51
return DragAction(tuple(
action_dict
['start']),
52
tuple(
action_dict
['end']),
53
action_dict
['duration'],
54
action_dict
['points'])
55
elif
action_dict
['type'] == 'press':
56
return PressAction(
action_dict
['button'],
action_dict
['press_type'])
58
raise TypeError('Unsupported action type: %s' %
action_dict
['type']
[
all
...]
Completed in 59 milliseconds