Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/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/v17/leanback/src/android/support/v17/leanback/widget/
DRecyclerViewParallax.java64 float mFraction; field in RecyclerViewParallax.ChildPositionProperty
112 mFraction = fraction; in fraction()
143 return mFraction; in getFraction()
189 + (int) (mFraction * rect.height())); in updateValue()
192 + (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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java74 private float mFraction; field in ScrimController
140 if (mFraction != fraction) { in setPanelExpansion()
141 mFraction = fraction; in setPanelExpansion()
274 float behindFraction = Math.max(0, Math.min(mFraction, 1)); in updateScrimKeyguard()
287 float fraction = Math.max(0, Math.min(mFraction, 1)); in updateScrimKeyguard()
296 float frac = mFraction; in updateScrimNormal()
543 float expandFactor = (1.0f - mFraction); in calculateHeadsUpAlpha()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java74 private float mFraction; field in BoundsAnimationControllerTests.MockValueAnimator
77 mFraction = fraction; in getWithValue()
83 return mFraction; in getAnimatedValue()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java2316 private float mFraction; field in ItemTouchHelper.RecoverAnimation
2354 mFraction = fraction; in setFraction()
2365 mX = mStartDx + mFraction * (mTargetX - mStartDx); in update()
2370 mY = mStartDy + mFraction * (mTargetY - mStartDy); in update()
/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()