Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DCustomArrayAdapter.java128 int halfHeight = bitmap.getHeight() / 2; in getCroppedBitmap() local
130 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint); in getCroppedBitmap()
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DCustomArrayAdapter.java121 int halfHeight = bitmap.getHeight()/2; in getCroppedBitmap() local
123 canvas.drawCircle(halfWidth, halfHeight, Math.max(halfWidth, halfHeight), paint); in getCroppedBitmap()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java241 final int halfHeight = height / 2; in calculateInSampleSize() local
246 while ((halfHeight / inSampleSize) > reqHeight in calculateInSampleSize()