summaryrefslogtreecommitdiffstats
path: root/doc/parts/showWindow.svg
diff options
context:
space:
mode:
Diffstat (limited to 'doc/parts/showWindow.svg')
-rw-r--r--doc/parts/showWindow.svg34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/parts/showWindow.svg b/doc/parts/showWindow.svg
new file mode 100644
index 0000000..c860a85
--- /dev/null
+++ b/doc/parts/showWindow.svg
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="463px" preserveAspectRatio="none" style="width:708px;height:463px;" version="1.1" viewBox="0 0 708 463" width="708px" zoomAndPan="magnify"><defs><filter height="300%" id="f13h27mlk3us9l" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="327" x="191.75" y="24.5332">Application callback event showWindow phase</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="72" x2="72" y1="119.2188" y2="374.6797"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="166" x2="166" y1="119.2188" y2="374.6797"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="273.5" x2="273.5" y1="119.2188" y2="374.6797"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="332" x2="332" y1="119.2188" y2="374.6797"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="648.5" x2="648.5" y1="119.2188" y2="374.6797"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="28" x="55" y="116.1426">user</text><ellipse cx="72" cy="44.6094" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="8" ry="8" style="stroke: #A80036; stroke-width: 2.0;"/><path d="M72,52.6094 L72,79.6094 M59,60.6094 L85,60.6094 M72,79.6094 L59,94.6094 M72,79.6094 L85,94.6094 " fill="none" filter="url(#f13h27mlk3us9l)" style="stroke: #A80036; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="28" x="55" y="388.2129">user</text><ellipse cx="72" cy="401.2891" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="8" ry="8" style="stroke: #A80036; stroke-width: 2.0;"/><path d="M72,409.2891 L72,436.2891 M59,417.2891 L85,417.2891 M72,436.2891 L59,451.2891 M72,436.2891 L85,451.2891 " fill="none" filter="url(#f13h27mlk3us9l)" style="stroke: #A80036; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="128" x="99" y="116.1426">homescreen-service</text><ellipse cx="166" cy="85.6094" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="154" x2="178" y1="99.6094" y2="99.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="128" x="99" y="388.2129">homescreen-service</text><ellipse cx="166" cy="407.2891" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="154" x2="178" y1="421.2891" y2="421.2891"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="55" x="243.5" y="116.1426">launcher</text><ellipse cx="274" cy="85.6094" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="262" x2="286" y1="99.6094" y2="99.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="55" x="243.5" y="388.2129">launcher</text><ellipse cx="274" cy="407.2891" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="262" x2="286" y1="421.2891" y2="421.2891"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="25" x="316.5" y="116.1426">App</text><ellipse cx="332" cy="85.6094" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="320" x2="344" y1="99.6094" y2="99.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="25" x="316.5" y="388.2129">App</text><ellipse cx="332" cy="407.2891" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="320" x2="344" y1="421.2891" y2="421.2891"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="101" x="595.5" y="116.1426">windowmanager</text><ellipse cx="649" cy="85.6094" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="637" x2="661" y1="99.6094" y2="99.6094"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="101" x="595.5" y="388.2129">windowmanager</text><ellipse cx="649" cy="407.2891" fill="#FEFECE" filter="url(#f13h27mlk3us9l)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="637" x2="661" y1="421.2891" y2="421.2891"/><polygon fill="#A80036" points="262,147.2188,272,151.2188,262,155.2188,266,151.2188" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="72" x2="268" y1="151.2188" y2="151.2188"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="80" x="79" y="146.7139">tap app's icon</text><polygon fill="#A80036" points="177,177.5703,167,181.5703,177,185.5703,173,181.5703" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="171" x2="273" y1="181.5703" y2="181.5703"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="84" x="183" y="177.0654">showWindow()</text><path d="M8,194.9219 L8,220.9219 L486,220.9219 L486,204.9219 L476,194.9219 L8,194.9219 " fill="#FBFB77" filter="url(#f13h27mlk3us9l)" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M476,194.9219 L476,204.9219 L486,204.9219 L476,194.9219 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="457" x="14" y="213.417">{"application_id":"tapped application id", "parameter":{"area":"display area", ...}}</text><polygon fill="#A80036" points="320,248.2734,330,252.2734,320,256.2734,324,252.2734" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="166" x2="326" y1="252.2734" y2="252.2734"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="142" x="173" y="247.7686">push showWindow event</text><polygon fill="#A80036" points="637,278.625,647,282.625,637,286.625,641,282.625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="332" x2="643" y1="282.625" y2="282.625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="293" x="339" y="278.1201">activateWindow("application_name","display area")</text><polygon fill="#A80036" points="343,308.9766,333,312.9766,343,316.9766,339,312.9766" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="337" x2="648" y1="312.9766" y2="312.9766"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="123" x="349" y="308.4717">push syncDraw event</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="332" x2="374" y1="343.6797" y2="343.6797"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="374" x2="374" y1="343.6797" y2="356.6797"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="333" x2="374" y1="356.6797" y2="356.6797"/><polygon fill="#A80036" points="343,352.6797,333,356.6797,343,360.6797,339,356.6797" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="41" x="339" y="338.8232">display</text><!--
+@startuml
+
+title Application callback event showWindow phase
+
+actor user
+entity "homescreen-service" as hss
+entity launcher
+entity App
+entity windowmanager as wm
+
+user- ->launcher: tap app's icon
+launcher->hss: showWindow()
+note over hss,App
+{"application_id":"tapped application id", "parameter":{"area":"display area", ...}}
+end note
+hss->App: push showWindow event
+App->wm: activateWindow("application_name","display area")
+wm- ->App: push syncDraw event
+App->App: display
+
+@enduml
+
+PlantUML version 1.2018.01(Mon Jan 29 02:08:22 CST 2018)
+(GPL source distribution)
+Java Runtime: Java(TM) SE Runtime Environment
+JVM: Java HotSpot(TM) 64-Bit Server VM
+Java Version: 1.8.0_45-b15
+Operating System: Windows 7
+OS Version: 6.1
+Default Encoding: MS932
+Language: ja
+Country: JP
+--></g></svg> \ No newline at end of file