/frameworks/base/core/java/android/animation/ |
D | IntKeyframeSet.java | 62 float prevFraction = prevKeyframe.getFraction(); in getIntValue() 63 float nextFraction = nextKeyframe.getFraction(); in getIntValue() 78 float prevFraction = prevKeyframe.getFraction(); in getIntValue() 79 float nextFraction = nextKeyframe.getFraction(); in getIntValue() 92 if (fraction < nextKeyframe.getFraction()) { in getIntValue() 94 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getIntValue() 95 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getIntValue()
|
D | FloatKeyframeSet.java | 62 float prevFraction = prevKeyframe.getFraction(); in getFloatValue() 63 float nextFraction = nextKeyframe.getFraction(); in getFloatValue() 78 float prevFraction = prevKeyframe.getFraction(); in getFloatValue() 79 float nextFraction = nextKeyframe.getFraction(); in getFloatValue() 93 if (fraction < nextKeyframe.getFraction()) { in getFloatValue() 95 float intervalFraction = (fraction - prevKeyframe.getFraction()) / in getFloatValue() 96 (nextKeyframe.getFraction() - prevKeyframe.getFraction()); in getFloatValue()
|
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 | 211 final float prevFraction = mFirstKeyframe.getFraction(); in getValue() 213 (nextKeyframe.getFraction() - prevFraction); in getValue() 222 final float prevFraction = prevKeyframe.getFraction(); in getValue() 224 (mLastKeyframe.getFraction() - prevFraction); in getValue() 231 if (fraction < nextKeyframe.getFraction()) { in getValue() 233 final float prevFraction = prevKeyframe.getFraction(); in getValue() 235 (nextKeyframe.getFraction() - prevFraction); in getValue()
|
D | AnimatorInflater.java | 824 (keyframe.getFraction() < 0 ? "null" : keyframe.getFraction()) + ", " + in dumpKeyframes() 865 float endFraction = lastKeyframe.getFraction(); in loadPvh() 874 float startFraction = firstKeyframe.getFraction(); in loadPvh() 887 if (keyframe.getFraction() < 0) { in loadPvh() 898 if (keyframeArray[j].getFraction() >= 0) { in loadPvh() 903 float gap = keyframeArray[endIndex + 1].getFraction() - in loadPvh() 904 keyframeArray[startIndex - 1].getFraction(); in loadPvh() 949 keyframes[i].setFraction(keyframes[i-1].getFraction() + increment); in distributeKeyframes()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 111 mButtonHeightFraction = resources.getFraction( in BatteryMeterDrawable() 113 mAspectRatio = resources.getFraction(R.fraction.bt_battery_ratio_fraction, 1, 1); in BatteryMeterDrawable()
|
D | BatteryMeterDrawableBase.java | 122 mButtonHeightFraction = context.getResources().getFraction( in BatteryMeterDrawableBase() 124 mSubpixelSmoothingLeft = context.getResources().getFraction( in BatteryMeterDrawableBase() 126 mSubpixelSmoothingRight = context.getResources().getFraction( in BatteryMeterDrawableBase()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RotateDrawable.java | 129 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray() 135 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
|
D | AnimatedRotateDrawable.java | 191 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray() 197 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); in updateStateFromTypedArray()
|
D | ScaleDrawable.java | 176 return a.getFraction(index, 1, 1, defaultValue); in getPercent()
|
D | InsetDrawable.java | 209 float f = tv.getFraction(1.0f, 1.0f); in getInset()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | CustomScrollView.java | 82 final int maxHeight = (int) typedValue.getFraction(point.y, point.y); in calculateDimensions()
|
D | FillUi.java | 529 outPoint.x = (int) typedValue.getFraction(outPoint.x, outPoint.x); in resolveMaxWindowSize() 532 outPoint.y = (int) typedValue.getFraction(outPoint.y, outPoint.y); in resolveMaxWindowSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarTransitions.java | 42 mIconAlphaWhenOpaque = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); in PhoneStatusBarTransitions()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | CompactExtractEditLayout.java | 70 return Math.round(getResources().getFraction(fraction, whole, whole)); in applyFractionInt()
|
D | Keyboard.java | 914 return Math.round(a.getFraction(index, base, base, defValue)); in getDimensionOrFraction()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsHelperRestoreTest.java | 115 .getFraction( in setDefaultAccessibilityDisplayMagnificationScale()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 459 public float getFraction(float base, float pbase) in getFraction() method in TypedValue
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 520 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() method in BridgeTypedArray 527 return mValue.getFraction(base, pbase); in getFraction()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 271 float defaultScale = mContext.getResources().getFraction( in isAlreadyConfiguredCriticalAccessibilitySetting()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 128 mFixedRatio = res.getFraction( in DividerSnapAlgorithm()
|
D | DecorView.java | 679 w = (int) tvw.getFraction(metrics.widthPixels, metrics.widthPixels); 707 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels); 756 min = (int)tv.getFraction(mAvailableWidth, mAvailableWidth);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 423 when(mockResources.getFraction( in createResources()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 63 float autoBrightnessAdjustmentMaxGamma = resources.getFraction( in create()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 883 public float getFraction(@StyleableRes int index, int base, int pbase, float defValue) { in getFraction() method in TypedArray
|