Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java105 mView.mColorIndex = savedInstanceState.getInt("color", 0); in onCreate()
108 mView.mColorIndex = 0; in onCreate()
162 outState.putInt("color", mView.mColorIndex); in onSaveInstanceState()
244 int mColorIndex; field in TouchPaint.PaintView
288 mPaint.setColor(COLORS[mColorIndex]); in text()
444 mColorIndex = (mColorIndex + 1) % COLORS.length; in advanceColor()
462 mPaint.setColor(COLORS[mColorIndex]); in paint()
474 mPaint.setColor(COLORS[mColorIndex]); in paint()