Searched refs:mRadius (Results 1 – 2 of 2) sorted by relevance
39 private double mRadius; field in ZoomControl74 mRadius = width * THUMB_RADIUS_CONTAINER_SIZE_RATIO; in onLayout()156 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); in onTouchEvent()157 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in onTouchEvent()160 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2)); in onTouchEvent()161 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha))); in onTouchEvent()164 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); in onTouchEvent()165 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in onTouchEvent()168 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha))); in onTouchEvent()169 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha))); in onTouchEvent()[all …]
81 private int mRadius; field in PieMenu142 mRadius = (int) res.getDimension(R.dimen.qc_radius_start); in init()244 int inner = mRadius + rgap; in layoutPie()245 int outer = mRadius + mRadiusInc - rgap; in layoutPie()409 int maxr = mRadius + mLevels * mRadiusInc + 50; in onTouchEvent()417 if (polar.y < mRadius) { in onTouchEvent()