@ -0,0 +1,17 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<projectDescription> |
||||||
|
<name>SnapshotWatch</name> |
||||||
|
<comment></comment> |
||||||
|
<projects> |
||||||
|
</projects> |
||||||
|
<buildSpec> |
||||||
|
<buildCommand> |
||||||
|
<name>connectiq.builder</name> |
||||||
|
<arguments> |
||||||
|
</arguments> |
||||||
|
</buildCommand> |
||||||
|
</buildSpec> |
||||||
|
<natures> |
||||||
|
<nature>connectiq.projectNature</nature> |
||||||
|
</natures> |
||||||
|
</projectDescription> |
@ -0,0 +1 @@ |
|||||||
|
{"settings":[{"key":"showHeartRate","valueType":"boolean","defaultValue":true,"configTitle":"ShowHeartRateLabel","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"showDigitalTime","valueType":"boolean","defaultValue":false,"configTitle":"ShowDigitalTimeLabel","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"boolean","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null},{"key":"digitalTimeOffset","valueType":"number","defaultValue":0,"configTitle":"DigitalTimeOffsetLabel","configPrompt":null,"configHelpUrl":null,"configError":null,"configType":"numeric","configReadonly":false,"configRequired":false,"configOptions":null,"configMin":null,"configMax":null,"configMaxLength":null}],"languages":{"valyrian":{"ShowDigitalTimeLabel":"Show digital time","DigitalTimeOffsetLabel":"Digital time offset (integer, +-24)","ShowHeartRateLabel":"Show heart rate graph and cur/min/max values","AppName":"SnapshotWatch"}}} |
@ -0,0 +1,560 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||||
|
<debugInfo> |
||||||
|
<pcToLineNum> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="54" pc="268435456" symbol="initialize"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="55" pc="268435460" symbol="initialize"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="56" pc="268435469" symbol="initialize"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="59" pc="268435479" symbol="fromJulian"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="60" pc="268435483" symbol="fromJulian"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="63" pc="268435537" symbol="round"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="64" pc="268435541" symbol="round"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="65" pc="268435552" symbol="round"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="67" pc="268435582" symbol="round"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="72" pc="268435610" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="73" pc="268435614" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="74" pc="268435669" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="75" pc="268435700" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="77" pc="268435742" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="78" pc="268435785" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="79" pc="268435813" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="80" pc="268435844" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="81" pc="268435947" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="82" pc="268435987" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="83" pc="268436024" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="84" pc="268436076" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="85" pc="268436131" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="86" pc="268436141" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="89" pc="268436154" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="90" pc="268436168" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="93" pc="268436191" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="95" pc="268436303" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="96" pc="268436328" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="99" pc="268436333" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="101" pc="268436388" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="102" pc="268436431" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="103" pc="268436445" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="106" pc="268436462" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SunCalc.mc" lineNum="108" pc="268436484" symbol="calculate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="34" pc="268436499" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="37" pc="268436503" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="38" pc="268436522" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="41" pc="268436541" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="43" pc="268436559" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="44" pc="268436576" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="46" pc="268436620" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="48" pc="268436673" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="52" pc="268436698" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="56" pc="268436733" symbol="onLayout"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="61" pc="268436771" symbol="onShow"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="65" pc="268436776" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="67" pc="268436780" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="68" pc="268436791" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="69" pc="268436830" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="70" pc="268436869" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="73" pc="268436911" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="75" pc="268436922" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="76" pc="268436975" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="80" pc="268437003" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="84" pc="268437019" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="87" pc="268437036" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="89" pc="268437068" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="91" pc="268437106" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="92" pc="268437113" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="93" pc="268437120" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="95" pc="268437127" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="98" pc="268437138" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="99" pc="268437181" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="101" pc="268437188" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="102" pc="268437204" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="104" pc="268437220" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="105" pc="268437236" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="107" pc="268437252" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="108" pc="268437265" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="109" pc="268437278" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="111" pc="268437291" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="113" pc="268437327" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="114" pc="268437334" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="115" pc="268437341" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="116" pc="268437348" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="118" pc="268437355" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="119" pc="268437386" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="121" pc="268437420" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="122" pc="268437420" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="123" pc="268437427" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="124" pc="268437434" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="125" pc="268437456" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="126" pc="268437456" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="128" pc="268437456" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="130" pc="268437460" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="132" pc="268437475" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="133" pc="268437482" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="135" pc="268437489" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="138" pc="268437495" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="140" pc="268437516" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="141" pc="268437520" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="145" pc="268437527" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="147" pc="268437544" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="148" pc="268437557" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="150" pc="268437564" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="151" pc="268437574" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="153" pc="268437581" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="155" pc="268437592" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="156" pc="268437596" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="160" pc="268437603" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="161" pc="268437611" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="163" pc="268437618" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="164" pc="268437626" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="169" pc="268437636" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="170" pc="268437658" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="171" pc="268437677" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="177" pc="268437687" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="182" pc="268437694" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="183" pc="268437702" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="186" pc="268437712" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="188" pc="268437734" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="189" pc="268437771" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="190" pc="268437805" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="192" pc="268437833" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="206" pc="268437878" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="207" pc="268437892" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="209" pc="268437930" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="212" pc="268437941" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="214" pc="268437977" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="215" pc="268437988" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="217" pc="268438083" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="219" pc="268438206" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="220" pc="268438206" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="221" pc="268438231" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="223" pc="268438241" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="224" pc="268438289" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="229" pc="268438360" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="230" pc="268438396" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="233" pc="268438410" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="235" pc="268438421" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="236" pc="268438457" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="240" pc="268438476" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="242" pc="268438500" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="245" pc="268438560" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="247" pc="268438590" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="250" pc="268438650" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="252" pc="268438674" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="255" pc="268438734" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="257" pc="268438764" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="258" pc="268438771" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="260" pc="268438801" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="263" pc="268438811" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="264" pc="268438913" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="268" pc="268438991" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="269" pc="268439008" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="271" pc="268439018" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="272" pc="268439025" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="273" pc="268439036" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="275" pc="268439046" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="278" pc="268439177" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="279" pc="268439194" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="280" pc="268439204" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="281" pc="268439214" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="282" pc="268439303" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="285" pc="268439392" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="286" pc="268439428" symbol="onUpdate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="292" pc="268439443" symbol="onExitSleep"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="293" pc="268439447" symbol="onExitSleep"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="298" pc="268439458" symbol="onEnterSleep"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="299" pc="268439462" symbol="onEnterSleep"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="300" pc="268439472" symbol="onEnterSleep"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="305" pc="268439485" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="307" pc="268439489" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="309" pc="268439515" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="311" pc="268439515" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="312" pc="268439531" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="314" pc="268439547" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="316" pc="268439558" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="317" pc="268439568" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="318" pc="268439578" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="319" pc="268439588" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="320" pc="268439598" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="321" pc="268439608" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="322" pc="268439618" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="326" pc="268439631" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="327" pc="268439641" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="328" pc="268439651" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="329" pc="268439661" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="330" pc="268439671" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="331" pc="268439681" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="332" pc="268439691" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="335" pc="268439701" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="345" pc="268440265" symbol="drawHand"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="350" pc="268440280" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="352" pc="268440284" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="355" pc="268440284" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="356" pc="268440303" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="357" pc="268440332" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="358" pc="268440370" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="361" pc="268440408" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="362" pc="268440418" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="363" pc="268440441" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="364" pc="268440479" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="367" pc="268440517" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="368" pc="268440528" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="369" pc="268440557" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="370" pc="268440609" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="374" pc="268440664" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="375" pc="268440696" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="376" pc="268440741" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="377" pc="268440769" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="378" pc="268440814" symbol="drawHands"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="382" pc="268440860" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="384" pc="268440864" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="386" pc="268440890" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="387" pc="268440906" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="389" pc="268440922" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="390" pc="268440930" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="391" pc="268440949" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="393" pc="268440968" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="400" pc="268441172" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="402" pc="268441190" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="403" pc="268441221" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="404" pc="268441252" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="407" pc="268441302" symbol="drawHash"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="413" pc="268441317" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="416" pc="268441321" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="418" pc="268441339" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="420" pc="268441350" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="422" pc="268441389" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="424" pc="268441462" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="428" pc="268441535" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="430" pc="268441561" symbol="drawHashMarks"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="436" pc="268441648" symbol="drawDate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="438" pc="268441652" symbol="drawDate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="439" pc="268441696" symbol="drawDate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="441" pc="268441772" symbol="drawDate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="443" pc="268441783" symbol="drawDate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="447" pc="268441858" symbol="drawDate"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="452" pc="268441931" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="455" pc="268441935" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="457" pc="268441954" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="459" pc="268441965" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="463" pc="268441989" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="466" pc="268442002" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="467" pc="268442009" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="469" pc="268442020" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="472" pc="268442030" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="473" pc="268442119" symbol="drawDigitalTime"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="478" pc="268442207" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="480" pc="268442211" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="481" pc="268442235" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="482" pc="268442235" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="484" pc="268442235" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="485" pc="268442258" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="487" pc="268442265" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="488" pc="268442299" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="492" pc="268442336" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="493" pc="268442374" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="494" pc="268442409" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="495" pc="268442447" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="501" pc="268442482" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="503" pc="268442499" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="504" pc="268442499" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="506" pc="268442499" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="507" pc="268442551" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="508" pc="268442596" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="510" pc="268442641" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="511" pc="268442672" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="513" pc="268442703" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="514" pc="268442710" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="516" pc="268442727" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="519" pc="268442737" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="520" pc="268442832" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="522" pc="268442910" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="523" pc="268442917" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="525" pc="268442934" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="528" pc="268442944" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="529" pc="268443039" symbol="drawSunriseSunset"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="536" pc="268443121" symbol="to12hourFormat"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="538" pc="268443125" symbol="to12hourFormat"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="539" pc="268443135" symbol="to12hourFormat"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="540" pc="268443146" symbol="to12hourFormat"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchView.mc" lineNum="543" pc="268443156" symbol="to12hourFormat"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchApp.mc" lineNum="5" pc="268443161" symbol="initialize"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchApp.mc" lineNum="6" pc="268443165" symbol="initialize"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchApp.mc" lineNum="10" pc="268443184" symbol="onStart"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchApp.mc" lineNum="14" pc="268443189" symbol="onStop"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchApp.mc" lineNum="18" pc="268443194" symbol="getInitialView"/> |
||||||
|
<entry filename="/Users/dcroton/Documents/Eclipse/SnapshotWatch/source/SnapshotWatchApp.mc" lineNum="19" pc="268443198" symbol="getInitialView"/> |
||||||
|
<entry filename="Rez" lineNum="25" pc="268443236" symbol="WatchFace"/> |
||||||
|
</pcToLineNum> |
||||||
|
<symbolTable> |
||||||
|
<entry field="true" id="42" symbol="showDigitalTime"/> |
||||||
|
<entry id="8389719" method="true" symbol="round"/> |
||||||
|
<entry field="true" id="23" symbol="NUM_RESULTS"/> |
||||||
|
<entry field="true" id="9" symbol="NAUTICAL_DAWN"/> |
||||||
|
<entry id="8389124" method="true" symbol="onUpdate"/> |
||||||
|
<entry id="59" symbol="DAYS"/> |
||||||
|
<entry field="true" id="37" symbol="DigitalTimeOffsetLabel"/> |
||||||
|
<entry field="true" id="11" symbol="BLUE_HOUR_AM"/> |
||||||
|
<entry field="true" id="10" symbol="DAWN"/> |
||||||
|
<entry id="56" method="true" symbol="to12hourFormat"/> |
||||||
|
<entry id="8388631" symbol="Activity"/> |
||||||
|
<entry field="true" id="12" symbol="SUNRISE"/> |
||||||
|
<entry field="true" id="8388611" symbol="Toybox"/> |
||||||
|
<entry id="8388645" symbol="Time"/> |
||||||
|
<entry id="53" method="true" symbol="drawDate"/> |
||||||
|
<entry field="true" id="33" symbol="AlarmIcon"/> |
||||||
|
<entry id="8388893" symbol="PI"/> |
||||||
|
<entry id="50" method="true" symbol="drawHands"/> |
||||||
|
<entry id="8388770" module="true" symbol="Strings"/> |
||||||
|
<entry field="true" id="16" symbol="GOLDEN_HOUR_PM"/> |
||||||
|
<entry id="8388643" symbol="Sensor"/> |
||||||
|
<entry id="27" object="true" symbol="SnapshotWatchView"/> |
||||||
|
<entry id="58" symbol="PI2"/> |
||||||
|
<entry id="8389280" method="true" symbol="getInitialView"/> |
||||||
|
<entry id="8389377" method="true" symbol="onExitSleep"/> |
||||||
|
<entry id="62" symbol="J0"/> |
||||||
|
<entry id="8388640" symbol="Lang"/> |
||||||
|
<entry id="63" symbol="TIMES"/> |
||||||
|
<entry id="75" method="true" symbol="fromJulian"/> |
||||||
|
<entry id="8388769" module="true" symbol="Rez"/> |
||||||
|
<entry id="8389123" method="true" symbol="onShow"/> |
||||||
|
<entry field="true" id="72" symbol="sin2L"/> |
||||||
|
<entry field="true" id="31" symbol="BluetoothIcon"/> |
||||||
|
<entry id="24" object="true" symbol="SunCalc"/> |
||||||
|
<entry field="true" id="14" symbol="GOLDEN_HOUR_AM"/> |
||||||
|
<entry id="51" method="true" symbol="drawHash"/> |
||||||
|
<entry field="true" id="8" symbol="NIGHT_END"/> |
||||||
|
<entry id="8388702" method="true" symbol="initialize"/> |
||||||
|
<entry field="true" id="39" symbol="AppName"/> |
||||||
|
<entry field="true" id="46" symbol="width_screen"/> |
||||||
|
<entry field="true" id="26" symbol="LON"/> |
||||||
|
<entry id="8389375" method="true" symbol="WatchFace"/> |
||||||
|
<entry id="49" method="true" symbol="drawHand"/> |
||||||
|
<entry field="true" id="47" symbol="height_screen"/> |
||||||
|
<entry field="true" id="69" symbol="sinM"/> |
||||||
|
<entry field="true" id="38" symbol="ShowHeartRateLabel"/> |
||||||
|
<entry field="true" id="36" symbol="ShowDigitalTimeLabel"/> |
||||||
|
<entry field="true" id="22" symbol="NIGHT"/> |
||||||
|
<entry field="true" id="40" symbol="usePreferences"/> |
||||||
|
<entry id="8388641" symbol="Math"/> |
||||||
|
<entry id="76" method="true" symbol="calculate"/> |
||||||
|
<entry id="8389809" symbol="order"/> |
||||||
|
<entry field="true" id="35" symbol="LauncherIcon"/> |
||||||
|
<entry field="true" id="74" symbol="Jnoon"/> |
||||||
|
<entry id="8389281" method="true" symbol="onStop"/> |
||||||
|
<entry field="true" id="25" symbol="LAT"/> |
||||||
|
<entry id="8388771" module="true" symbol="Drawables"/> |
||||||
|
<entry id="8389122" method="true" symbol="onLayout"/> |
||||||
|
<entry id="55" method="true" symbol="drawSunriseSunset"/> |
||||||
|
<entry id="54" method="true" symbol="drawDigitalTime"/> |
||||||
|
<entry id="8389279" method="true" symbol="onStart"/> |
||||||
|
<entry field="true" id="34" symbol="MuteIcon"/> |
||||||
|
<entry field="true" id="18" symbol="SUNSET"/> |
||||||
|
<entry id="8389376" method="true" symbol="onEnterSleep"/> |
||||||
|
<entry field="true" id="73" symbol="dec"/> |
||||||
|
<entry field="true" id="43" symbol="digitalTimeOffset"/> |
||||||
|
<entry id="57" symbol="RAD"/> |
||||||
|
<entry id="52" method="true" symbol="drawHashMarks"/> |
||||||
|
<entry field="true" id="45" symbol="background_color"/> |
||||||
|
<entry id="28" object="true" symbol="SnapshotWatchApp"/> |
||||||
|
<entry id="60" symbol="J1970"/> |
||||||
|
<entry field="true" id="64" symbol="lastD"/> |
||||||
|
<entry field="true" id="13" symbol="SUNRISE_END"/> |
||||||
|
<entry id="30" module="true" symbol="Layouts"/> |
||||||
|
<entry field="true" id="41" symbol="showHeartRate"/> |
||||||
|
<entry field="true" id="15" symbol="NOON"/> |
||||||
|
<entry field="true" id="21" symbol="NAUTICAL_DUSK"/> |
||||||
|
<entry field="true" id="48" symbol="hashMarksArray"/> |
||||||
|
<entry field="true" id="32" symbol="NotificationIcon"/> |
||||||
|
<entry field="true" id="20" symbol="DUSK"/> |
||||||
|
<entry id="29" module="true" symbol="Menus"/> |
||||||
|
<entry id="61" symbol="J2000"/> |
||||||
|
<entry field="true" id="44" symbol="showSeconds"/> |
||||||
|
<entry field="true" id="67" symbol="ds"/> |
||||||
|
<entry field="true" id="19" symbol="BLUE_HOUR_PM"/> |
||||||
|
<entry id="8388772" module="true" symbol="Fonts"/> |
||||||
|
<entry field="true" id="66" symbol="n"/> |
||||||
|
<entry field="true" id="65" symbol="lastLng"/> |
||||||
|
<entry field="true" id="17" symbol="SUNSET_START"/> |
||||||
|
<entry field="true" id="68" symbol="M"/> |
||||||
|
<entry field="true" id="71" symbol="L"/> |
||||||
|
<entry field="true" id="70" symbol="C"/> |
||||||
|
</symbolTable> |
||||||
|
<localVars> |
||||||
|
<entry endPc="268436498" name="x" stackId="6" startPc="268435614"/> |
||||||
|
<entry endPc="268436498" name="ds" stackId="7" startPc="268435614"/> |
||||||
|
<entry endPc="268436498" name="Jrise" stackId="9" startPc="268435614"/> |
||||||
|
<entry endPc="268436498" name="Jset" stackId="8" startPc="268435614"/> |
||||||
|
<entry endPc="268436498" name="d" stackId="5" startPc="268435614"/> |
||||||
|
<entry endPc="268436733" name="i" stackId="2" startPc="268436559"/> |
||||||
|
<entry endPc="268437853" name="height" stackId="22" startPc="268437734"/> |
||||||
|
<entry endPc="268437853" name="yVal" stackId="24" startPc="268437734"/> |
||||||
|
<entry endPc="268437853" name="xVal" stackId="23" startPc="268437734"/> |
||||||
|
<entry endPc="268437872" name="i" stackId="21" startPc="268437475"/> |
||||||
|
<entry endPc="268437872" name="totHeight" stackId="9" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="totBins" stackId="12" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="finished" stackId="20" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="maxSecs" stackId="8" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="heartSecs" stackId="14" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="heartBinMin" stackId="19" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="lastHeartSecs" stackId="17" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="secsBin" stackId="16" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="binPixels" stackId="11" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="binWidthSecs" stackId="13" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="heartBinMax" stackId="18" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="totWidth" stackId="10" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="heartValue" stackId="15" startPc="268437188"/> |
||||||
|
<entry endPc="268437872" name="heart" stackId="7" startPc="268437188"/> |
||||||
|
<entry endPc="268437875" name="sample" stackId="6" startPc="268437138"/> |
||||||
|
<entry endPc="268438357" name="heartMinMaxString" stackId="25" startPc="268437941"/> |
||||||
|
<entry endPc="268438988" name="offset" stackId="26" startPc="268438764"/> |
||||||
|
<entry endPc="268439442" name="systemStats" stackId="27" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="heartMin" stackId="4" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="clockTime" stackId="2" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="offset" stackId="29" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="heartMax" stackId="5" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="battery" stackId="28" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="stepsInfo" stackId="30" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="steps" stackId="31" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="goal" stackId="32" startPc="268436780"/> |
||||||
|
<entry endPc="268439442" name="heartNow" stackId="3" startPc="268436780"/> |
||||||
|
<entry endPc="268440279" name="r4" stackId="10" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="r3" stackId="9" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="length" stackId="6" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="r2" stackId="8" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="r1" stackId="7" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="centerY" stackId="14" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="centerX" stackId="13" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="deflect2" stackId="12" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="deflect1" stackId="11" startPc="268439489"/> |
||||||
|
<entry endPc="268440279" name="coords" stackId="15" startPc="268439489"/> |
||||||
|
<entry endPc="268440859" name="hour" stackId="5" startPc="268440284"/> |
||||||
|
<entry endPc="268440859" name="min" stackId="6" startPc="268440284"/> |
||||||
|
<entry endPc="268440859" name="sec" stackId="7" startPc="268440284"/> |
||||||
|
<entry endPc="268441289" name="x" stackId="14" startPc="268441190"/> |
||||||
|
<entry endPc="268441289" name="y" stackId="15" startPc="268441190"/> |
||||||
|
<entry endPc="268441302" name="i" stackId="13" startPc="268441190"/> |
||||||
|
<entry endPc="268441316" name="result" stackId="9" startPc="268440864"/> |
||||||
|
<entry endPc="268441316" name="sin" stackId="11" startPc="268440864"/> |
||||||
|
<entry endPc="268441316" name="coords" stackId="12" startPc="268440864"/> |
||||||
|
<entry endPc="268441316" name="cos" stackId="10" startPc="268440864"/> |
||||||
|
<entry endPc="268441316" name="centerY" stackId="8" startPc="268440864"/> |
||||||
|
<entry endPc="268441316" name="centerX" stackId="7" startPc="268440864"/> |
||||||
|
<entry endPc="268441647" name="i" stackId="2" startPc="268441339"/> |
||||||
|
<entry endPc="268441930" name="dateStr" stackId="3" startPc="268441652"/> |
||||||
|
<entry endPc="268441930" name="info" stackId="2" startPc="268441652"/> |
||||||
|
<entry endPc="268442206" name="offsetHour" stackId="3" startPc="268441935"/> |
||||||
|
<entry endPc="268442206" name="ampm" stackId="4" startPc="268441935"/> |
||||||
|
<entry endPc="268442206" name="timeString" stackId="5" startPc="268441935"/> |
||||||
|
<entry endPc="268443117" name="now" stackId="8" startPc="268442499"/> |
||||||
|
<entry endPc="268443117" name="ampm" stackId="6" startPc="268442499"/> |
||||||
|
<entry endPc="268443117" name="timeInfoSunrise" stackId="11" startPc="268442499"/> |
||||||
|
<entry endPc="268443117" name="timeInfoSunset" stackId="12" startPc="268442499"/> |
||||||
|
<entry endPc="268443117" name="timeString" stackId="7" startPc="268442499"/> |
||||||
|
<entry endPc="268443117" name="sunrise_moment" stackId="9" startPc="268442499"/> |
||||||
|
<entry endPc="268443117" name="sunset_moment" stackId="10" startPc="268442499"/> |
||||||
|
<entry endPc="268443120" name="lat" stackId="3" startPc="268442211"/> |
||||||
|
<entry endPc="268443120" name="loc" stackId="5" startPc="268442211"/> |
||||||
|
<entry endPc="268443120" name="lon" stackId="4" startPc="268442211"/> |
||||||
|
<entry endPc="268443120" name="sc" stackId="2" startPc="268442211"/> |
||||||
|
<entry endPc="268443159" name="hour12" stackId="2" startPc="268443125"/> |
||||||
|
</localVars> |
||||||
|
<annotations/> |
||||||
|
<functions> |
||||||
|
<functionEntry name="initialize" parent="SunCalc"> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="fromJulian" parent="SunCalc"> |
||||||
|
<param id="j"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="round" parent="SunCalc"> |
||||||
|
<param id="a"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="calculate" parent="SunCalc"> |
||||||
|
<param id="moment"/> |
||||||
|
<param id="lat"/> |
||||||
|
<param id="lng"/> |
||||||
|
<param id="what"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="onLayout" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<documentation><![CDATA[<div class="description"> Load your resources here<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="onShow" parent="SnapshotWatchView"> |
||||||
|
<documentation><![CDATA[<div class="description"> Restore the state of the app and prepare the view to be shown<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="onUpdate" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<documentation><![CDATA[<div class="description"> Update the view<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="onExitSleep" parent="SnapshotWatchView"> |
||||||
|
<documentation><![CDATA[<div class="description"> The user has just looked at their watch. Timers and animations may be started here.<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="onEnterSleep" parent="SnapshotWatchView"> |
||||||
|
<documentation><![CDATA[<div class="description"> Terminate any active timers and prepare for slow updates.<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="drawHand" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<param id="angle"/> |
||||||
|
<param id="whichHand"/> |
||||||
|
<param id="width"/> |
||||||
|
<param id="handColour"/> |
||||||
|
<documentation><![CDATA[<div class="description"> Draw the watch hand<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="drawHands" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<param id="clock_hour"/> |
||||||
|
<param id="clock_min"/> |
||||||
|
<param id="clock_sec"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="drawHash" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<param id="angle"/> |
||||||
|
<param id="length"/> |
||||||
|
<param id="width"/> |
||||||
|
<param id="overheadLine"/> |
||||||
|
<param id="handColour"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="drawHashMarks" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<documentation><![CDATA[<div class="description"> Draw the hash mark symbols<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="drawDate" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="drawDigitalTime" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<param id="clockTime"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="drawSunriseSunset" parent="SnapshotWatchView"> |
||||||
|
<param id="dc"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="to12hourFormat" parent="SnapshotWatchView"> |
||||||
|
<param id="hour"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="initialize" parent="SnapshotWatchApp"> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="onStart" parent="SnapshotWatchApp"> |
||||||
|
<param id="state"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="onStop" parent="SnapshotWatchApp"> |
||||||
|
<param id="state"/> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="getInitialView" parent="SnapshotWatchApp"> |
||||||
|
<documentation/> |
||||||
|
</functionEntry> |
||||||
|
<functionEntry name="WatchFace" parent="Layouts"> |
||||||
|
<param id="dc"/> |
||||||
|
<documentation><![CDATA[<div class="description"> Draw the layout<br/> param The context<br/></div>]]></documentation> |
||||||
|
</functionEntry> |
||||||
|
</functions> |
||||||
|
</debugInfo> |
@ -0,0 +1,16 @@ |
|||||||
|
<!-- This is a generated file. It is highly recommended that you DO NOT edit this file. --><iq:manifest xmlns:iq="http://www.garmin.com/xml/connectiq" version="3"> |
||||||
|
<iq:application entry="SnapshotWatchApp" id="EF2FE48AF12046249A94C9AAD45E2A6B" launcherIcon="@Drawables.LauncherIcon" minSdkVersion="1.4.0" name="@Strings.AppName" type="watchface"> |
||||||
|
|
||||||
|
<iq:products> |
||||||
|
<iq:product id="fr235"/> |
||||||
|
<iq:product id="fr735xt"/> |
||||||
|
</iq:products> |
||||||
|
|
||||||
|
<iq:permissions> |
||||||
|
<iq:uses-permission id="SensorHistory"/> |
||||||
|
</iq:permissions> |
||||||
|
|
||||||
|
<iq:languages/> |
||||||
|
|
||||||
|
</iq:application> |
||||||
|
</iq:manifest> |
After Width: | Height: | Size: 374 B |
After Width: | Height: | Size: 399 B |
After Width: | Height: | Size: 442 B |
After Width: | Height: | Size: 457 B |
After Width: | Height: | Size: 484 B |
After Width: | Height: | Size: 262 B |
After Width: | Height: | Size: 220 B |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 284 B |
After Width: | Height: | Size: 297 B |
@ -0,0 +1,7 @@ |
|||||||
|
<drawables> |
||||||
|
<bitmap id="LauncherIcon" filename="launcher_icon.png" /> |
||||||
|
<bitmap id="BluetoothIcon" filename="bluetooth-2-13.png" dithering="none" /> |
||||||
|
<bitmap id="NotificationIcon" filename="speech-bubble-12.png" dithering="none" /> |
||||||
|
<bitmap id="AlarmIcon" filename="alarm-clock-12.png" dithering="none" /> |
||||||
|
<bitmap id="MuteIcon" filename="mute-2-12.png" dithering="none" /> |
||||||
|
</drawables> |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 269 B |
After Width: | Height: | Size: 314 B |
After Width: | Height: | Size: 252 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 303 B |
After Width: | Height: | Size: 308 B |
After Width: | Height: | Size: 285 B |
@ -0,0 +1,27 @@ |
|||||||
|
<resources> |
||||||
|
|
||||||
|
<properties> |
||||||
|
<property id="showHeartRate" type="boolean">true</property> |
||||||
|
<property id="showDigitalTime" type="boolean">false</property> |
||||||
|
<property id="digitalTimeOffset" type="number">0</property> |
||||||
|
</properties> |
||||||
|
|
||||||
|
<strings> |
||||||
|
<string id="ShowHeartRateLabel">Show heart rate graph and cur/min/max values</string> |
||||||
|
<string id="ShowDigitalTimeLabel">Show digital time</string> |
||||||
|
<string id="DigitalTimeOffsetLabel">Digital time offset (integer, +-24)</string> |
||||||
|
</strings> |
||||||
|
|
||||||
|
<settings> |
||||||
|
<setting propertyKey="@Properties.showHeartRate" title="@Strings.ShowHeartRateLabel"> |
||||||
|
<settingConfig type="boolean" /> |
||||||
|
</setting> |
||||||
|
<setting propertyKey="@Properties.showDigitalTime" title="@Strings.ShowDigitalTimeLabel"> |
||||||
|
<settingConfig type="boolean" /> |
||||||
|
</setting> |
||||||
|
<setting propertyKey="@Properties.digitalTimeOffset" title="@Strings.DigitalTimeOffsetLabel"> |
||||||
|
<settingConfig type="numeric" /> |
||||||
|
</setting> |
||||||
|
</settings> |
||||||
|
|
||||||
|
</resources> |
@ -0,0 +1,3 @@ |
|||||||
|
<strings> |
||||||
|
<string id="AppName">SnapshotWatch</string> |
||||||
|
</strings> |
@ -0,0 +1,22 @@ |
|||||||
|
using Toybox.Application as App; |
||||||
|
|
||||||
|
class SnapshotWatchApp extends App.AppBase { |
||||||
|
|
||||||
|
function initialize() { |
||||||
|
AppBase.initialize(); |
||||||
|
} |
||||||
|
|
||||||
|
// onStart() is called on application start up |
||||||
|
function onStart(state) { |
||||||
|
} |
||||||
|
|
||||||
|
// onStop() is called when your application is exiting |
||||||
|
function onStop(state) { |
||||||
|
} |
||||||
|
|
||||||
|
// Return the initial view of your application here |
||||||
|
function getInitialView() { |
||||||
|
return [ new SnapshotWatchView() ]; |
||||||
|
} |
||||||
|
|
||||||
|
} |
@ -0,0 +1,547 @@ |
|||||||
|
using Toybox.Graphics as Gfx; |
||||||
|
using Toybox.System as Sys; |
||||||
|
using Toybox.Lang as Lang; |
||||||
|
using Toybox.Math as Math; |
||||||
|
using Toybox.Time as Time; |
||||||
|
using Toybox.Time.Gregorian as Calendar; |
||||||
|
using Toybox.WatchUi as Ui; |
||||||
|
using Toybox.Application as App; |
||||||
|
using Toybox.ActivityMonitor as ActMon; |
||||||
|
using Toybox.SensorHistory as Sensor; |
||||||
|
using Toybox.Activity as Activity; |
||||||
|
|
||||||
|
enum |
||||||
|
{ |
||||||
|
LAT, |
||||||
|
LON |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
class SnapshotWatchView extends Ui.WatchFace { |
||||||
|
|
||||||
|
var usePreferences = true; |
||||||
|
var showHeartRate = true; |
||||||
|
var showDigitalTime = false; |
||||||
|
var digitalTimeOffset = 0; |
||||||
|
|
||||||
|
var showSeconds = true; |
||||||
|
var background_color = Gfx.COLOR_BLACK; |
||||||
|
var width_screen, height_screen; |
||||||
|
var hashMarksArray = new [60]; |
||||||
|
|
||||||
|
|
||||||
|
//! Load your resources here |
||||||
|
function onLayout(dc) { |
||||||
|
|
||||||
|
//get screen dimensions |
||||||
|
width_screen = dc.getWidth(); |
||||||
|
height_screen = dc.getHeight(); |
||||||
|
|
||||||
|
//get hash marks position |
||||||
|
for(var i = 0; i < 60; i+=1) |
||||||
|
{ |
||||||
|
hashMarksArray[i] = new [2]; |
||||||
|
hashMarksArray[i][0] = (i / 60.0) * Math.PI * 2; |
||||||
|
|
||||||
|
if(i != 0 && i != 15 && i != 30 && i != 45) |
||||||
|
{ |
||||||
|
hashMarksArray[i][1] = -85; |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
hashMarksArray[i][1] = -67; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
setLayout(Rez.Layouts.WatchFace(dc)); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
//! Restore the state of the app and prepare the view to be shown |
||||||
|
function onShow() { |
||||||
|
} |
||||||
|
|
||||||
|
//! Update the view |
||||||
|
function onUpdate(dc) { |
||||||
|
|
||||||
|
if (usePreferences) { |
||||||
|
showHeartRate = Application.getApp().getProperty("showHeartRate"); |
||||||
|
showDigitalTime = Application.getApp().getProperty("showDigitalTime"); |
||||||
|
digitalTimeOffset = Application.getApp().getProperty("digitalTimeOffset"); |
||||||
|
} |
||||||
|
|
||||||
|
if (showDigitalTime) |
||||||
|
{ |
||||||
|
if (digitalTimeOffset != null && digitalTimeOffset <= 24 && digitalTimeOffset >= -24) { |
||||||
|
digitalTimeOffset = digitalTimeOffset.toNumber(); |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
digitalTimeOffset = 0; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
var clockTime = Sys.getClockTime(); |
||||||
|
|
||||||
|
// Clear screen |
||||||
|
dc.setColor(background_color, Gfx.COLOR_WHITE); |
||||||
|
// dc.setColor(Gfx.COLOR_DK_GRAY, Gfx.COLOR_DK_GRAY); |
||||||
|
dc.fillRectangle(0,0, width_screen, height_screen); |
||||||
|
|
||||||
|
var heartNow = 0; |
||||||
|
var heartMin = 0; |
||||||
|
var heartMax = 0; |
||||||
|
|
||||||
|
if (showHeartRate) |
||||||
|
{ |
||||||
|
// Plot heart rate graph |
||||||
|
var sample = Sensor.getHeartRateHistory( {:order=>Sensor.ORDER_NEWEST_FIRST} ); |
||||||
|
if (sample != null) |
||||||
|
{ |
||||||
|
if (sample.getMin() != null) |
||||||
|
{ heartMin = sample.getMin(); } |
||||||
|
|
||||||
|
if (sample.getMax() != null) |
||||||
|
{ heartMax = sample.getMax(); } |
||||||
|
|
||||||
|
var heart = sample.next(); |
||||||
|
if (heart.data != null) |
||||||
|
{ heartNow = heart.data; } |
||||||
|
|
||||||
|
dc.setColor(Gfx.COLOR_DK_GREEN, Gfx.COLOR_TRANSPARENT); |
||||||
|
|
||||||
|
var maxSecs = 14355;//14400; //4 hours |
||||||
|
var totHeight = 44; |
||||||
|
var totWidth = 165; |
||||||
|
var binPixels = 1; |
||||||
|
|
||||||
|
var totBins = Math.ceil(totWidth / binPixels).toNumber(); |
||||||
|
var binWidthSecs = Math.floor(binPixels * maxSecs / totWidth).toNumber(); |
||||||
|
|
||||||
|
var heartSecs; |
||||||
|
var heartValue = 0; |
||||||
|
var secsBin = 0; |
||||||
|
var lastHeartSecs = sample.getNewestSampleTime().value(); |
||||||
|
var heartBinMax; |
||||||
|
var heartBinMin; |
||||||
|
|
||||||
|
var finished = false; |
||||||
|
|
||||||
|
for (var i = 0; i < totBins; ++i) { |
||||||
|
|
||||||
|
heartBinMax = 0; |
||||||
|
heartBinMin = 0; |
||||||
|
|
||||||
|
if (!finished) |
||||||
|
{ |
||||||
|
//deal with carryover values |
||||||
|
if (secsBin > 0 && heartValue != null) |
||||||
|
{ |
||||||
|
heartBinMax = heartValue; |
||||||
|
heartBinMin = heartValue; |
||||||
|
} |
||||||
|
|
||||||
|
//deal with new values in this bin |
||||||
|
while (!finished && secsBin < binWidthSecs) |
||||||
|
{ |
||||||
|
heart = sample.next(); |
||||||
|
if (heart != null) |
||||||
|
{ |
||||||
|
heartValue = heart.data; |
||||||
|
if (heartValue != null) |
||||||
|
{ |
||||||
|
if (heartBinMax == 0) |
||||||
|
{ |
||||||
|
heartBinMax = heartValue; |
||||||
|
heartBinMin = heartValue; |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
if (heartValue > heartBinMax) |
||||||
|
{ heartBinMax = heartValue; } |
||||||
|
|
||||||
|
if (heartValue < heartBinMin) |
||||||
|
{ heartBinMin = heartValue; } |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// keep track of time in this bin |
||||||
|
heartSecs = lastHeartSecs - heart.when.value(); |
||||||
|
lastHeartSecs = heart.when.value(); |
||||||
|
secsBin += heartSecs; |
||||||
|
|
||||||
|
// Sys.println(i + ": " + heartValue + " " + heartSecs + " " + secsBin + " " + heartBinMin + " " + heartBinMax); |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
finished = true; |
||||||
|
} |
||||||
|
|
||||||
|
} // while secsBin < binWidthSecs |
||||||
|
|
||||||
|
if (secsBin >= binWidthSecs) |
||||||
|
{ secsBin -= binWidthSecs; } |
||||||
|
|
||||||
|
// only plot bar if we have valid values |
||||||
|
if (heartBinMax > 0 && heartBinMax >= heartBinMin) |
||||||
|
{ |
||||||
|
var height = ((heartBinMax+heartBinMin)/2-heartMin*0.9) / (heartMax-heartMin*0.9) * totHeight; |
||||||
|
var xVal = (width_screen-totWidth)/2 + totWidth - i*binPixels -2; |
||||||
|
var yVal = height_screen/2+28 + totHeight - height; |
||||||
|
|
||||||
|
dc.fillRectangle(xVal, yVal, binPixels, height); |
||||||
|
|
||||||
|
// Sys.println(i + ": " + binWidthSecs + " " + secsBin + " " + heartBinMin + " " + heartBinMax); |
||||||
|
} |
||||||
|
|
||||||
|
} // if !finished |
||||||
|
|
||||||
|
} // loop over all bins |
||||||
|
|
||||||
|
} // if sample != null |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
// First draw hash marks the analogue time hands |
||||||
|
drawHashMarks(dc); |
||||||
|
drawHands(dc, clockTime.hour, clockTime.min, clockTime.sec); |
||||||
|
|
||||||
|
if (showHeartRate) |
||||||
|
{ |
||||||
|
// Now show HR information (calculated above) |
||||||
|
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_TRANSPARENT); |
||||||
|
|
||||||
|
if (heartNow == 0) |
||||||
|
{ dc.drawText(width_screen/2, height_screen/2 + 20, Gfx.FONT_SMALL, "-- bpm", Graphics.TEXT_JUSTIFY_CENTER|Graphics.TEXT_JUSTIFY_VCENTER); } |
||||||
|
else |
||||||
|
{ dc.drawText(width_screen/2, height_screen/2 + 20, Gfx.FONT_SMALL, Lang.format("$1$ bpm", [heartNow]), Graphics.TEXT_JUSTIFY_CENTER|Graphics.TEXT_JUSTIFY_VCENTER); } |
||||||
|
|
||||||
|
var heartMinMaxString; |
||||||
|
if (heartMin == 0 || heartMax == 0) |
||||||
|
{ heartMinMaxString = "-- / -- bpm"; } |
||||||
|
else |
||||||
|
{ heartMinMaxString = Lang.format("$1$ / $2$ bpm", [heartMin, heartMax]); } |
||||||
|
dc.drawText(width_screen/2, height_screen - 19, Gfx.FONT_SMALL, heartMinMaxString, Graphics.TEXT_JUSTIFY_CENTER); |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
// Date |
||||||
|
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_TRANSPARENT); |
||||||
|
drawDate(dc); |
||||||
|
|
||||||
|
// Digital time |
||||||
|
if (showDigitalTime) |
||||||
|
{ |
||||||
|
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_TRANSPARENT); |
||||||
|
drawDigitalTime(dc, clockTime); |
||||||
|
} |
||||||
|
|
||||||
|
// BT, alarm, notification, and do not disturb icons |
||||||
|
if (Sys.getDeviceSettings().phoneConnected) |
||||||
|
{ |
||||||
|
dc.drawBitmap(39, 6, Ui.loadResource(Rez.Drawables.BluetoothIcon)); |
||||||
|
} |
||||||
|
|
||||||
|
if (Sys.getDeviceSettings().alarmCount > 0) |
||||||
|
{ |
||||||
|
dc.drawBitmap(25, 23, Ui.loadResource(Rez.Drawables.AlarmIcon)); |
||||||
|
} |
||||||
|
|
||||||
|
if (Sys.getDeviceSettings().doNotDisturb) |
||||||
|
{ |
||||||
|
dc.drawBitmap(10, 49, Ui.loadResource(Rez.Drawables.MuteIcon)); |
||||||
|
} |
||||||
|
|
||||||
|
if (Sys.getDeviceSettings().notificationCount > 0) |
||||||
|
{ |
||||||
|
var offset = 0; |
||||||
|
if (Sys.getDeviceSettings().notificationCount >= 10) |
||||||
|
{ |
||||||
|
offset = 6; |
||||||
|
} |
||||||
|
|
||||||
|
dc.drawText(width_screen/2+16+offset, 7, Gfx.FONT_SMALL, Sys.getDeviceSettings().notificationCount, Graphics.TEXT_JUSTIFY_RIGHT|Graphics.TEXT_JUSTIFY_VCENTER); |
||||||
|
dc.drawBitmap(width_screen/2+18+offset, 2, Ui.loadResource(Rez.Drawables.NotificationIcon)); |
||||||
|
} |
||||||
|
|
||||||
|
// Battery |
||||||
|
var systemStats = Sys.getSystemStats(); |
||||||
|
var battery = systemStats.battery; |
||||||
|
|
||||||
|
var offset = 0; |
||||||
|
if (battery == 100) |
||||||
|
{ offset = 6; } |
||||||
|
|
||||||
|
dc.drawText(width_screen/2-33-offset, 7, Gfx.FONT_SMALL, Lang.format("$1$%", [battery.format("%2d")]), Graphics.TEXT_JUSTIFY_LEFT|Graphics.TEXT_JUSTIFY_VCENTER); |
||||||
|
|
||||||
|
// Steps |
||||||
|
var stepsInfo = ActMon.getInfo(); |
||||||
|
var steps = stepsInfo.steps; |
||||||
|
var goal = stepsInfo.stepGoal; |
||||||
|
dc.drawText(width_screen-4, height_screen/2 - 14, Gfx.FONT_SMALL, steps, Graphics.TEXT_JUSTIFY_RIGHT|Graphics.TEXT_JUSTIFY_VCENTER); |
||||||
|
dc.drawText(width_screen-4, height_screen/2 + 11, Gfx.FONT_SMALL, goal, Graphics.TEXT_JUSTIFY_RIGHT|Graphics.TEXT_JUSTIFY_VCENTER); |
||||||
|
|
||||||
|
// Sunrise & sunset |
||||||
|
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_TRANSPARENT); |
||||||
|
drawSunriseSunset(dc); |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
//! The user has just looked at their watch. Timers and animations may be started here. |
||||||
|
function onExitSleep() { |
||||||
|
showSeconds = true; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
//! Terminate any active timers and prepare for slow updates. |
||||||
|
function onEnterSleep() { |
||||||
|
showSeconds = false; |
||||||
|
requestUpdate(); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
//! Draw the watch hand |
||||||
|
function drawHand(dc, angle, whichHand, width, handColour) |
||||||
|
{ |
||||||
|
dc.setColor(handColour, Gfx.COLOR_TRANSPARENT); |
||||||
|
|
||||||
|
var length, r1, r2, r3, r4, deflect1, deflect2; |
||||||
|
|
||||||
|
var centerX = width_screen/2; |
||||||
|
var centerY = height_screen/2; |
||||||
|
|
||||||
|
if (whichHand == 0) //hour hand |
||||||
|
{ |
||||||
|
length = 0.6*centerX; |
||||||
|
r1 = 0.0*length; |
||||||
|
r2 = 0.39*length; |
||||||
|
r3 = 0.49*length; |
||||||
|
r4 = 1.1*length; |
||||||
|
deflect1 = 0.10*width; |
||||||
|
deflect2 = 0.08*width; |
||||||
|
} |
||||||
|
else //minute hand |
||||||
|
{ |
||||||
|
length = 1.0*centerX; |
||||||
|
r1 = 0.0*length; |
||||||
|
r2 = 0.37*length; |
||||||
|
r3 = 0.47*length; |
||||||
|
r4 = 1.2*length; |
||||||
|
deflect1 = 0.10*width; |
||||||
|
deflect2 = 0.08*width; |
||||||
|
} |
||||||
|
|
||||||
|
var coords = [ |
||||||
|
[centerX + r1 * Math.sin(angle) , centerY - r1 * Math.cos(angle)], |
||||||
|
[centerX + r2 * Math.sin(angle+deflect1) , centerY - r2 * Math.cos(angle+deflect1)], |
||||||
|
[centerX + r3 * Math.sin(angle+deflect2) , centerY - r3 * Math.cos(angle+deflect2)], |
||||||
|
[centerX + r4 * Math.sin(angle) , centerY - r4 * Math.cos(angle)], |
||||||
|
[centerX + r3 * Math.sin(angle-deflect2) , centerY - r3 * Math.cos(angle-deflect2)], |
||||||
|
[centerX + r2 * Math.sin(angle-deflect1) , centerY - r2 * Math.cos(angle-deflect1)], |
||||||
|
[centerX + r1 * Math.sin(angle) , centerY - r1 * Math.cos(angle)] |
||||||
|
]; |
||||||
|
|
||||||
|
dc.fillPolygon(coords); |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
function drawHands(dc, clock_hour, clock_min, clock_sec) |
||||||
|
{ |
||||||
|
var hour, min, sec; |
||||||
|
|
||||||
|
// Draw the hour. Convert it to minutes and compute the angle. |
||||||
|
hour = ( ( ( clock_hour % 12 ) * 60 ) + clock_min ); // hour = 2*60.0; |
||||||
|
hour = hour / (12 * 60.0) * Math.PI * 2; |
||||||
|
drawHand(dc, hour, 0, 2.0, Gfx.COLOR_DK_BLUE); |
||||||
|
drawHand(dc, hour, 0, 1.6, Gfx.COLOR_LT_GRAY); |
||||||
|
|
||||||
|
// Draw the minute |
||||||
|
min = ( clock_min / 60.0); // min = 40/60.0; |
||||||
|
min = min * Math.PI * 2; |
||||||
|
drawHand(dc, min, 1, 1.2, Gfx.COLOR_DK_BLUE); |
||||||
|
drawHand(dc, min, 1, 1.0, Gfx.COLOR_LT_GRAY); |
||||||
|
|
||||||
|
// Draw the seconds (use hash graphic here) |
||||||
|
if(showSeconds){ |
||||||
|
sec = ( clock_sec / 60.0) * Math.PI * 2; |
||||||
|
drawHash(dc, sec, width_screen/2, 4, 25, Gfx.COLOR_DK_BLUE); |
||||||
|
drawHash(dc, sec, width_screen/2, 2, 25, Gfx.COLOR_LT_GRAY); |
||||||
|
} |
||||||
|
|
||||||
|
// Draw the inner circle |
||||||
|
dc.setColor(Gfx.COLOR_DK_GRAY, background_color); |
||||||
|
dc.fillCircle(width_screen/2, height_screen/2, 6); |
||||||
|
dc.setColor(background_color,background_color); |
||||||
|
dc.drawCircle(width_screen/2, height_screen/2, 6); |
||||||
|
dc.fillCircle(width_screen/2, height_screen/2, 2); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
function drawHash(dc, angle, length, width, overheadLine, handColour) |
||||||
|
{ |
||||||
|
dc.setColor(handColour, Gfx.COLOR_TRANSPARENT); |
||||||
|
|
||||||
|
var centerX = width_screen/2; |
||||||
|
var centerY = height_screen/2; |
||||||
|
|
||||||
|
var result = new [4]; |
||||||
|
var cos = Math.cos(angle); |
||||||
|
var sin = Math.sin(angle); |
||||||
|
|
||||||
|
var coords = [ |
||||||
|
[-(width/2), 0 + overheadLine], |
||||||
|
[-(width/2), -length], |
||||||
|
[width/2, -length], |
||||||
|
[width/2, 0 + overheadLine] |
||||||
|
]; |
||||||
|
|
||||||
|
for (var i = 0; i < 4; i += 1) |
||||||
|
{ |
||||||
|
var x = (coords[i][0] * cos) - (coords[i][1] * sin); |
||||||
|
var y = (coords[i][0] * sin) + (coords[i][1] * cos); |
||||||
|
result[i] = [ centerX + x, centerY + y]; |
||||||
|
} |
||||||
|
|
||||||
|
dc.fillPolygon(result); |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
//! Draw the hash mark symbols |
||||||
|
function drawHashMarks(dc) |
||||||
|
{ |
||||||
|
|
||||||
|
for(var i = 0; i < 60; i += 5) |
||||||
|
{ |
||||||
|
if(i != 30) |
||||||
|
{ |
||||||
|
if(i != 0 && i != 15 && i != 45) |
||||||
|
{ |
||||||
|
drawHash(dc, hashMarksArray[i][0], 110, 3, hashMarksArray[i][1], Gfx.COLOR_WHITE); |
||||||
|
} else { |
||||||
|
drawHash(dc, hashMarksArray[i][0], 110, 5, hashMarksArray[i][1], Gfx.COLOR_WHITE); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
if(!showHeartRate && i == 30) |
||||||
|
{ |
||||||
|
drawHash(dc, hashMarksArray[i][0], 110, 5, hashMarksArray[i][1], Gfx.COLOR_WHITE); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
function drawDate(dc) |
||||||
|
{ |
||||||
|
var info = Calendar.info(Time.now(), Time.FORMAT_LONG); |
||||||
|
var dateStr = Lang.format("$1$ $2$ $3$", [info.day_of_week, info.month, info.day]); |
||||||
|
|
||||||
|
if (showDigitalTime) |
||||||
|
{ |
||||||
|
dc.drawText(width_screen/2, height_screen/2 - 60, Gfx.FONT_MEDIUM, dateStr, Gfx.TEXT_JUSTIFY_CENTER); |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
dc.drawText(width_screen/2, height_screen/2 - 55, Gfx.FONT_MEDIUM, dateStr, Gfx.TEXT_JUSTIFY_CENTER); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
function drawDigitalTime(dc, clockTime) |
||||||
|
{ |
||||||
|
|
||||||
|
var offsetHour = clockTime.hour + digitalTimeOffset; |
||||||
|
|
||||||
|
if (offsetHour > 23) |
||||||
|
{ |
||||||
|
offsetHour -= 24; |
||||||
|
} |
||||||
|
else if (offsetHour < 0) |
||||||
|
{ |
||||||
|
offsetHour += 24; |
||||||
|
} |
||||||
|
|
||||||
|
var ampm = "am"; |
||||||
|
if (offsetHour >= 12) |
||||||
|
{ |
||||||
|
ampm = "pm"; |
||||||
|
} |
||||||
|
|
||||||
|
var timeString = Lang.format("$1$:$2$$3$", [to12hourFormat(offsetHour), clockTime.min.format("%02d"), ampm]); |
||||||
|
dc.drawText(width_screen/2, height_screen/2 - 30, Gfx.FONT_SMALL, timeString, Gfx.TEXT_JUSTIFY_CENTER|Graphics.TEXT_JUSTIFY_VCENTER); |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
function drawSunriseSunset(dc) |
||||||
|
{ |
||||||
|
var sc = new SunCalc(); |
||||||
|
var lat; |
||||||
|
var lon; |
||||||
|
|
||||||
|
var loc = Activity.getActivityInfo().currentLocation; |
||||||
|
if (loc == null) |
||||||
|
{ |
||||||
|
lat = App.getApp().getProperty(LAT); |
||||||
|
lon = App.getApp().getProperty(LON); |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
lat = loc.toDegrees()[0] * Math.PI / 180.0; |
||||||
|
App.getApp().setProperty(LAT, lat); |
||||||
|
lon = loc.toDegrees()[1] * Math.PI / 180.0; |
||||||
|
App.getApp().setProperty(LON, lon); |
||||||
|
} |
||||||
|
|
||||||
|
// lat = -37.81400 * Math.PI / 180.0; |
||||||
|
// lon = 144.96332 * Math.PI / 180.0; |
||||||
|
|
||||||
|
if(lat != null && lon != null) |
||||||
|
{ |
||||||
|
var ampm; |
||||||
|
var timeString; |
||||||
|
|
||||||
|
var now = new Time.Moment(Time.now().value()); |
||||||
|
var sunrise_moment = sc.calculate(now, lat.toDouble(), lon.toDouble(), SUNRISE); |
||||||
|
var sunset_moment = sc.calculate(now, lat.toDouble(), lon.toDouble(), SUNSET); |
||||||
|
|
||||||
|
var timeInfoSunrise = Calendar.info(sunrise_moment, Time.FORMAT_SHORT); |
||||||
|
var timeInfoSunset = Calendar.info(sunset_moment, Time.FORMAT_SHORT); |
||||||
|
|
||||||
|
ampm = "a"; |
||||||
|
if (timeInfoSunrise.hour >= 12) |
||||||
|
{ |
||||||
|
ampm = "p"; |
||||||
|
} |
||||||
|
|
||||||
|
timeString = Lang.format("$1$:$2$$3$", [to12hourFormat(timeInfoSunrise.hour), timeInfoSunrise.min.format("%02d"), ampm]); |
||||||
|
dc.drawText(3, height_screen/2 - 14, Gfx.FONT_SMALL, timeString, Gfx.TEXT_JUSTIFY_LEFT|Graphics.TEXT_JUSTIFY_VCENTER); |
||||||
|
|
||||||
|
ampm = "a"; |
||||||
|
if (timeInfoSunset.hour >= 12) |
||||||
|
{ |
||||||
|
ampm = "p"; |
||||||
|
} |
||||||
|
|
||||||
|
timeString = Lang.format("$1$:$2$$3$", [to12hourFormat(timeInfoSunset.hour), timeInfoSunset.min.format("%02d"), ampm]); |
||||||
|
dc.drawText(3, height_screen/2 + 11, Gfx.FONT_SMALL, timeString, Gfx.TEXT_JUSTIFY_LEFT|Graphics.TEXT_JUSTIFY_VCENTER); |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
function to12hourFormat(hour) |
||||||
|
{ |
||||||
|
var hour12 = hour % 12; |
||||||
|
if (hour12 == 0) { |
||||||
|
hour12 = 12; |
||||||
|
} |
||||||
|
|
||||||
|
return hour12; |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
@ -0,0 +1,110 @@ |
|||||||
|
using Toybox.Math as Math; |
||||||
|
using Toybox.Time as Time; |
||||||
|
|
||||||
|
enum { |
||||||
|
NIGHT_END, |
||||||
|
NAUTICAL_DAWN, |
||||||
|
DAWN, |
||||||
|
BLUE_HOUR_AM, |
||||||
|
SUNRISE, |
||||||
|
SUNRISE_END, |
||||||
|
GOLDEN_HOUR_AM, |
||||||
|
NOON, |
||||||
|
GOLDEN_HOUR_PM, |
||||||
|
SUNSET_START, |
||||||
|
SUNSET, |
||||||
|
BLUE_HOUR_PM, |
||||||
|
DUSK, |
||||||
|
NAUTICAL_DUSK, |
||||||
|
NIGHT, |
||||||
|
NUM_RESULTS |
||||||
|
} |
||||||
|
|
||||||
|
class SunCalc { |
||||||
|
|
||||||
|
hidden const PI = Math.PI, |
||||||
|
RAD = Math.PI / 180.0, |
||||||
|
PI2 = Math.PI * 2.0, |
||||||
|
DAYS = Time.Gregorian.SECONDS_PER_DAY, |
||||||
|
J1970 = 2440588, |
||||||
|
J2000 = 2451545, |
||||||
|
J0 = 0.0009; |
||||||
|
|
||||||
|
hidden const TIMES = [ |
||||||
|
-18 * RAD, |
||||||
|
-12 * RAD, |
||||||
|
-6 * RAD, |
||||||
|
-4 * RAD, |
||||||
|
-0.833 * RAD, |
||||||
|
-0.3 * RAD, |
||||||
|
6 * RAD, |
||||||
|
null, |
||||||
|
6 * RAD, |
||||||
|
-0.3 * RAD, |
||||||
|
-0.833 * RAD, |
||||||
|
-4 * RAD, |
||||||
|
-6 * RAD, |
||||||
|
-12 * RAD, |
||||||
|
-18 * RAD |
||||||
|
]; |
||||||
|
|
||||||
|
var lastD, lastLng; |
||||||
|
var n, ds, M, sinM, C, L, sin2L, dec, Jnoon; |
||||||
|
|
||||||
|
function initialize() { |
||||||
|
lastD = null; |
||||||
|
lastLng = null; |
||||||
|
} |
||||||
|
|
||||||
|
function fromJulian(j) { |
||||||
|
return new Time.Moment((j + 0.5 - J1970) * DAYS); |
||||||
|
} |
||||||
|
|
||||||
|
function round(a) { |
||||||
|
if (a > 0) { |
||||||
|
return (a + 0.5).toNumber().toFloat(); |
||||||
|
} else { |
||||||
|
return (a - 0.5).toNumber().toFloat(); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// lat and lng in radians |
||||||
|
function calculate(moment, lat, lng, what) { |
||||||
|
var d = moment.value().toDouble() / DAYS - 0.5 + J1970 - J2000; |
||||||
|
if (lastD != d || lastLng != lng) { |
||||||
|
n = round(d - J0 + lng / PI2); |
||||||
|
// ds = J0 - lng / PI2 + n; |
||||||
|
ds = J0 - lng / PI2 + n - 1.1574e-5 * 68; |
||||||
|
M = 6.240059967 + 0.0172019715 * ds; |
||||||
|
sinM = Math.sin(M); |
||||||
|
C = (1.9148 * sinM + 0.02 * Math.sin(2 * M) + 0.0003 * Math.sin(3 * M)) * RAD; |
||||||
|
L = M + C + 1.796593063 + PI; |
||||||
|
sin2L = Math.sin(2 * L); |
||||||
|
dec = Math.asin( 0.397783703 * Math.sin(L) ); |
||||||
|
Jnoon = J2000 + ds + 0.0053 * sinM - 0.0069 * sin2L; |
||||||
|
lastD = d; |
||||||
|
lastLng = lng; |
||||||
|
} |
||||||
|
|
||||||
|
if (what == NOON) { |
||||||
|
return fromJulian(Jnoon); |
||||||
|
} |
||||||
|
|
||||||
|
var x = (Math.sin(TIMES[what]) - Math.sin(lat) * Math.sin(dec)) / (Math.cos(lat) * Math.cos(dec)); |
||||||
|
|
||||||
|
if (x > 1.0 || x < -1.0) { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
var ds = J0 + (Math.acos(x) - lng) / PI2 + n - 1.1574e-5 * 68; |
||||||
|
|
||||||
|
var Jset = J2000 + ds + 0.0053 * sinM - 0.0069 * sin2L; |
||||||
|
if (what > NOON) { |
||||||
|
return fromJulian(Jset); |
||||||
|
} |
||||||
|
|
||||||
|
var Jrise = Jnoon - (Jset - Jnoon); |
||||||
|
|
||||||
|
return fromJulian(Jrise); |
||||||
|
} |
||||||
|
} |