Home
last modified time | relevance | path

Searched refs:Scale (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/ui/util/
DMathHelpersTest.kt5 import com.android.compose.animation.scene.Scale
15 val scale1 = Scale(1f, 1f) in lerpScaleWithPivotUnspecified()
16 val scale2 = Scale(5f, 3f) in lerpScaleWithPivotUnspecified()
17 val expectedScale = Scale(3f, 2f) in lerpScaleWithPivotUnspecified()
26 val scale1 = Scale(1f, 1f, Offset(1f, 1f)) in lerpScaleWithFirstPivotSpecified()
27 val scale2 = Scale(5f, 3f) in lerpScaleWithFirstPivotSpecified()
28 val expectedScale = Scale(3f, 2f, Offset(1f, 1f)) in lerpScaleWithFirstPivotSpecified()
37 val scale1 = Scale(1f, 1f) in lerpScaleWithSecondPivotSpecified()
38 val scale2 = Scale(5f, 3f, Offset(1f, 1f)) in lerpScaleWithSecondPivotSpecified()
39 val expectedScale = Scale(3f, 2f, Offset(1f, 1f)) in lerpScaleWithSecondPivotSpecified()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DDrawScale.kt22 import com.android.compose.animation.scene.Scale
36 ) : PropertyTransformation<Scale> {
44 value: Scale, in transform()
45 ): Scale { in transform()
46 return Scale(scaleX, scaleY, pivot) in transform()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/ui/util/
DMathHelpers.kt24 import com.android.compose.animation.scene.Scale
35 fun lerp(start: Scale, stop: Scale, fraction: Float): Scale { in lerp()
43 return Scale( in lerp()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DElement.kt91 var lastScale = Scale.Unspecified in <lambda>()
97 var scaleBeforeInterruption = Scale.Unspecified in <lambda>()
108 var scaleInterruptionDelta = Scale.Zero in <lambda>()
125 data class Scale(val scaleX: Float, val scaleY: Float, val pivot: Offset = Offset.Unspecified) { dataClass
127 val Default = Scale(1f, 1f, Offset.Unspecified)
128 val Zero = Scale(0f, 0f, Offset.Zero)
129 val Unspecified = Scale(Float.MAX_VALUE, Float.MAX_VALUE, Offset.Unspecified)
410 lastScale = Scale.Unspecified in recursivelyClearPlacementValues()
426 if (drawScale == Scale.Default) { in draw()
519 sceneState.scaleInterruptionDelta = Scale.Zero in prepareInterruption()
[all …]
DSceneTransitions.kt294 var drawScale: PropertyTransformation<Scale>? = null in computeTransformations()
316 drawScale = root as PropertyTransformation<Scale> in computeTransformations()
359 val drawScale: PropertyTransformation<Scale>?,
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DFilters.h39 LVM_UINT16 Scale; member
49 LVM_UINT16 Scale; member
/frameworks/native/libs/renderengine/skia/filters/
DBlurFilter.cpp56 auto matrix = SkMatrix::Scale(scale, scale); in getShaderTransform()
/frameworks/native/services/surfaceflinger/tests/
DSetGeometry_test.cpp81 TEST_F(SetGeometryTest, Scale) { in TEST_F() argument
/frameworks/base/libs/hwui/
DDisplayListOps.in23 X(Scale)
DRecordingCanvas.cpp166 struct Scale final : Op { struct
167 static const auto kType = Type::Scale; argument
168 Scale(SkScalar sx, SkScalar sy) : sx(sx), sy(sy) {} in Scale() function
814 this->push<Scale>(0, sx, sy); in scale()
/frameworks/base/libs/hwui/tests/unit/
DSkiaRenderPropertiesTests.cpp115 SkMatrix staticMatrix = SkMatrix::Scale(1.2f, 1.2f); in TEST()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DElementTest.kt1266 assertThat(stateInC.scaleBeforeInterruption).isEqualTo(Scale.Unspecified) in <lambda>()
1270 assertThat(stateInC.scaleInterruptionDelta).isEqualTo(Scale.Zero) in <lambda>()
1764 assertThat(fooInA.lastScale).isNotEqualTo(Scale.Unspecified) in <lambda>()
1768 assertThat(barInA.lastScale).isNotEqualTo(Scale.Unspecified) in <lambda>()
1784 assertThat(fooInA.lastScale).isEqualTo(Scale.Unspecified) in <lambda>()
1787 assertThat(fooInB.lastScale).isNotEqualTo(Scale.Unspecified) in <lambda>()
1791 assertThat(barInA.lastScale).isEqualTo(Scale.Unspecified) in <lambda>()
1794 assertThat(barInB.lastScale).isNotEqualTo(Scale.Unspecified) in <lambda>()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h71 static inline vec2i Scale(const vec2i& v, float scale) { in Scale() function
/frameworks/av/media/libstagefright/
Dexports.lds357 Scale*;
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Drain_shower_layer.agsl46 // Scale the UV to allocate number of rows and columns.
/frameworks/base/libs/hwui/jni/pdf/
DPdfEditor.cpp129 SkMatrix reflectOnX = SkMatrix::Scale(1, -1); in nativeSetTransformAndClip()
/frameworks/proto_logging/stats/atoms/framework/
Dframework_extension_atoms.proto201 // Scale-invariant errors.
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp745 TEST_F(MotionEventTest, Scale) { in TEST_F() argument
/frameworks/base/boot/
Dboot-image-profile.txt9283 HSPLandroid/icu/impl/number/MultiplierFormatHandler;-><init>(Landroid/icu/number/Scale;Landroid/icu…
9347 …;->scaleFromProperties(Landroid/icu/impl/number/DecimalFormatProperties;)Landroid/icu/number/Scale;
9492 HSPLandroid/icu/number/Scale;->applyTo(Landroid/icu/impl/number/DecimalQuantity;)V
9493 HSPLandroid/icu/number/Scale;->powerOfTen(I)Landroid/icu/number/Scale;
9494 HSPLandroid/icu/number/Scale;->withMathContext(Ljava/math/MathContext;)Landroid/icu/number/Scale;
26568 Landroid/icu/number/Scale;
Dpreloaded-classes4181 android.icu.number.Scale
/frameworks/base/config/
Dboot-image-profile.txt9286 HSPLandroid/icu/impl/number/MultiplierFormatHandler;-><init>(Landroid/icu/number/Scale;Landroid/icu…
9350 …;->scaleFromProperties(Landroid/icu/impl/number/DecimalFormatProperties;)Landroid/icu/number/Scale;
9495 HSPLandroid/icu/number/Scale;->applyTo(Landroid/icu/impl/number/DecimalQuantity;)V
9496 HSPLandroid/icu/number/Scale;->powerOfTen(I)Landroid/icu/number/Scale;
9497 HSPLandroid/icu/number/Scale;->withMathContext(Ljava/math/MathContext;)Landroid/icu/number/Scale;
36702 Landroid/icu/number/Scale;
Dpreloaded-classes4185 android.icu.number.Scale