Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/view/
DLivePointerIconButton.java49 int cursorSize = getHeight(); in onResolvePointerIcon() local
51 Bitmap bitmap = Bitmap.createBitmap(cursorSize, cursorSize, Bitmap.Config.ARGB_8888); in onResolvePointerIcon()
61 final int outerCenterX = cursorSize / 2; in onResolvePointerIcon()
62 final int outerCenterY = cursorSize / 2; in onResolvePointerIcon()
63 final int outerRadius = cursorSize / 2 - strokeWidth; in onResolvePointerIcon()
72 final int innerCenterX = (int) (cursorSize * (1 - relativeX) / 2); in onResolvePointerIcon()
73 final int innerCenterY = (int) (cursorSize * (1 - relativeY) / 2); in onResolvePointerIcon()
74 final int innerRadius = cursorSize / 6; in onResolvePointerIcon()