Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/view/
DPieMenu.java80 private Point mCenter; field in PieMenu
149 mCenter = new Point(0,0); in init()
187 return mCenter.x < mSlop; in onTheLeft()
234 mCenter.x = 0; in setCenter()
236 mCenter.x = getWidth(); in setCenter()
238 mCenter.y = y; in setCenter()
251 mPath = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, outer, inner, mCenter); in layoutPie()
262 int y = mCenter.y - (int) (r * Math.cos(angle)) - h / 2; in layoutPie()
264 x = mCenter.x + x - w / 2; in layoutPie()
266 x = mCenter.x - x - w / 2; in layoutPie()
[all …]
/packages/apps/Camera/src/com/android/camera/ui/
DPieRenderer.java75 private Point mCenter; field in PieRenderer
127 mListener.onPieOpened(mCenter.x, mCenter.y);
162 mCenter = new Point(0,0); in init()
273 mCenter.x = x; in setCenter()
274 mCenter.y = y; in setCenter()
302 outer, inner, mCenter); in layoutItems()
314 int y = mCenter.y - (int) (r * Math.sin(angle)) - h / 2; in layoutItems()
315 x = mCenter.x + x - w / 2; in layoutItems()
378 canvas.scale(sf, sf, mCenter.x, mCenter.y); in onDraw()
406 canvas.rotate(r, mCenter.x, mCenter.y); in drawItem()
[all …]
DPieItem.java39 private float mCenter; field in PieItem
64 mCenter = -1; in PieItem()
142 mCenter = center; in setFixedSlice()
147 return mCenter; in getCenter()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java358 private RelativePosition mCenter; field in SlotView.ScatteringAnimation
361 mCenter = center; in ScatteringAnimation()
367 (mCenter.getX() - target.centerX()) * (1 - mProgress), in apply()
368 (mCenter.getY() - target.centerY()) * (1 - mProgress), in apply()