/frameworks/native/libs/ui/include_vndk/ui/ |
D | ColorSpace.h | 62 clamping_function clamper = saturate<float> 78 clamping_function clamper = saturate<float> 93 clamping_function clamper = saturate<float> 111 clamping_function clamper = saturate<float> 128 clamping_function clamper = saturate<float> 144 clamping_function clamper = saturate<float>
|
/frameworks/native/libs/ui/include_types/ui/ |
D | ColorSpace.h | 62 clamping_function clamper = saturate<float> 78 clamping_function clamper = saturate<float> 93 clamping_function clamper = saturate<float> 111 clamping_function clamper = saturate<float> 128 clamping_function clamper = saturate<float> 144 clamping_function clamper = saturate<float>
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | LockscreenShadeScrimTransitionController.kt | 63 scrimProgress = MathUtils.saturate(dragDownAmount / scrimTransitionDistance) in onDragDownAmountChanged() 66 MathUtils.saturate(notificationsScrimDragAmount / notificationsScrimTransitionDistance) in onDragDownAmountChanged()
|
D | LockscreenShadeQsTransitionController.kt | 130 qsTransitionFraction = MathUtils.saturate(qsDragDownAmount / qsTransitionDistance) in onDragDownAmountChanged() 135 /* amount= */ MathUtils.saturate(qsDragDownAmount / qsSquishTransitionDistance) in onDragDownAmountChanged()
|
D | LockscreenShadeKeyguardTransitionController.kt | 72 alphaProgress = MathUtils.saturate(dragDownAmount / alphaTransitionDistance) in onDragDownAmountChanged() 91 translationYProgress = MathUtils.saturate(dragDownAmount / keyguardTransitionDistance) in calculateKeyguardTranslationY()
|
D | SingleShadeLockScreenOverScroller.kt | 57 val overallProgress = MathUtils.saturate(expansionDragDownAmount / viewHeight) in overScroll()
|
D | LockscreenShadeTransitionController.kt | 418 MathUtils.saturate(dragDownAmount / notificationShelfTransitionDistance) in <lambda>() 446 MathUtils.saturate(dragDownAmount / depthControllerTransitionDistance) in <lambda>() 450 val udfpsProgress = MathUtils.saturate(dragDownAmount / udfpsTransitionDistance) in <lambda>() 454 val statusBarProgress = MathUtils.saturate(dragDownAmount / statusBarTransitionDistance) in <lambda>()
|
D | SplitShadeLockScreenOverScroller.kt | 100 val fullHeightProgress: Float = MathUtils.saturate(dragDownAmount / fullHeight) in <lambda>()
|
D | NotificationShadeDepthController.kt | 211 var zoomOut = MathUtils.saturate(blurUtils.ratioOfBlurRadius(shadeRadius)) in <lambda>() 351 val expansion = MathUtils.saturate( in <lambda>()
|
D | NotificationShelf.java | 562 topValue = MathUtils.saturate( 574 bottomValue = MathUtils.saturate(
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 640 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b))); in luminance() 916 return new Color(saturate(r), saturate(g), saturate(b), saturate(a)); in valueOf() 1230 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b))); in luminance() 1233 private static float saturate(float v) { in saturate() method in Color
|
/frameworks/native/libs/math/include/math/ |
D | scalar.h | 25 static constexpr T saturate(T v) noexcept { in saturate() function
|
D | TVecHelpers.h | 508 friend inline CONSTEXPR VECTOR<T> PURE saturate(const VECTOR<T>& lv) { in saturate() function
|
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 184 public static float saturate(float value) { in saturate() method in MathUtils 190 return saturate(lerpInv(a, b, value)); in lerpInvSat()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/ |
D | PhysicsBasedUnfoldTransitionProgressProvider.kt | 107 val progress = saturate(angle / FINAL_HINGE_ANGLE_POSITION) in onHingeAngleUpdate() 111 private fun saturate(amount: Float, low: Float = 0f, high: Float = 1f): Float = in saturate() method
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 176 static_assert(C2Segment(123u, 456u).saturate() == C2Segment(123u, 456u), ""); in StaticSegmentTest() 177 static_assert(C2Segment(123u, ~123u).saturate() == C2Segment(123u, ~123u), ""); in StaticSegmentTest() 178 static_assert(C2Segment(123u, 1 + ~123u).saturate() == C2Segment(123u, ~123u), ""); in StaticSegmentTest() 181 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, 1 + ~150u).saturate()).normalize() =… in StaticSegmentTest() 182 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 100u).saturate()).normalize() == C2Seg… in StaticSegmentTest() 183 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() != C2… in StaticSegmentTest() 184 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() == C2… in StaticSegmentTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanelController.kt | 554 val yProgress = MathUtils.saturate(yTranslation / (maxYOffset * rubberbandAmount)) in <lambda>() 568 return MathUtils.saturate(progress) in <lambda>() 576 return MathUtils.saturate(xTranslation / params.staticTriggerThreshold) in <lambda>() 580 return MathUtils.saturate(totalTouchDelta / params.reactivationTriggerThreshold) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardClockPositionAlgorithm.java | 368 float qsAlphaFactor = MathUtils.saturate(mQsExpansion / 0.3f); in getClockAlpha()
|
D | HeadsUpAppearanceController.java | 444 float roundness = MathUtils.saturate(1f - mAppearFraction); in updateHeadsUpAndPulsingRoundness()
|
D | KeyguardStatusBarViewController.java | 625 alpha = MathUtils.saturate(alpha); in getKeyguardContentsAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaCarouselScrollHandler.kt | 261 val alpha = MathUtils.saturate(MathUtils.map(0.5f, 1.0f, 0.0f, 1.0f, settingsOffset)) in updateSettingsPresentation()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 553 dimAmount = MathUtils.saturate(dimAmount); in calculateDarkHints()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaHierarchyManager.kt | 344 val progress = MathUtils.saturate(value / distanceForFullShadeTransition) in setTransitionToFullShadeAmount()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | QuickSettingsControllerImpl.java | 1500 top *= MathUtils.saturate(realFraction / minFraction); in calculateTopClippingBound() 2270 MathUtils.saturate(pxAmount / mDistanceForFullShadeTransition)); in setTransitionToFullShadeAmount()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 333 inline constexpr C2Segment saturate() const { in saturate() function
|