Home
last modified time | relevance | path

Searched refs:linear (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/libs/hwui/utils/
DColor.h80 static constexpr float OECF_sRGB(float linear) { in OECF_sRGB() argument
82 return linear <= 0.0031308f ? linear * 12.92f : (powf(linear, 1.0f / 2.4f) * 1.055f) - 0.055f; in OECF_sRGB()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt231 override fun onDozeAmountChanged(linear: Float, eased: Float) { in onDozeAmountChanged()
235 if (linear != 1.0f && linear != 0.0f in onDozeAmountChanged()
240 setDozeAmount(linear, eased) in onDozeAmountChanged()
243 fun setDozeAmount(linear: Float, eased: Float) { in setDozeAmount()
244 val changed = linear != mLinearDozeAmount in setDozeAmount()
245 mLinearDozeAmount = linear in setDozeAmount()
249 if (changed && linear == 0.0f) { in setDozeAmount()
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h288 float3 linear = mSource.toLinear(apply(v, mSource.getClamper())); in transform() local
289 return apply(mDestination.fromLinear(mTransform * linear), mDestination.getClamper()); in transform()
293 float3 linear = apply(v, mSource.getClamper()); in transformLinear() local
294 return apply(mTransform * linear, mDestination.getClamper()); in transformLinear()
/frameworks/native/libs/ui/include/ui/
DColorSpace.h288 float3 linear = mSource.toLinear(apply(v, mSource.getClamper())); in transform() local
289 return apply(mDestination.fromLinear(mTransform * linear), mDestination.getClamper()); in transform()
293 float3 linear = apply(v, mSource.getClamper()); in transformLinear() local
294 return apply(mTransform * linear, mDestination.getClamper()); in transformLinear()
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
DChangeTouchModeTest.java25 import android.widget.layout.linear.LLOfButtons1;
26 import android.widget.layout.linear.LLOfButtons2;
DFocusableInTouchModeClickTest.java21 import android.widget.layout.linear.LLOfTwoFocusableInTouchMode;
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfButtons2.java17 package android.widget.layout.linear;
DWeightSum.java17 package android.widget.layout.linear;
DBaselineAlignmentCenterGravity.java17 package android.widget.layout.linear;
DWeight.java17 package android.widget.layout.linear;
DHorizontalOrientationVerticalAlignment.java17 package android.widget.layout.linear;
DLinearLayoutEditTexts.java17 package android.widget.layout.linear;
DBaselineButtons.java17 package android.widget.layout.linear;
DFillInWrap.java17 package android.widget.layout.linear;
DBaselineAlignmentZeroWidthAndWeight.java17 package android.widget.layout.linear;
DExceptionTextView.java17 package android.widget.layout.linear;
DFillInWrapTest.java17 package android.widget.layout.linear;
DBaselineAlignmentSpinnerButton.java17 package android.widget.layout.linear;
DLLEditTextThenButton.java17 package android.widget.layout.linear;
DLinearLayoutEditTextsTest.java17 package android.widget.layout.linear;
DLLOfButtons1.java17 package android.widget.layout.linear;
DWeightSumTest.java17 package android.widget.layout.linear;
DWeightTest.java17 package android.widget.layout.linear;
DBaselineAlignmentZeroWidthAndWeightTest.java17 package android.widget.layout.linear;
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java95 default void onDozeAmountChanged(float linear, float eased) {} in onDozeAmountChanged() argument

12