Home
last modified time | relevance | path

Searched refs:mCenter (Results 1 – 2 of 2) 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/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java359 private RelativePosition mCenter; field in SlotView.ScatteringAnimation
362 mCenter = center; in ScatteringAnimation()
368 (mCenter.getX() - target.centerX()) * (1 - mProgress), in apply()
369 (mCenter.getY() - target.centerY()) * (1 - mProgress), in apply()