Home
last modified time | relevance | path

Searched refs:transformation (Results 1 – 25 of 181) sorted by relevance

12345678

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
DBackTransformationTest.kt29 val transformation = BackTransformation() in defaultValue_noTransformation() constant
31 assertThat(transformation.translateX).isNaN() in defaultValue_noTransformation()
32 assertThat(transformation.translateY).isNaN() in defaultValue_noTransformation()
33 assertThat(transformation.scale).isNaN() in defaultValue_noTransformation()
38 val transformation = BackTransformation(translateX = 0f, translateY = 0f, scale = 1f) in applyTo_targetView_translateX_Y_Scale() constant
40 transformation.applyTo(targetView = targetView) in applyTo_targetView_translateX_Y_Scale()
51 val transformation = BackTransformation(translateX = 1f) in applyTo_targetView_translateX() constant
53 transformation.applyTo(targetView = targetView) in applyTo_targetView_translateX()
61 val transformation = BackTransformation(translateY = 2f) in applyTo_targetView_translateY() constant
63 transformation.applyTo(targetView = targetView) in applyTo_targetView_translateY()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DTransitionDslImpl.kt29 import com.android.compose.animation.scene.transformation.AnchoredSize
30 import com.android.compose.animation.scene.transformation.AnchoredTranslate
31 import com.android.compose.animation.scene.transformation.DrawScale
32 import com.android.compose.animation.scene.transformation.EdgeTranslate
33 import com.android.compose.animation.scene.transformation.Fade
34 import com.android.compose.animation.scene.transformation.OverscrollTranslate
35 import com.android.compose.animation.scene.transformation.PropertyTransformation
36 import com.android.compose.animation.scene.transformation.RangedPropertyTransformation
37 import com.android.compose.animation.scene.transformation.ScaleSize
38 import com.android.compose.animation.scene.transformation.SharedElementTransformation
[all …]
DSceneTransitions.kt28 import com.android.compose.animation.scene.transformation.AnchoredSize in <lambda>()
29 import com.android.compose.animation.scene.transformation.AnchoredTranslate in <lambda>()
30 import com.android.compose.animation.scene.transformation.DrawScale in <lambda>()
31 import com.android.compose.animation.scene.transformation.EdgeTranslate in <lambda>()
32 import com.android.compose.animation.scene.transformation.Fade in <lambda>()
33 import com.android.compose.animation.scene.transformation.OverscrollTranslate in <lambda>()
34 import com.android.compose.animation.scene.transformation.PropertyTransformation in <lambda>()
35 import com.android.compose.animation.scene.transformation.RangedPropertyTransformation in <lambda>()
36 import com.android.compose.animation.scene.transformation.ScaleSize in <lambda>()
37 import com.android.compose.animation.scene.transformation.SharedElementTransformation in <lambda>()
[all …]
DElement.kt51 import com.android.compose.animation.scene.transformation.PropertyTransformation in <lambda>()
52 import com.android.compose.animation.scene.transformation.SharedElementTransformation in <lambda>()
334 transformation = { it.offset }, in Placeable()
813 transformation = { it.alpha }, in elementAlpha()
881 transformation = { it.size }, in measure()
938 transformation = { it.drawScale }, in size()
1024 transformation: (ElementTransformations) -> PropertyTransformation<T>?, in computeValue()
1055 val propertySpec = transformation(elementSpec) ?: return currentValue() in computeValue()
1121 val transformation = in computeValue() constant
1122 transformation(transition.transformationSpec.transformations(element.key, scene)) in computeValue()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java122 tmp.transformation.clear(); in apply()
123 mAnimation.getTransformation(currentPlayTime, tmp.transformation); in apply()
124 tmp.transformation.getMatrix().postTranslate(mPosition.x, mPosition.y); in apply()
125 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats); in apply()
126 t.setAlpha(leash, tmp.transformation.getAlpha()); in apply()
130 if (tmp.transformation.hasClipRect()) { in apply()
131 final Rect clipRect = tmp.transformation.getClipRect(); in apply()
132 accountForExtension(tmp.transformation, clipRect); in apply()
138 if (tmp.transformation.hasClipRect()) { in apply()
139 mTmpRect.intersect(tmp.transformation.getClipRect()); in apply()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCustomCrossActivityBackAnimation.kt54 private val transformation = Transformation() in <lambda>() constant
101 transformation.clear() in <lambda>()
102 enterAnimation!!.getTransformationAt(progress * PRE_COMMIT_MAX_PROGRESS, transformation) in <lambda>()
103 return transformation in <lambda>()
158 transformation.clear() in <lambda>()
159 animation.getTransformationAt(progress, transformation) in <lambda>()
160 applyTransform(leash, rect, transformation.alpha, transformation, flingMode) in <lambda>()
168 transformation.clear() in <lambda>()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreBCWorkaroundProvider.java251 private void putSymmetricCipherImpl(String transformation, String implClass) { in putSymmetricCipherImpl() argument
252 put("Cipher." + transformation, implClass); in putSymmetricCipherImpl()
253 put("Cipher." + transformation + " SupportedKeyClasses", KEYSTORE_SECRET_KEY_CLASS_NAME); in putSymmetricCipherImpl()
256 private void putAsymmetricCipherImpl(String transformation, String implClass) { in putAsymmetricCipherImpl() argument
257 put("Cipher." + transformation, implClass); in putAsymmetricCipherImpl()
258 put("Cipher." + transformation + " SupportedKeyClasses", in putAsymmetricCipherImpl()
/frameworks/base/core/java/android/service/autofill/
DInternalTransformation.java68 final InternalTransformation transformation = pair.second; in batchApply() local
69 if (sDebug) Log.d(TAG, "#" + i + ": " + transformation); in batchApply()
72 transformation.apply(finder, template, id); in batchApply()
75 Log.e(TAG, "Could not apply transformation " + transformation + ": " in batchApply()
DBatchUpdates.java118 public Builder transformChild(int id, @NonNull Transformation transformation) { in transformChild() argument
120 Preconditions.checkArgument((transformation instanceof InternalTransformation), in transformChild()
121 "not provided by Android System: %s", transformation); in transformChild() local
125 mTransformations.add(new Pair<>(id, (InternalTransformation) transformation)); in transformChild()
DCustomDescription.java181 public Builder addChild(int id, @NonNull Transformation transformation) { in addChild() argument
183 Preconditions.checkArgument((transformation instanceof InternalTransformation), in addChild()
184 "not provided by Android System: %s", transformation); in addChild() local
188 mTransformations.add(new Pair<>(id, (InternalTransformation) transformation)); in addChild()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DAnchoredTranslate.kt17 package com.android.compose.animation.scene.transformation
43 transformation = "AnchoredTranslate", in transform()
78 transformation: String, in throwMissingAnchorException()
87 $transformation, you should make sure that the composition and layout of anchor is *not* in throwMissingAnchorException()
DAnchoredSize.kt17 package com.android.compose.animation.scene.transformation
48 transformation = "AnchoredSize", in transform()
DFade.kt17 package com.android.compose.animation.scene.transformation
DDrawScale.kt17 package com.android.compose.animation.scene.transformation
DScaleSize.kt17 package com.android.compose.animation.scene.transformation
DTranslate.kt17 package com.android.compose.animation.scene.transformation
DEdgeTranslate.kt17 package com.android.compose.animation.scene.transformation
/frameworks/rs/script_api/
Drs_matrix.spec31 To create a transformation matrix that performs two transformations at once,
32 multiply the two source matrices, with the first transformation as the right
33 argument. E.g. to create a transformation matrix that applies the
34transformation s1 followed by s2, call <code>rsMatrixLoadMultiply(&amp;combined, &amp;s2, &amp;s1)…
37 We have two style of functions to create transformation matrices:
39 style simply stores the transformation matrix in the first argument. The latter
40 modifies a pre-existing transformation matrix so that the new transformation
292 To combine two 4x4 transformaton matrices, multiply the second transformation matrix
293 by the first transformation matrix. E.g. to create a transformation matrix that applies
294 …the transformation s1 followed by s2, call <code>rsMatrixLoadMultiply(&amp;combined, &amp;s2, &amp…
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DWrappedKeyEntry.java89 public WrappedKeyEntry(byte[] wrappedKeyBytes, String wrappingKeyAlias, String transformation, in WrappedKeyEntry() argument
93 mTransformation = transformation; in WrappedKeyEntry()
/frameworks/rs/script_api/include/
Drs_matrix.rsh33 * To create a transformation matrix that performs two transformations at once,
34 * multiply the two source matrices, with the first transformation as the right
35 * argument. E.g. to create a transformation matrix that applies the
36 * transformation s1 followed by s2, call rsMatrixLoadMultiply(&combined, &s2, &s1).
39 * We have two style of functions to create transformation matrices:
41 * style simply stores the transformation matrix in the first argument. The latter
42 * modifies a pre-existing transformation matrix so that the new transformation
305 * To combine two 4x4 transformaton matrices, multiply the second transformation matrix
306 * by the first transformation matrix. E.g. to create a transformation matrix that applies
307 * the transformation s1 followed by s2, call rsMatrixLoadMultiply(&combined, &s2, &s1).
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DTransitionDslTest.kt25 import com.android.compose.animation.scene.transformation.OverscrollTranslate
26 import com.android.compose.animation.scene.transformation.Transformation
27 import com.android.compose.animation.scene.transformation.TransformationRange
237 val transformation = overscrollSpec.transformationSpec.transformations.single() in overscrollSpec() constant
238 assertThat(transformation).isInstanceOf(OverscrollTranslate::class.java) in overscrollSpec()
/frameworks/base/core/java/android/widget/
DTextViewTranslationCallback.java99 final TransformationMethod transformation = mTranslationTransformation; in onShowTranslation() local
134 textView.setTransformationMethod(transformation); in onShowTranslation()
159 final TransformationMethod transformation = in onHideTranslation() local
176 textView.setTransformationMethod(transformation); in onHideTranslation()
/frameworks/base/core/java/android/os/
DCombinedVibration.java141 VibrationEffect.Transformation<ParamT> transformation, ParamT param); in transform() argument
395 VibrationEffect.Transformation<ParamT> transformation, ParamT param) { in transform() argument
396 VibrationEffect newEffect = transformation.transform(mEffect, param); in transform()
566 VibrationEffect.Transformation<ParamT> transformation, ParamT param) {
572 VibrationEffect newEffect = transformation.transform(effect, param);
795 VibrationEffect.Transformation<ParamT> transformation, ParamT param) {
800 CombinedVibration newVibration = vibration.transform(transformation, param);
/frameworks/base/tools/protologtool/
DREADME.md3 Code transformation tool and viewer for ProtoLog.
9 ### Code transformation
35 logging method. The transformation is done on the source level. A hash is generated from the format
/frameworks/base/core/java/android/view/animation/
DAnimation.java1208 RectF invalidate, Transformation transformation) { in getInvalidateRegion() argument
1214 transformation.getMatrix().mapRect(invalidate); in getInvalidateRegion()
1225 tempTransformation.set(transformation); in getInvalidateRegion()
1226 transformation.set(previousTransformation); in getInvalidateRegion()

12345678