/frameworks/base/core/java/android/animation/ |
D | FloatKeyframeSet.java | 89 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()
|
D | IntKeyframeSet.java | 89 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()
|
D | Keyframe.java | 211 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()
|
D | KeyframeSet.java | 220 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/ |
D | ColorFilterDimmer.java | 50 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()
|
D | ColorOverlayDimmer.java | 46 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/ |
D | PreviewPageFrame.java | 44 mSelectedPageAlpha = mContext.getResources().getFraction( in PreviewPageFrame() 46 mNotSelectedAlpha = mContext.getResources().getFraction( in PreviewPageFrame()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | FocusHighlightHelper.java | 130 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()
|
D | SpeechOrbView.java | 30 resources.getFraction(R.fraction.lb_search_bar_speech_orb_max_level_zoom, 1, 1); in SpeechOrbView()
|
D | RowHeaderPresenter.java | 64 viewHolder.mUnselectAlpha = parent.getResources().getFraction( in onCreateViewHolder()
|
D | SearchOrbView.java | 167 mFocusedZoom = context.getResources().getFraction( in SearchOrbView()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | TintTypedArray.java | 140 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()
|
D | ResourcesWrapper.java | 125 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/ |
D | KeyguardClockPositionAlgorithm.java | 80 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()
|
D | PhoneStatusBarTransitions.java | 42 mIconAlphaWhenOpaque = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); in PhoneStatusBarTransitions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 210 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/ |
D | AnimatedRotateDrawable.java | 319 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()
|
D | RotateDrawable.java | 489 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()
|
D | GradientDrawable.java | 1393 radius = tv.getFraction(1.0f, 1.0f); 1439 v = vIsFraction ? tv.getFraction(1.0f, 1.0f) : tv.getFloat();
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 414 public float getFraction(float base, float pbase) in getFraction() method in TypedValue
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 517 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/ |
D | TaskStack.java | 273 duration = (long)tv.getFraction(duration, duration); in getDimBehindFadeDuration()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | RowsFragment.java | 294 mRowScaleFactor = getResources().getFraction( in onCreate()
|
D | RowsSupportFragment.java | 296 mRowScaleFactor = getResources().getFraction( in onCreate()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 657 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() method in TypedArray
|