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()
/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.java207 transformedView.setTranslationX(NotificationUtils.interpolate(getTransformationStartX(), in transformViewFrom()
220 transformedView.setTranslationY(NotificationUtils.interpolate(getTransformationStartY(), in transformViewFrom()
228 NotificationUtils.interpolate(transformationStartScaleX, in transformViewFrom()
235 NotificationUtils.interpolate(transformationStartScaleY, in transformViewFrom()
351 transformedView.setTranslationX(NotificationUtils.interpolate(getTransformationStartX(), in transformViewTo()
368 transformedView.setTranslationY(NotificationUtils.interpolate(getTransformationStartY(), in transformViewTo()
377 NotificationUtils.interpolate(transformationStartScaleX, in transformViewTo()
384 NotificationUtils.interpolate(transformationStartScaleY, in transformViewTo()
DMessagingImageTransformState.java84 (int) NotificationUtils.interpolate(startActualWidth, in transformViewFrom()
89 (int) NotificationUtils.interpolate(startActualHeight, in transformViewFrom()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java198 final float nits = backlightToBrightness.interpolate(backlight); in testPhysicalStrategyMappingBetweenControlPoints()
463 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionLowChangeAtCenter()
464 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionLowChangeAtCenter()
465 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionLowChangeAtCenter()
491 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionHighChangeAtCenter()
492 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionHighChangeAtCenter()
493 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionHighChangeAtCenter()
537 final float y0 = GAMMA_CORRECTION_SPLINE.interpolate(x0); in testGammaCorrectionChangeAtEdges()
538 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionChangeAtEdges()
539 final float y4 = GAMMA_CORRECTION_SPLINE.interpolate(x4); in testGammaCorrectionChangeAtEdges()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTouchAnimator.java214 interpolate(i, amount, target); in setValue()
217 protected abstract void interpolate(int index, float amount, Object target); in interpolate() method in TouchAnimator.KeyframeSet
239 protected void interpolate(int index, float amount, Object target) { in interpolate() method in TouchAnimator.FloatKeyframeSet
257 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/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java494 return mSpline.interpolate(lux); in getBrightness()
593 return spline.interpolate(lux); in getUnadjustedBrightness()
681 float nits = mBrightnessSpline.interpolate(lux); in getBrightness()
682 float backlight = mNitsToBacklightSpline.interpolate(nits); in getBrightness()
716 return mBacklightToNitsSpline.interpolate(normalizeAbsoluteBrightness(backlight)); in convertToNits()
790 defaultBacklight[i] = mNitsToBacklightSpline.interpolate(defaultNits[i]); in computeSpline()
798 nits[i] = mBacklightToNitsSpline.interpolate(backlight[i]); in computeSpline()
806 return mNitsToBacklightSpline.interpolate(spline.interpolate(lux)); in getUnadjustedBrightness()
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java20 import static com.android.systemui.statusbar.notification.NotificationUtils.interpolate;
154 result.clockX = (int) interpolate(0, burnInPreventionOffsetX(), mDarkAmount); in run()
/frameworks/base/libs/hwui/tests/unit/
DPathInterpolatorTests.cpp85 EXPECT_FLOAT_EQ(data.outFraction[i], interpolator.interpolate(data.inFraction[i])); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java484 intrinsicHeight += NotificationUtils.interpolate(mChildPadding, mDividerHeight,
491 intrinsicHeight += NotificationUtils.interpolate(
507 intrinsicHeight += NotificationUtils.interpolate(mCollapsedBottompadding, 0.0f,
541 yPosition += NotificationUtils.interpolate(mChildPadding, mDividerHeight,
548 yPosition += NotificationUtils.interpolate(
695 alpha = NotificationUtils.interpolate(0, 0.5f,
774 alpha = NotificationUtils.interpolate(0, 0.5f,
1023 child.setActualHeight((int) NotificationUtils.interpolate(singleLineHeight,
DStackScrollAlgorithm.java291 newValue = NotificationUtils.interpolate( in initAlgorithmState()
296 newValue = NotificationUtils.interpolate( in initAlgorithmState()
340 return NotificationUtils.interpolate( in getPaddingForValue()
345 return NotificationUtils.interpolate( in getPaddingForValue()
DNotificationStackScrollLayout.java1301 stackHeight = (int) NotificationUtils.interpolate(stackStartPosition,
1310 translationY = NotificationUtils.interpolate(getExpandTranslationStart(), 0,
2357 padding = (int) NotificationUtils.interpolate(
2361 previousPaddingRequest = (int) NotificationUtils.interpolate(
2366 int ownPadding = (int) NotificationUtils.interpolate(
2371 padding = (int) NotificationUtils.interpolate(
3049 padding = (int) NotificationUtils.interpolate(
3054 padding = (int) NotificationUtils.interpolate(
3102 padding = (int) NotificationUtils.interpolate(
3106 previousPaddingRequest = (int) NotificationUtils.interpolate(
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java560 iconTransformDistance *= NotificationUtils.interpolate(1.f, 1.5f, expandAmount);
612 interpolatedAmount = NotificationUtils.interpolate(
722 float iconYTranslation = NotificationUtils.interpolate(
735 float newSize = NotificationUtils.interpolate(notificationIconSize, shelfIconSize,
851 int width = (int) NotificationUtils.interpolate(
866 float padding = NotificationUtils.interpolate(collapsedPadding,
870 float paddingStart = NotificationUtils.interpolate(start,
DFlingAnimationUtils.java87 mLinearOutSlowInX2 = NotificationUtils.interpolate(LINEAR_OUT_SLOW_IN_X2, in FlingAnimationUtils()
174 float startGradient = NotificationUtils.interpolate(LINEAR_OUT_SLOW_IN_START_GRADIENT, in getProperties()
/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/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceController.java276 mAmbientToDisplayColorTemperatureSpline.interpolate(ambientColorTemperature); in updateAmbientColorTemperature()

12