/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/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/graphics/java/android/graphics/ |
D | Color.java | 638 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/ |
D | basic_op.h | 34 #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/ |
D | scalar.h | 25 static constexpr T saturate(T v) noexcept { in saturate() function
|
D | TVecHelpers.h | 495 friend inline CONSTEXPR VECTOR<T> PURE saturate(const VECTOR<T>& lv) { in saturate() function
|
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 179 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/ |
D | C2BufferTest.cpp | 175 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/ |
D | NotificationRoundnessManager.java | 141 return MathUtils.saturate(1.0f - mAppearFraction); in getRoundness()
|
D | NotificationStackScrollLayout.java | 1447 appear = MathUtils.saturate(calculateAppearFraction(mExpandedHeight));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarEdgePanel.java | 701 float progress = MathUtils.saturate(diff / (mScreenSize - mBaseTranslation)); in handleMoveEvent() 707 float progress = MathUtils.saturate(diff / mBaseTranslation); in handleMoveEvent()
|
D | NotificationPanelViewController.java | 2198 alpha = MathUtils.saturate(alpha); in getKeyguardContentsAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaCarouselScrollHandler.kt | 246 val alpha = MathUtils.saturate(MathUtils.map(0.5f, 1.0f, 0.0f, 1.0f, settingsOffset)) in updateSettingsPresentation()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 330 inline constexpr C2Segment saturate() const { in saturate() function
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 7448 HSPLandroid/graphics/Color;->saturate(F)F 20443 HSPLandroid/util/MathUtils;->saturate(F)F
|