/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 | 827 (keyframe.getFraction() < 0 ? "null" : keyframe.getFraction()) + ", " + in dumpKeyframes() 868 float endFraction = lastKeyframe.getFraction(); in loadPvh() 877 float startFraction = firstKeyframe.getFraction(); in loadPvh() 890 if (keyframe.getFraction() < 0) { in loadPvh() 901 if (keyframeArray[j].getFraction() >= 0) { in loadPvh() 906 float gap = keyframeArray[endIndex + 1].getFraction() - in loadPvh() 907 keyframeArray[startIndex - 1].getFraction(); in loadPvh() 952 keyframes[i].setFraction(keyframes[i-1].getFraction() + increment); in distributeKeyframes()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 112 mButtonHeightFraction = resources.getFraction( in BatteryMeterDrawable() 114 mAspectRatio = resources.getFraction(R.fraction.bt_battery_ratio_fraction, 1, 1); in BatteryMeterDrawable()
|
D | BatteryMeterDrawableBase.java | 123 mButtonHeightFraction = context.getResources().getFraction( in BatteryMeterDrawableBase() 125 mSubpixelSmoothingLeft = context.getResources().getFraction( in BatteryMeterDrawableBase() 127 mSubpixelSmoothingRight = context.getResources().getFraction( in BatteryMeterDrawableBase()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 149 final float maxScaleDimen = context.getResources().getFraction( in DisplayDensityUtils() 152 final float minScale = context.getResources().getFraction( in DisplayDensityUtils() 154 final float minScaleInterval = context.getResources().getFraction( in DisplayDensityUtils()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | AudioDeviceVolumeManagerTest.java | 132 preScale[0] = mContext.getResources().getFraction( in configurablePreScaleAbsoluteVolume_checkIndex() 135 preScale[1] = mContext.getResources().getFraction( in configurablePreScaleAbsoluteVolume_checkIndex() 138 preScale[2] = mContext.getResources().getFraction( in configurablePreScaleAbsoluteVolume_checkIndex()
|
D | VolumeHelperTest.java | 573 preScale[0] = mContext.getResources().getFraction( in configurablePreScaleAbsoluteVolume_checkIndex() 576 preScale[1] = mContext.getResources().getFraction( in configurablePreScaleAbsoluteVolume_checkIndex() 579 preScale[2] = mContext.getResources().getFraction( in configurablePreScaleAbsoluteVolume_checkIndex()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
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 | 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 | ScaleDrawable.java | 177 return a.getFraction(index, 1, 1, defaultValue); in getPercent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LocalAnimationAdapter.java | 163 default float getFraction(float currentPlayTime) { in getFraction() method
|
D | LegacyDimmer.java | 327 final float fraction = getFraction(currentPlayTime); in apply()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | CustomScrollView.java | 143 return (int) maxHeightAttrTypedValue.getFraction(100, 100); in getAttrBasedMaxHeightPercent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarTransitions.java | 45 mIconAlphaWhenOpaque = res.getFraction(R.dimen.status_bar_icon_drawing_alpha, 1, 1); in PhoneStatusBarTransitions()
|
/frameworks/base/core/java/android/view/ |
D | WindowInsetsAnimation.java | 88 public float getFraction() { in getFraction() method in WindowInsetsAnimation
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | CompactExtractEditLayout.java | 70 return Math.round(getResources().getFraction(fraction, whole, whole)); in applyFractionInt()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthenticationStatsBroadcastReceiverTest.java | 80 when(mResources.getFraction(eq(R.fraction.config_biometricNotificationFrrThreshold), in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedSettingsUtil.java | 238 return context.getResources().getFraction(R.fraction.config_one_handed_offset, 1, 1); in getTranslationFraction()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | LegacySizeSpecSource.kt | 54 mMinimumSizePercent = res.getFraction(R.fraction.config_pipShortestEdgePercent, 1, 1) in reloadResources()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | AuthenticationStatsCollector.java | 86 .getFraction(R.fraction.config_biometricNotificationFrrThreshold, 1, 1); in AuthenticationStatsCollector()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsHelperRestoreTest.java | 131 .getFraction( in setDefaultAccessibilityDisplayMagnificationScale()
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 730 public float getFraction(float base, float pbase) in getFraction() method in TypedValue
|