Home
last modified time | relevance | path

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

/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java74 private static final int MARGIN = 4; field in GameView
219 mDstRect.offsetTo(MARGIN+x, MARGIN+y); in onDraw()
248 canvas.drawLine(x7 + MARGIN, y, x7 + s3 - 1 - MARGIN, y, mWinPaint); in onDraw()
252 canvas.drawLine(x, y7 + MARGIN, x, y7 + s3 - 1 - MARGIN, mWinPaint); in onDraw()
257 canvas.drawLine(x7 + MARGIN, y7 + MARGIN, in onDraw()
258 x7 + s3 - 1 - MARGIN, y7 + s3 - 1 - MARGIN, mWinPaint); in onDraw()
263 canvas.drawLine(x7 + MARGIN, y7 + s3 - 1 - MARGIN, in onDraw()
264 x7 + s3 - 1 - MARGIN, y7 + MARGIN, mWinPaint); in onDraw()
281 int sx = (w - 2 * MARGIN) / 3;
282 int sy = (h - 2 * MARGIN) / 3;
[all …]