Home
last modified time | relevance | path

Searched refs:interpolate (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/libs/hwui/
DInterpolator.h32 virtual float interpolate(float input) = 0;
42 virtual float interpolate(float input) override;
48 virtual float interpolate(float input) override;
58 virtual float interpolate(float input) override;
67 virtual float interpolate(float input) override;
75 virtual float interpolate(float input) override;
81 virtual float interpolate(float input) override;
90 virtual float interpolate(float input) override;
98 virtual float interpolate(float input) override { return input; } in interpolate() function
104 virtual float interpolate(float input) override;
[all …]
DInterpolator.cpp32 float AccelerateDecelerateInterpolator::interpolate(float input) { in interpolate() function in android::uirenderer::AccelerateDecelerateInterpolator
36 float AccelerateInterpolator::interpolate(float input) { in interpolate() function in android::uirenderer::AccelerateInterpolator
44 float AnticipateInterpolator::interpolate(float t) { in interpolate() function in android::uirenderer::AnticipateInterpolator
56 float AnticipateOvershootInterpolator::interpolate(float t) { in interpolate() function in android::uirenderer::AnticipateOvershootInterpolator
67 float BounceInterpolator::interpolate(float t) { in interpolate() function in android::uirenderer::BounceInterpolator
79 float CycleInterpolator::interpolate(float input) { in interpolate() function in android::uirenderer::CycleInterpolator
83 float DecelerateInterpolator::interpolate(float input) { in interpolate() function in android::uirenderer::DecelerateInterpolator
93 float OvershootInterpolator::interpolate(float t) { in interpolate() function in android::uirenderer::OvershootInterpolator
98 float PathInterpolator::interpolate(float t) { in interpolate() function in android::uirenderer::PathInterpolator
134 float LUTInterpolator::interpolate(float input) { in interpolate() function in android::uirenderer::LUTInterpolator
DPropertyValuesAnimatorSet.cpp178 float interpolatedFraction = mInterpolator->interpolate(fraction); in setFraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java47 public static float interpolate(float start, float end, float amount) { in interpolate() method in NotificationUtils
53 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount), in interpolateColors()
54 (int) interpolate(Color.red(startColor), Color.red(endColor), amount), in interpolateColors()
55 (int) interpolate(Color.green(startColor), Color.green(endColor), amount), in interpolateColors()
56 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount)); in interpolateColors()
DTransformState.java220 transformedView.setTranslationX(NotificationUtils.interpolate(getTransformationStartX(), in transformViewFrom()
233 transformedView.setTranslationY(NotificationUtils.interpolate(getTransformationStartY(), in transformViewFrom()
241 NotificationUtils.interpolate(transformationStartScaleX, in transformViewFrom()
248 NotificationUtils.interpolate(transformationStartScaleY, in transformViewFrom()
384 transformedView.setTranslationX(NotificationUtils.interpolate(getTransformationStartX(), in transformViewTo()
401 transformedView.setTranslationY(NotificationUtils.interpolate(getTransformationStartY(), in transformViewTo()
409 NotificationUtils.interpolate(transformationStartScaleX, in transformViewTo()
416 NotificationUtils.interpolate(transformationStartScaleY, in transformViewTo()
DMessagingImageTransformState.java84 (int) NotificationUtils.interpolate(startActualWidth, in transformViewFrom()
89 (int) NotificationUtils.interpolate(startActualHeight, in transformViewFrom()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceController.java194 if (mLowLightAmbientBrightnessToBiasSpline.interpolate(0.0f) != 0.0f || in DisplayWhiteBalanceController()
195 mLowLightAmbientBrightnessToBiasSpline.interpolate(Float.POSITIVE_INFINITY) in DisplayWhiteBalanceController()
211 if (mHighLightAmbientBrightnessToBiasSpline.interpolate(0.0f) != 0.0f || in DisplayWhiteBalanceController()
212 mHighLightAmbientBrightnessToBiasSpline.interpolate(Float.POSITIVE_INFINITY) in DisplayWhiteBalanceController()
370 mAmbientToDisplayColorTemperatureSpline.interpolate(ambientColorTemperature); in updateAmbientColorTemperature()
378 float bias = mLowLightAmbientBrightnessToBiasSpline.interpolate(ambientBrightness); in updateAmbientColorTemperature()
386 float bias = mHighLightAmbientBrightnessToBiasSpline.interpolate(ambientBrightness); in updateAmbientColorTemperature()
/frameworks/base/services/core/java/com/android/server/vibrator/
DRampToStepAdapter.java81 interpolate(ramp.getStartAmplitude(), ramp.getEndAmplitude(), pos), in apply()
82 interpolate(ramp.getStartFrequency(), ramp.getEndFrequency(), pos), in apply()
90 private static float interpolate(float start, float end, float position) { in interpolate() method in RampToStepAdapter
DStepToRampAdapter.java141 return interpolate(ramp.getStartAmplitude(), ramp.getEndAmplitude(), duration, in interpolateAmplitude()
146 return interpolate(ramp.getStartFrequency(), ramp.getEndFrequency(), duration, in interpolateFrequency()
150 private static float interpolate(float start, float end, long duration, long totalDuration) { in interpolate() method in StepToRampAdapter
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java208 final float nits = brightnessToNits.interpolate(brightness); in testPhysicalStrategyMappingBetweenControlPoints()
503 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionLowChangeAtCenter()
504 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionLowChangeAtCenter()
505 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionLowChangeAtCenter()
532 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionHighChangeAtCenter()
533 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionHighChangeAtCenter()
534 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionHighChangeAtCenter()
578 final float y0 = GAMMA_CORRECTION_SPLINE.interpolate(x0); in testGammaCorrectionChangeAtEdges()
579 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionChangeAtEdges()
580 final float y4 = GAMMA_CORRECTION_SPLINE.interpolate(x4); in testGammaCorrectionChangeAtEdges()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java215 interpolate(i, amount, target); in setValue()
218 protected abstract void interpolate(int index, float amount, Object target); in interpolate() method in TouchAnimator.KeyframeSet
240 protected void interpolate(int index, float amount, Object target) { in interpolate() method in TouchAnimator.FloatKeyframeSet
258 protected void interpolate(int index, float amount, Object target) { in interpolate() method in TouchAnimator.IntKeyframeSet
/frameworks/base/core/java/android/animation/
DPathKeyframes.java113 float x = interpolate(intervalFraction, startX, endX); in interpolateInRange()
114 float y = interpolate(intervalFraction, startY, endY); in interpolateInRange()
146 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() method in PathKeyframes
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java21 import static com.android.systemui.statusbar.notification.NotificationUtils.interpolate;
208 result.clockX = (int) interpolate(0, burnInPreventionOffsetX(), mDarkAmount); in run()
209 result.clockScale = interpolate(getBurnInScale(), 1.0f, 1.0f - mDarkAmount); in run()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java573 return mSpline.interpolate(lux); in getBrightness()
677 return spline.interpolate(lux); in getUnadjustedBrightness()
780 float nits = mBrightnessSpline.interpolate(lux); in getBrightness()
781 float brightness = mNitsToBrightnessSpline.interpolate(nits); in getBrightness()
815 return mBrightnessToNitsSpline.interpolate(brightness); in convertToNits()
902 defaultBrightness[i] = mNitsToBrightnessSpline.interpolate(defaultNits[i]); in computeSpline()
910 nits[i] = mBrightnessToNitsSpline.interpolate(brightness[i]); in computeSpline()
918 return mNitsToBrightnessSpline.interpolate(spline.interpolate(lux)); in getUnadjustedBrightness()
DDisplayDeviceConfig.java233 return mBrightnessToBacklightSpline.interpolate(brightness); in getBacklightFromBrightness()
247 return mBacklightToNitsSpline.interpolate(backlight); in getNitsFromBacklight()
656 mBacklightToBrightnessSpline.interpolate(transitionPointBacklightScale); in loadHighBrightnessModeData()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirProcess.h114 TC interpolate(TC coef_0, TC coef_1, TINTERP lerp) in interpolate() function
121 int16_t interpolate<int16_t, uint32_t>(int16_t coef_0, int16_t coef_1, uint32_t lerp)
128 int32_t interpolate<int32_t, uint32_t>(int32_t coef_0, int32_t coef_1, uint32_t lerp)
138 return interpolate(coef_0, coef_1, lerp); in interpolatep()
144 return interpolate(coef_0, coef_1, lerp); in interpolaten()
DAudioResamplerSinc.h58 inline void interpolate(
DAudioResamplerSinc.cpp433 interpolate<CHANNELS>(l, r, coefsP++, offset, lerpP, sP); in filterCoefficient()
435 interpolate<CHANNELS>(l, r, coefsN++, offset, lerpN, sN); in filterCoefficient()
597 void AudioResamplerSinc::interpolate( in interpolate() function in android::AudioResamplerSinc
/frameworks/base/core/java/android/util/
DSpline.java32 public abstract float interpolate(float x); in interpolate() method in Spline
183 public float interpolate(float x) { in interpolate() method in Spline.MonotoneCubicSpline
252 public float interpolate(float x) { in interpolate() method in Spline.LinearSpline
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java116 final float[][] stepsFirstFinger = interpolate(firstFingerStartCoords, in sendPinchZoomAction()
118 final float[][] stepsSecondFinger = interpolate(secondFingerStartCoords, in sendPinchZoomAction()
180 private static float[][] interpolate(float[] start, float[] end) { in interpolate() method in PinchZoomAction
/frameworks/base/libs/hwui/tests/unit/
DPathInterpolatorTests.cpp85 EXPECT_FLOAT_EQ(data.outFraction[i], interpolator.interpolate(data.inFraction[i])); in TEST()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFlingAnimationUtils.java86 mLinearOutSlowInX2 = interpolate(LINEAR_OUT_SLOW_IN_X2, in FlingAnimationUtils()
171 float startGradient = interpolate(LINEAR_OUT_SLOW_IN_START_GRADIENT, in getProperties()
430 private static float interpolate(float start, float end, float amount) { in interpolate() method in FlingAnimationUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java520 intrinsicHeight += NotificationUtils.interpolate(mChildPadding, mDividerHeight,
527 intrinsicHeight += NotificationUtils.interpolate(
543 intrinsicHeight += NotificationUtils.interpolate(mCollapsedBottompadding, 0.0f,
577 yPosition += NotificationUtils.interpolate(mChildPadding, mDividerHeight,
584 yPosition += NotificationUtils.interpolate(
728 alpha = NotificationUtils.interpolate(0, mDividerAlpha,
807 alpha = NotificationUtils.interpolate(0, mDividerAlpha,
1056 child.setActualHeight((int) NotificationUtils.interpolate(singleLineHeight,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java327 mVelocity = interpolate(mVelocity, velocity, alpha); in computeVelocity()
342 private static float interpolate(float from, float to, float alpha) { in interpolate() method in SwipeDetector
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DDragAction.java311 float[][] steps = interpolate(startCoordinates, endCoordinates); in sendLinearDrag()
355 private static float[][] interpolate(float[] start, float[] end) { in interpolate() method in DragAction.Drag

12