HomeSort by relevance Sort by last modified time
    Searched refs:mFromX (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/java/android/view/animation/
ScaleAnimation.java 33 private float mFromX;
72 mFromX = 0.0f;
76 mFromX = tv.getFloat();
145 mFromX = fromX;
172 mFromX = fromX;
212 mFromX = fromX;
229 if (mFromX != 1.0f || mToX != 1.0f) {
230 sx = mFromX + ((mToX - mFromX) * interpolatedTime);
264 mFromX = resolveScale(mFromX, mFromXType, mFromXData, width, parentWidth)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PositionController.java 75 private int mCurrentX, mFromX, mToX;
133 mFromX = translate(mFromX, mImageW, width, ratio);
321 mFromX = Math.round(fromX);
323 mCurrentX = mFromX;
397 mFromX = mCurrentX;
505 // from: (x - mFromX) * mFromScale + mViewW / 2
508 // (x - mFromX) * mFromScale * (1 - p) + (x - mToX) * mToScale * p
515 // (mFromX * mFromScale * (1 - p) + mToX * mToScale * p) / mCurrentScale
516 float fromX = mFromX * mFromScale
    [all...]

Completed in 312 milliseconds