509 lines
31 KiB
YAML
509 lines
31 KiB
YAML
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Lang,1,14,18]; ]
|
|
import Toybox.Lang;
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ]
|
|
import Toybox.WatchUi;
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; @symbol_classdef = [MyInputDelegate,4,6,21]; @symbol_extends<0> = [WatchUi,4,30,37]; @symbol_extends<1> = [InputDelegate,4,38,51]; ]
|
|
class MyInputDelegate extends WatchUi.InputDelegate {
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ]
|
|
<init> {
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ]
|
|
static
|
|
<init> {
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ]
|
|
function initialize() as Void {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_6_26_8_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 7 8 ]
|
|
symbol [ InputDelegate %tmp.2 7 8 21 ];
|
|
%tmp.2 = getv ? :InputDelegate;
|
|
symbol [ initialize %tmp.3 7 22 32 ];
|
|
%tmp.3 = getv function %tmp.2 :initialize;
|
|
invoke %tmp.2 %tmp.3();
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_6_26_8_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 10; @symbol_functiondef = [onDrag,10,13,19]; @symbol_param<0> = [dragEvent,10,20,29]; @symbol_param<0>_type<0> = [WatchUi,10,33,40]; @symbol_param<0>_type<1> = [DragEvent,10,41,50]; @symbol_return<0> = [Lang,10,55,59]; @symbol_return<1> = [Boolean,10,60,67]; ]
|
|
function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_10_68_16_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 11 6 ]
|
|
symbol [ $ %tmp.1 11 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "on-Drag";
|
|
symbol [ kjr ? 11 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 12 6 ]
|
|
symbol [ System %tmp.4 12 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 12 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %dragEvent;
|
|
symbol [ dragEvent %tmp.6 12 21 30 ];
|
|
symbol [ getType %tmp.7 12 31 38 ];
|
|
%tmp.7 = getv function %tmp.6 :getType;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 13 6 ]
|
|
symbol [ WatchUi %tmp.9 13 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 13 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 14 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_10_68_16_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 17; @symbol_functiondef = [onFlick,17,13,20]; @symbol_param<0> = [flickEvent,17,21,31]; @symbol_param<0>_type<0> = [WatchUi,17,35,42]; @symbol_param<0>_type<1> = [FlickEvent,17,43,53]; @symbol_return<0> = [Lang,17,58,62]; @symbol_return<1> = [Boolean,17,63,70]; ]
|
|
function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_17_71_22_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 18 6 ]
|
|
symbol [ $ %tmp.1 18 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onFlick";
|
|
symbol [ kjr ? 18 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 19 6 ]
|
|
symbol [ System %tmp.4 19 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 19 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %flickEvent;
|
|
symbol [ flickEvent %tmp.6 19 21 31 ];
|
|
symbol [ getDirection %tmp.7 19 32 44 ];
|
|
%tmp.7 = getv function %tmp.6 :getDirection;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 20 6 ]
|
|
symbol [ WatchUi %tmp.9 20 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 20 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 21 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_17_71_22_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 23; @symbol_functiondef = [onHold,23,13,19]; @symbol_param<0> = [clickEvent,23,20,30]; @symbol_param<0>_type<0> = [WatchUi,23,34,41]; @symbol_param<0>_type<1> = [ClickEvent,23,42,52]; @symbol_return<0> = [Lang,23,57,61]; @symbol_return<1> = [Boolean,23,62,69]; ]
|
|
function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_23_70_28_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 24 6 ]
|
|
symbol [ $ %tmp.1 24 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onHold";
|
|
symbol [ kjr ? 24 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 25 6 ]
|
|
symbol [ System %tmp.4 25 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 25 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %clickEvent;
|
|
symbol [ clickEvent %tmp.6 25 21 31 ];
|
|
symbol [ getType %tmp.7 25 32 39 ];
|
|
%tmp.7 = getv function %tmp.6 :getType;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 26 6 ]
|
|
symbol [ WatchUi %tmp.9 26 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 26 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 27 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_23_70_28_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 29; @symbol_functiondef = [onKey,29,13,18]; @symbol_param<0> = [keyEvent,29,19,27]; @symbol_param<0>_type<0> = [WatchUi,29,31,38]; @symbol_param<0>_type<1> = [KeyEvent,29,39,47]; @symbol_return<0> = [Lang,29,52,56]; @symbol_return<1> = [Boolean,29,57,64]; ]
|
|
function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_29_65_34_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 30 6 ]
|
|
symbol [ $ %tmp.1 30 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onKey";
|
|
symbol [ kjr ? 30 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 31 6 ]
|
|
symbol [ System %tmp.4 31 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 31 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %keyEvent;
|
|
symbol [ keyEvent %tmp.6 31 21 29 ];
|
|
symbol [ getKey %tmp.7 31 30 36 ];
|
|
%tmp.7 = getv function %tmp.6 :getKey;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 32 6 ]
|
|
symbol [ WatchUi %tmp.9 32 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 32 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 33 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_29_65_34_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 35; @symbol_functiondef = [onKeyPressed,35,13,25]; @symbol_param<0> = [keyEvent,35,26,34]; @symbol_param<0>_type<0> = [WatchUi,35,38,45]; @symbol_param<0>_type<1> = [KeyEvent,35,46,54]; @symbol_return<0> = [Lang,35,59,63]; @symbol_return<1> = [Boolean,35,64,71]; ]
|
|
function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_35_72_40_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 36 6 ]
|
|
symbol [ $ %tmp.1 36 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onKeyPressed";
|
|
symbol [ kjr ? 36 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 37 6 ]
|
|
symbol [ System %tmp.4 37 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 37 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %keyEvent;
|
|
symbol [ keyEvent %tmp.6 37 21 29 ];
|
|
symbol [ getKey %tmp.7 37 30 36 ];
|
|
%tmp.7 = getv function %tmp.6 :getKey;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 38 6 ]
|
|
symbol [ WatchUi %tmp.9 38 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 38 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 39 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_35_72_40_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 41; @symbol_functiondef = [onKeyReleased,41,13,26]; @symbol_param<0> = [keyEvent,41,27,35]; @symbol_param<0>_type<0> = [WatchUi,41,39,46]; @symbol_param<0>_type<1> = [KeyEvent,41,47,55]; @symbol_return<0> = [Lang,41,60,64]; @symbol_return<1> = [Boolean,41,65,72]; ]
|
|
function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_41_73_46_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 42 6 ]
|
|
symbol [ $ %tmp.1 42 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onKeyReleased";
|
|
symbol [ kjr ? 42 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 43 6 ]
|
|
symbol [ System %tmp.4 43 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 43 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %keyEvent;
|
|
symbol [ keyEvent %tmp.6 43 21 29 ];
|
|
symbol [ getKey %tmp.7 43 30 36 ];
|
|
%tmp.7 = getv function %tmp.6 :getKey;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 44 6 ]
|
|
symbol [ WatchUi %tmp.9 44 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 44 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 45 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_41_73_46_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 47; @symbol_functiondef = [onRelease,47,13,22]; @symbol_param<0> = [clickEvent,47,23,33]; @symbol_param<0>_type<0> = [WatchUi,47,37,44]; @symbol_param<0>_type<1> = [ClickEvent,47,45,55]; @symbol_return<0> = [Lang,47,60,64]; @symbol_return<1> = [Boolean,47,65,72]; ]
|
|
function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_47_73_52_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 48 6 ]
|
|
symbol [ $ %tmp.1 48 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onRelease";
|
|
symbol [ kjr ? 48 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 49 6 ]
|
|
symbol [ System %tmp.4 49 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 49 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %clickEvent;
|
|
symbol [ clickEvent %tmp.6 49 21 31 ];
|
|
symbol [ getType %tmp.7 49 32 39 ];
|
|
%tmp.7 = getv function %tmp.6 :getType;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 50 6 ]
|
|
symbol [ WatchUi %tmp.9 50 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 50 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 51 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_47_73_52_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 53; @symbol_functiondef = [onSelectable,53,13,25]; @symbol_param<0> = [selectableEvent,53,26,41]; @symbol_param<0>_type<0> = [WatchUi,53,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,53,53,68]; @symbol_return<0> = [Lang,53,73,77]; @symbol_return<1> = [Boolean,53,78,85]; ]
|
|
function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_53_86_57_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 54 6 ]
|
|
symbol [ $ %tmp.1 54 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onSelectable";
|
|
symbol [ kjr ? 54 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 55 6 ]
|
|
symbol [ WatchUi %tmp.3 55 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 55 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 56 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_53_86_57_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 58; @symbol_functiondef = [onSwipe,58,13,20]; @symbol_param<0> = [swipeEvent,58,21,31]; @symbol_param<0>_type<0> = [WatchUi,58,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,58,43,53]; @symbol_return<0> = [Lang,58,58,62]; @symbol_return<1> = [Boolean,58,63,70]; ]
|
|
function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_58_71_63_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 59 6 ]
|
|
symbol [ $ %tmp.1 59 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onSwipe";
|
|
symbol [ kjr ? 59 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 60 6 ]
|
|
symbol [ System %tmp.4 60 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 60 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %swipeEvent;
|
|
symbol [ swipeEvent %tmp.6 60 21 31 ];
|
|
symbol [ getDirection %tmp.7 60 32 44 ];
|
|
%tmp.7 = getv function %tmp.6 :getDirection;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 61 6 ]
|
|
symbol [ WatchUi %tmp.9 61 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 61 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 62 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_58_71_63_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 64; @symbol_functiondef = [onTap,64,13,18]; @symbol_param<0> = [clickEvent,64,19,29]; @symbol_param<0>_type<0> = [WatchUi,64,33,40]; @symbol_param<0>_type<1> = [ClickEvent,64,41,51]; @symbol_return<0> = [Lang,64,56,60]; @symbol_return<1> = [Boolean,64,61,68]; ]
|
|
function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_64_69_69_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 65 6 ]
|
|
symbol [ $ %tmp.1 65 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onTap";
|
|
symbol [ kjr ? 65 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 66 6 ]
|
|
symbol [ System %tmp.4 66 6 12 ];
|
|
%tmp.4 = getv ? :System;
|
|
symbol [ println %tmp.5 66 13 20 ];
|
|
%tmp.5 = getv function %tmp.4 :println;
|
|
%tmp.6 = lgetv %clickEvent;
|
|
symbol [ clickEvent %tmp.6 66 21 31 ];
|
|
symbol [ getType %tmp.7 66 32 39 ];
|
|
%tmp.7 = getv function %tmp.6 :getType;
|
|
%tmp.8 = invoke %tmp.6 %tmp.7();
|
|
invoke %tmp.4 %tmp.5(%tmp.8);
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 67 6 ]
|
|
symbol [ WatchUi %tmp.9 67 6 13 ];
|
|
%tmp.9 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.10 67 14 27 ];
|
|
%tmp.10 = getv function %tmp.9 :requestUpdate;
|
|
invoke %tmp.9 %tmp.10();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 68 6 ]
|
|
%tmp.11 = true;
|
|
ret %tmp.11;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_64_69_69_4_stop:
|
|
}
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; @symbol_classdef = [MyBehaviorDelegate,72,6,24]; @symbol_extends<0> = [WatchUi,72,33,40]; @symbol_extends<1> = [BehaviorDelegate,72,41,57]; ]
|
|
class MyBehaviorDelegate extends WatchUi.BehaviorDelegate {
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ]
|
|
<init> {
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ]
|
|
static
|
|
<init> {
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,13,23]; ]
|
|
function initialize() as Void {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_74_26_76_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 75 8 ]
|
|
symbol [ BehaviorDelegate %tmp.2 75 8 24 ];
|
|
%tmp.2 = getv ? :BehaviorDelegate;
|
|
symbol [ initialize %tmp.3 75 25 35 ];
|
|
%tmp.3 = getv function %tmp.2 :initialize;
|
|
invoke %tmp.2 %tmp.3();
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_74_26_76_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 78; @symbol_functiondef = [onMenu,78,13,19]; @symbol_return<0> = [Boolean,78,25,32]; ]
|
|
function onMenu() as Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_78_33_82_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 79 6 ]
|
|
symbol [ $ %tmp.1 79 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "OnMenu";
|
|
symbol [ kjr ? 79 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 80 6 ]
|
|
symbol [ WatchUi %tmp.3 80 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 80 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 81 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_78_33_82_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 83; @symbol_functiondef = [onActionMenu,83,13,25]; @symbol_return<0> = [Boolean,83,31,38]; ]
|
|
function onActionMenu() as Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_83_39_87_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 84 6 ]
|
|
symbol [ $ %tmp.1 84 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onActionMenu";
|
|
symbol [ kjr ? 84 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 85 6 ]
|
|
symbol [ WatchUi %tmp.3 85 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 85 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 86 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_83_39_87_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 89; @symbol_functiondef = [onBack,89,13,19]; @symbol_return<0> = [Boolean,89,25,32]; ]
|
|
function onBack() as Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_89_33_93_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 90 6 ]
|
|
symbol [ $ %tmp.1 90 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onBack";
|
|
symbol [ kjr ? 90 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 91 6 ]
|
|
symbol [ WatchUi %tmp.3 91 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 91 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 92 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_89_33_93_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 95; @symbol_functiondef = [onNextMode,95,13,23]; @symbol_return<0> = [Lang,95,29,33]; @symbol_return<1> = [Boolean,95,34,41]; ]
|
|
function onNextMode() as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_95_42_99_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 96 6 ]
|
|
symbol [ $ %tmp.1 96 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onNextMode";
|
|
symbol [ kjr ? 96 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 97 6 ]
|
|
symbol [ WatchUi %tmp.3 97 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 97 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 98 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_95_42_99_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 101; @symbol_functiondef = [onNextPage,101,13,23]; @symbol_return<0> = [Lang,101,29,33]; @symbol_return<1> = [Boolean,101,34,41]; ]
|
|
function onNextPage() as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_101_42_105_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 102 6 ]
|
|
symbol [ $ %tmp.1 102 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onNextPage";
|
|
symbol [ kjr ? 102 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 103 6 ]
|
|
symbol [ WatchUi %tmp.3 103 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 103 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 104 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_101_42_105_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 107; @symbol_functiondef = [onPreviousMode,107,13,27]; @symbol_return<0> = [Lang,107,33,37]; @symbol_return<1> = [Boolean,107,38,45]; ]
|
|
function onPreviousMode() as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_107_46_111_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 108 6 ]
|
|
symbol [ $ %tmp.1 108 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onPreviousMode";
|
|
symbol [ kjr ? 108 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 109 6 ]
|
|
symbol [ WatchUi %tmp.3 109 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 109 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 110 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_107_46_111_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 113; @symbol_functiondef = [onPreviousPage,113,13,27]; @symbol_return<0> = [Lang,113,33,37]; @symbol_return<1> = [Boolean,113,38,45]; ]
|
|
function onPreviousPage() as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_113_46_117_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 114 6 ]
|
|
symbol [ $ %tmp.1 114 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onPreviousPage";
|
|
symbol [ kjr ? 114 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 115 6 ]
|
|
symbol [ WatchUi %tmp.3 115 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 115 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 116 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_113_46_117_4_stop:
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 119; @symbol_functiondef = [onSelect,119,13,21]; @symbol_return<0> = [Lang,119,27,31]; @symbol_return<1> = [Boolean,119,32,39]; ]
|
|
function onSelect() as Lang.Boolean {
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_119_39_123_4_start:
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 120 6 ]
|
|
symbol [ $ %tmp.1 120 6 7 ];
|
|
%tmp.1 = getm $;
|
|
%tmp.2 = "onSelect";
|
|
symbol [ kjr ? 120 8 11 ];
|
|
putv %tmp.1 :kjr %tmp.2;
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 121 6 ]
|
|
symbol [ WatchUi %tmp.3 121 6 13 ];
|
|
%tmp.3 = getm $.Toybox.WatchUi;
|
|
symbol [ requestUpdate %tmp.4 121 14 27 ];
|
|
%tmp.4 = getv function %tmp.3 :requestUpdate;
|
|
invoke %tmp.3 %tmp.4();
|
|
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 122 6 ]
|
|
%tmp.5 = true;
|
|
ret %tmp.5;
|
|
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_119_39_123_4_stop:
|
|
}
|
|
}
|
|
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 1; ]
|
|
<init> {
|
|
}
|