Home | History | Annotate | Download | only in Launcher2

Lines Matching defs:cell

50 def print_intent(out, id, i, cell):
51 if cell:
53 cgi.escape(cell, True)
57 def print_icon(out, id, i, cell):
58 if cell:
62 f.write(cell)
65 def print_cell(out, id, i, cell):
66 if not cell is None:
67 out.write(cgi.escape(str(cell)))
74 def render_cell_info(out, cell, occupied):
75 if cell is None:
78 elif cell == occupied:
81 cellX = cell["cellX"]
82 cellY = cell["cellY"]
83 spanX = cell["spanX"]
84 spanY = cell["spanY"]
85 intent = cell["intent"]
87 title = "title=\"%s\"" % cgi.escape(cell["intent"], True)
95 itemType = cell["itemType"]
97 out.write("""<img src="icon_%d.png">\n""" % ( cell["_id"] ))
99 out.write(cgi.escape(cell["title"]) + " <br/><i>(app)</i>")
101 out.write("""<img src="icon_%d.png">\n""" % ( cell["_id"] ))
103 out.write(cgi.escape(cell["title"]) + " <br/><i>(shortcut)</i>")
109 out.write("<i>widget %d</i><br/>\n" % cell["appWidgetId"])
158 cell = row[i]
161 print_functions[i](out, row[0], row, cell)
180 for cell in hotseat:
181 render_cell_info(out, cell, None)
214 for cell in m:
215 render_cell_info(out, cell, occupied)