Home
last modified time | relevance | path

Searched refs:saturate (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h62 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/ui/
DColorSpace.h62 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/graphics/java/android/graphics/
DColor.java638 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b))); in luminance()
914 return new Color(saturate(r), saturate(g), saturate(b), saturate(a)); in valueOf()
1228 return saturate((float) ((0.2126 * r) + (0.7152 * g) + (0.0722 * b))); in luminance()
1231 private static float saturate(float v) { in saturate() method in Color
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ?… macro
131 var_out = saturate (L_sum); in add()
174 var_out = saturate (L_diff); in sub()
350 var_out = saturate (L_product); in mult()
677 var_out = saturate (L_product_arr); in mult_r()
/frameworks/native/libs/math/include/math/
Dscalar.h25 static constexpr T saturate(T v) noexcept { in saturate() function
DTVecHelpers.h495 friend inline CONSTEXPR VECTOR<T> PURE saturate(const VECTOR<T>& lv) { in saturate() function
/frameworks/base/core/java/android/util/
DMathUtils.java179 public static float saturate(float value) { in saturate() method in MathUtils
185 return saturate(lerpInv(a, b, value)); in lerpInvSat()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp175 static_assert(C2Segment(123u, 456u).saturate() == C2Segment(123u, 456u), ""); in StaticSegmentTest()
176 static_assert(C2Segment(123u, ~123u).saturate() == C2Segment(123u, ~123u), ""); in StaticSegmentTest()
177 static_assert(C2Segment(123u, 1 + ~123u).saturate() == C2Segment(123u, ~123u), ""); in StaticSegmentTest()
180 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(150u, 1 + ~150u).saturate()).normalize() =… in StaticSegmentTest()
181 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(0u, 100u).saturate()).normalize() == C2Seg… in StaticSegmentTest()
182 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() != C2… in StaticSegmentTest()
183 …static_assert(C2Segment(123u, 456u).intersect(C2Segment(1000u, 100u).saturate()).normalize() == C2… in StaticSegmentTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationRoundnessManager.java141 return MathUtils.saturate(1.0f - mAppearFraction); in getRoundness()
DNotificationStackScrollLayout.java1447 appear = MathUtils.saturate(calculateAppearFraction(mExpandedHeight));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarEdgePanel.java701 float progress = MathUtils.saturate(diff / (mScreenSize - mBaseTranslation)); in handleMoveEvent()
707 float progress = MathUtils.saturate(diff / mBaseTranslation); in handleMoveEvent()
DNotificationPanelViewController.java2198 alpha = MathUtils.saturate(alpha); in getKeyguardContentsAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaCarouselScrollHandler.kt246 val alpha = MathUtils.saturate(MathUtils.map(0.5f, 1.0f, 0.0f, 1.0f, settingsOffset)) in updateSettingsPresentation()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h330 inline constexpr C2Segment saturate() const { in saturate() function
/frameworks/base/config/
Dboot-image-profile.txt7448 HSPLandroid/graphics/Color;->saturate(F)F
20443 HSPLandroid/util/MathUtils;->saturate(F)F