Home
last modified time | relevance | path

Searched refs:mFraction (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/graphics/
DBoundsRule.java31 float mFraction; field in BoundsRule.ValueRule
67 this.mFraction = fraction; in ValueRule()
71 this.mFraction = rule.mFraction; in ValueRule()
81 this.mFraction = fraction; in setFraction()
88 return mFraction; in getFraction()
152 return value + rule.mAbsoluteValue + (int) (rule.mFraction * size); in doCalculate()
/frameworks/base/core/java/android/animation/
DKeyframe.java54 float mFraction; field in Keyframe
212 return mFraction; in getFraction()
222 mFraction = fraction; in setFraction()
270 mFraction = fraction; in ObjectKeyframe()
305 mFraction = fraction; in IntKeyframe()
312 mFraction = fraction; in IntKeyframe()
352 mFraction = fraction; in FloatKeyframe()
359 mFraction = fraction; in FloatKeyframe()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DRecyclerViewParallax.java65 float mFraction; field in RecyclerViewParallax.ChildPositionProperty
113 mFraction = fraction; in fraction()
144 return mFraction; in getFraction()
190 + (int) (mFraction * rect.height())); in updateValue()
193 + (int) (mFraction * rect.width())); in updateValue()
DParallaxTarget.java80 private float mFraction; field in ParallaxTarget.PropertyValuesHolderTarget
90 mFraction = fraction; in update()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java285 final float fraction = mState.mInsetLeft.mFraction + mState.mInsetRight.mFraction; in getIntrinsicWidth()
296 final float fraction = mState.mInsetTop.mFraction + mState.mInsetBottom.mFraction; in getIntrinsicHeight()
386 final float mFraction; field in InsetDrawable.InsetValue
394 mFraction = fraction; in InsetValue()
398 return (int) (boundSize * mFraction) + mDimension; in getDimension()
409 return new InsetValue(mFraction, mDimension); in clone()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java75 private float mFraction; field in BoundsAnimationControllerTests.MockValueAnimator
78 mFraction = fraction; in getWithValue()
84 return mFraction; in getAnimatedValue()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java2310 private float mFraction; field in ItemTouchHelper.RecoverAnimation
2348 mFraction = fraction; in setFraction()
2359 mX = mStartDx + mFraction * (mTargetX - mStartDx); in update()
2364 mY = mStartDy + mFraction * (mTargetY - mStartDy); in update()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DItemTouchHelper.java2379 private float mFraction; field in ItemTouchHelper.RecoverAnimation
2417 mFraction = fraction; in setFraction()
2428 mX = mStartDx + mFraction * (mTargetX - mStartDx); in update()
2433 mY = mStartDy + mFraction * (mTargetY - mStartDy); in update()