Lines Matching refs:out

50 def print_intent(out, id, i, cell):
52 out.write("""<span class="intent" title="%s">shortcut</span>""" % (
57 def print_icon(out, id, i, cell):
60 out.write("""<img src="%s">""" % ( icon_fn ))
65 def print_cell(out, id, i, cell):
67 out.write(cgi.escape(str(cell)))
74 def render_cell_info(out, cell, occupied):
76 out.write(" <td width=%d height=%d></td>\n" %
90 out.write((" <td colspan=%d rowspan=%d width=%d height=%d"
97 out.write("""<img src="icon_%d.png">\n""" % ( cell["_id"] ))
98 out.write("<br/>\n")
99 out.write(cgi.escape(cell["title"]) + " <br/><i>(app)</i>")
101 out.write("""<img src="icon_%d.png">\n""" % ( cell["_id"] ))
102 out.write("<br/>\n")
103 out.write(cgi.escape(cell["title"]) + " <br/><i>(shortcut)</i>")
105 out.write("""<i>folder</i>""")
107 out.write("""<i>live folder</i>""")
109 out.write("<i>widget %d</i><br/>\n" % cell["appWidgetId"])
111 out.write("""<i>clock</i>""")
113 out.write("""<i>search</i>""")
115 out.write("""<i>photo frame</i>""")
117 out.write("<b>unknown type: %d</b>" % itemType)
118 out.write("</td>\n")
126 out = file(INDEX_FILE, "w")
127 out.write("""<html>
139 out.write("<b>Favorites table</b><br/>\n")
140 out.write("""<html>
149 out.write(""" <th>%s</th>
151 out.write("""
155 out.write("""<tr>
160 out.write(""" <td>""")
161 print_functions[i](out, row[0], row, cell)
162 out.write("""</td>
164 out.write("""</tr>
166 out.write("""</table>
178 out.write("<br/><b>Hotseat</b><br/>\n")
179 out.write("<table class=layout border=1 cellspacing=0 cellpadding=4>\n")
181 render_cell_info(out, cell, None)
182 out.write("</table>\n")
210 out.write("<br/><b>Screen %d</b><br/>\n" % i)
211 out.write("<table class=layout border=1 cellspacing=0 cellpadding=4>\n")
213 out.write(" <tr>\n")
215 render_cell_info(out, cell, occupied)
216 out.write("</tr>\n")
217 out.write("</table>\n")
220 out.write("""
225 out.close()