Searched refs:mCirclePosition (Results 1 – 1 of 1) sorted by relevance
63 private final Point mCirclePosition = new Point(); field in SampleWallpaper.MySampleEngine113 mCirclePosition.x = (int) event.getX(); in onTouchEvent()114 mCirclePosition.y = (int) event.getY(); in onTouchEvent()146 canvas.drawCircle(mCirclePosition.x, mCirclePosition.y, in draw()160 boolean invertX = mCirclePosition.x < 0 in invertCircleDirectionIfNeeded()161 || mCirclePosition.x > mDisplayMetrics.widthPixels; in invertCircleDirectionIfNeeded()162 boolean invertY = mCirclePosition.y < 0 in invertCircleDirectionIfNeeded()163 || mCirclePosition.y > mDisplayMetrics.heightPixels; in invertCircleDirectionIfNeeded()168 mCircleDirectionX = mCirclePosition.x < 0; in invertCircleDirectionIfNeeded()171 mCircleDirectionY = mCirclePosition.y < 0; in invertCircleDirectionIfNeeded()[all …]