Home
last modified time | relevance | path

Searched refs:DY (Results 1 – 1 of 1) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTextAlign.java40 private static final int DY = 30; field in TextAlign.SampleView
98 canvas.drawLine(x, y, x, y+DY*3, p); in onDraw()
101 canvas.translate(0, DY); in onDraw()
105 canvas.translate(0, DY); in onDraw()
109 canvas.translate(0, DY); in onDraw()
113 canvas.translate(100, DY*2); in onDraw()
119 canvas.drawLine(pos[i*2+0], pos[i*2+1]-DY, in onDraw()
120 pos[i*2+0], pos[i*2+1]+DY*2, p); in onDraw()
127 canvas.translate(0, DY); in onDraw()
131 canvas.translate(0, DY); in onDraw()
[all …]