Home
last modified time | relevance | path

Searched refs:getFraction (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/animation/
DFloatKeyframeSet.java89 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
90 float nextFraction = nextKeyframe.getFraction(); in getFloatValue()
105 float prevFraction = prevKeyframe.getFraction(); in getFloatValue()
106 float nextFraction = nextKeyframe.getFraction(); in getFloatValue()
120 if (fraction < nextKeyframe.getFraction()) { in getFloatValue()
125 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue()
126 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getFloatValue()
DIntKeyframeSet.java89 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
90 float nextFraction = nextKeyframe.getFraction(); in getIntValue()
105 float prevFraction = prevKeyframe.getFraction(); in getIntValue()
106 float nextFraction = nextKeyframe.getFraction(); in getIntValue()
119 if (fraction < nextKeyframe.getFraction()) { in getIntValue()
124 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue()
125 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getIntValue()
DKeyframe.java211 public float getFraction() { in getFraction() method in Keyframe
287 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), hasValue() ? mValue : null); in clone()
334 new IntKeyframe(getFraction(), mValue) : in clone()
335 new IntKeyframe(getFraction()); in clone()
381 new FloatKeyframe(getFraction(), mValue) : in clone()
382 new FloatKeyframe(getFraction()); in clone()
DKeyframeSet.java220 final float prevFraction = mFirstKeyframe.getFraction(); in getValue()
222 (nextKeyframe.getFraction() - prevFraction); in getValue()
231 final float prevFraction = prevKeyframe.getFraction(); in getValue()
233 (mLastKeyframe.getFraction() - prevFraction); in getValue()
240 if (fraction < nextKeyframe.getFraction()) { in getValue()
245 final float prevFraction = prevKeyframe.getFraction(); in getValue()
247 (nextKeyframe.getFraction() - prevFraction); in getValue()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DColorFilterDimmer.java50 float activeLevel = a.getFraction(R.styleable.LeanbackTheme_overlayDimActiveLevel, 1, 1, in createDefault()
51 context.getResources().getFraction(R.fraction.lb_view_active_level, 1, 0)); in createDefault()
52 float dimmedLevel = a.getFraction(R.styleable.LeanbackTheme_overlayDimDimmedLevel, 1, 1, in createDefault()
53 context.getResources().getFraction(R.fraction.lb_view_dimmed_level, 1, 1)); in createDefault()
DColorOverlayDimmer.java46 float activeLevel = a.getFraction(R.styleable.LeanbackTheme_overlayDimActiveLevel, 1, 1, in createDefault()
47 context.getResources().getFraction(R.fraction.lb_view_active_level, 1, 0)); in createDefault()
48 float dimmedLevel = a.getFraction(R.styleable.LeanbackTheme_overlayDimDimmedLevel, 1, 1, in createDefault()
49 context.getResources().getFraction(R.fraction.lb_view_dimmed_level, 1, 1)); in createDefault()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPreviewPageFrame.java44 mSelectedPageAlpha = mContext.getResources().getFraction( in PreviewPageFrame()
46 mNotSelectedAlpha = mContext.getResources().getFraction( in PreviewPageFrame()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFocusHighlightHelper.java130 resources.getFraction(R.fraction.lb_focus_zoom_factor_small, 1, 1); in lazyInit()
132 resources.getFraction(R.fraction.lb_focus_zoom_factor_medium, 1, 1); in lazyInit()
134 resources.getFraction(R.fraction.lb_focus_zoom_factor_large, 1, 1); in lazyInit()
DSpeechOrbView.java30 resources.getFraction(R.fraction.lb_search_bar_speech_orb_max_level_zoom, 1, 1); in SpeechOrbView()
DRowHeaderPresenter.java64 viewHolder.mUnselectAlpha = parent.getResources().getFraction( in onCreateViewHolder()
DSearchOrbView.java167 mFocusedZoom = context.getResources().getFraction( in SearchOrbView()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java140 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() method in TintTypedArray
141 return mWrapped.getFraction(index, base, pbase, defValue); in getFraction()
DResourcesWrapper.java125 public float getFraction(int id, int base, int pbase) { in getFraction() method in ResourcesWrapper
126 return mResources.getFraction(id, base, pbase); in getFraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java80 mClockYFractionMin = res.getFraction(R.fraction.keyguard_clock_y_fraction_min, 1, 1); in loadDimens()
81 mClockYFractionMax = res.getFraction(R.fraction.keyguard_clock_y_fraction_max, 1, 1); in loadDimens()
DPhoneStatusBarTransitions.java42 mIconAlphaWhenOpaque = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); in PhoneStatusBarTransitions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java210 mButtonHeightFraction = context.getResources().getFraction( in BatteryMeterView()
212 mSubpixelSmoothingLeft = context.getResources().getFraction( in BatteryMeterView()
214 mSubpixelSmoothingRight = context.getResources().getFraction( in BatteryMeterView()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedRotateDrawable.java319 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
325 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
DRotateDrawable.java489 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
495 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
DGradientDrawable.java1393 radius = tv.getFraction(1.0f, 1.0f);
1439 v = vIsFraction ? tv.getFraction(1.0f, 1.0f) : tv.getFloat();
/frameworks/base/core/java/android/util/
DTypedValue.java414 public float getFraction(float base, float pbase) in getFraction() method in TypedValue
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java517 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() method in BridgeTypedArray
524 return mValue.getFraction(base, pbase); in getFraction()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java273 duration = (long)tv.getFraction(duration, duration); in getDimBehindFadeDuration()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DRowsFragment.java294 mRowScaleFactor = getResources().getFraction( in onCreate()
DRowsSupportFragment.java296 mRowScaleFactor = getResources().getFraction( in onCreate()
/frameworks/base/core/java/android/content/res/
DTypedArray.java657 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() method in TypedArray

12