Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java312 int curH = mBitmap != null ? mBitmap.getHeight() : 0; in onSizeChanged() local
313 if (curW >= w && curH >= h) { in onSizeChanged()
318 if (curH < h) curH = h; in onSizeChanged()
320 Bitmap newBitmap = Bitmap.createBitmap(curW, curH, Bitmap.Config.ARGB_8888); in onSizeChanged()
361 final int curH = mBitmap != null ? mBitmap.getHeight() : 0; in moveTrackball() local
364 mCurY = Math.max(Math.min(mCurY + deltaY, curH - 1), 0); in moveTrackball()