Home
last modified time | relevance | path

Searched refs:interpolate (Results 1 – 25 of 32) 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()
DAnimator.cpp281 fraction = mInterpolator->interpolate(fraction); in updatePlayTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java50 public static float interpolate(float start, float end, float amount) { in interpolate() method in NotificationUtils
56 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount), in interpolateColors()
57 (int) interpolate(Color.red(startColor), Color.red(endColor), amount), in interpolateColors()
58 (int) interpolate(Color.green(startColor), Color.green(endColor), amount), in interpolateColors()
59 (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.java204 if (mLowLightAmbientBrightnessToBiasSpline.interpolate(0.0f) != 0.0f || in DisplayWhiteBalanceController()
205 mLowLightAmbientBrightnessToBiasSpline.interpolate(Float.POSITIVE_INFINITY) in DisplayWhiteBalanceController()
221 if (mHighLightAmbientBrightnessToBiasSpline.interpolate(0.0f) != 0.0f || in DisplayWhiteBalanceController()
222 mHighLightAmbientBrightnessToBiasSpline.interpolate(Float.POSITIVE_INFINITY) in DisplayWhiteBalanceController()
407 mStrongAmbientToDisplayColorTemperatureSpline.interpolate( in updateAmbientColorTemperature()
414 mAmbientToDisplayColorTemperatureSpline.interpolate( in updateAmbientColorTemperature()
424 float bias = mLowLightAmbientBrightnessToBiasSpline.interpolate(ambientBrightness); in updateAmbientColorTemperature()
432 float bias = mHighLightAmbientBrightnessToBiasSpline.interpolate(ambientBrightness); in updateAmbientColorTemperature()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java652 return mSpline.interpolate(lux); in getBrightness()
776 return spline.interpolate(lux); in getUnadjustedBrightness()
884 float nits = mBrightnessSpline.interpolate(lux); in getBrightness()
891 float brightness = mNitsToBrightnessSpline.interpolate(nits); in getBrightness()
925 return mBrightnessToNitsSpline.interpolate(brightness); in convertToNits()
930 return mNitsToBrightnessSpline.interpolate(nits); in convertToFloatScale()
1068 float defaultNits = defaultSpline.interpolate(lux); in dumpConfigDiff()
1069 float longTermNits = currSpline.interpolate(lux); in dumpConfigDiff()
1070 float shortTermNits = mBrightnessSpline.interpolate(lux); in dumpConfigDiff()
1071 float brightness = mNitsToBrightnessSpline.interpolate(shortTermNits); in dumpConfigDiff()
[all …]
DDisplayDeviceConfig.java814 return mBrightnessToBacklightSpline.interpolate(brightness); in getBacklightFromBrightness()
828 return mBacklightToNitsSpline.interpolate(backlight); in getNitsFromBacklight()
847 float ratio = mSdrToHdrRatioSpline.interpolate(nits); in getHdrBrightnessFromSdr()
853 float hdrBacklight = mNitsToBacklightSpline.interpolate(hdrNits); in getHdrBrightnessFromSdr()
855 float hdrBrightness = mBacklightToBrightnessSpline.interpolate(hdrBacklight); in getHdrBrightnessFromSdr()
2205 mBacklightToBrightnessSpline.interpolate(transitionPointBacklightScale); in loadHighBrightnessModeData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java227 interpolate(i, amount, target); in setValue()
230 protected abstract void interpolate(int index, float amount, Object target); in interpolate() method in TouchAnimator.KeyframeSet
252 protected void interpolate(int index, float amount, Object target) { in interpolate() method in TouchAnimator.FloatKeyframeSet
270 protected void interpolate(int index, float amount, Object target) { in interpolate() method in TouchAnimator.IntKeyframeSet
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java247 final float nits = brightnessToNits.interpolate(brightness); in testPhysicalStrategyMappingBetweenControlPoints()
584 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionLowChangeAtCenter()
585 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionLowChangeAtCenter()
586 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionLowChangeAtCenter()
616 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionHighChangeAtCenter()
617 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionHighChangeAtCenter()
618 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionHighChangeAtCenter()
668 final float y0 = GAMMA_CORRECTION_SPLINE.interpolate(x0); in testGammaCorrectionChangeAtEdges()
669 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionChangeAtEdges()
670 final float y4 = GAMMA_CORRECTION_SPLINE.interpolate(x4); in testGammaCorrectionChangeAtEdges()
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java21 import static com.android.systemui.statusbar.notification.NotificationUtils.interpolate;
205 result.clockX = (int) interpolate(0, burnInPreventionOffsetX(), mDarkAmount); in run()
206 result.clockScale = interpolate(getBurnInScale(), 1.0f, 1.0f - mDarkAmount); in run()
/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.java584 intrinsicHeight += NotificationUtils.interpolate(mChildPadding, mDividerHeight,
591 intrinsicHeight += NotificationUtils.interpolate(
607 intrinsicHeight += NotificationUtils.interpolate(mCollapsedBottomPadding, 0.0f,
641 yPosition += NotificationUtils.interpolate(mChildPadding, mDividerHeight,
648 yPosition += NotificationUtils.interpolate(
816 alpha = NotificationUtils.interpolate(0, mDividerAlpha,
951 alpha = NotificationUtils.interpolate(0, mDividerAlpha,
1200 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
/frameworks/rs/script_api/include/
Drs_quaternion.rsh268 * t: How much to interpolate by.

12