Home
last modified time | relevance | path

Searched refs:transform (Results 1 – 17 of 17) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DILayerProperties.kt41 val transform: Transform constant
53 get() = transform.isScaling
55 get() = transform.isTranslating
57 get() = transform.isRotating
141 null -> !transform.isSimpleRotation in isAnimating()
144 transform != prevLayerState.transform || in isAnimating()
DDisplay.kt35 val transform: Transform, constant in android.tools.traces.surfaceflinger.Display
47 val requestedRotation = transform.getRotation() in navBarPosition()
79 if (transform != other.transform) return false in equals()
91 result = 31 * result + transform.hashCode() in hashCode()
107 transform = Transform.EMPTY, in <lambda>()
120 transform: Transform, in from()
125 Display(id, name, layerStackId, size, layerStackSpace, transform, isVirtual, dpiX, dpiY) in from()
DLayerProperties.kt38 override val transform: Transform = Transform.EMPTY, constant in android.tools.traces.surfaceflinger.LayerProperties
61 result = 31 * result + transform.hashCode() in hashCode()
80 "screenBounds=$screenBounds, transform=$transform, " + in toString()
102 if (transform != other.transform) return false in equals()
132 transform: Transform, in from()
154 transform, in from()
DLayer.kt141 if (!transform.isValid) reasons.add("Transform is invalid")
180 return if (!this.transform.isSimpleRotation || !innerLayer.transform.isSimpleRotation) { in contains()
263 if (transform != other.transform) return false in equals()
287 result = 31 * result + transform.hashCode() in hashCode()
330 transform: Transform, in from()
353 transform, in from()
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DFilmstrip.kt159 val transform = Matrix() in render() constant
164 transform.reset() in render()
165 transform.setTranslate(left, 0f) in render()
166 transform.postScale(scale, scale, left, 0f) in render()
170 /* matrix = */ transform, in render()
210 val transform = Matrix() in render() constant
214 transform.reset() in render()
215 transform.setTranslate(0f, top) in render()
216 transform.postScale(scale, scale, 0f, top) in render()
220 /* matrix = */ transform, in render()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockLayerBuilder.kt67 val transform = Transform.from(0, Matrix33.identity(0f, 0f)) in <lambda>() constant
85 transform = transform, in <lambda>()
88 bufferTransform = transform, in <lambda>()
DMockLayerTraceEntryBuilder.kt55 transform = Transform.EMPTY, in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt298 private fun newTransform(transform: Args?, position: Args?) = in <lambda>()
299 Transform.from(transform?.getChild("type")?.getInt(), getMatrix(transform, position)) in <lambda>()
301 private fun getMatrix(transform: Args?, position: Args?): Matrix33 { in <lambda>()
306 transform == null || in <lambda>()
307 Transform.isSimpleTransform(transform.getChild("type")?.getInt()) in <lambda>()
309 return transform?.getChild("type")?.getInt().getDefaultTransform(x, y) in <lambda>()
313 transform.getChild("dsdx")?.getFloat() ?: 0f, in <lambda>()
314 transform.getChild("dtdx")?.getFloat() ?: 0f, in <lambda>()
316 transform.getChild("dsdy")?.getFloat() ?: 0f, in <lambda>()
317 transform.getChild("dtdy")?.getFloat() ?: 0f, in <lambda>()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DXmlRunListener.java43 import javax.xml.transform.OutputKeys;
44 import javax.xml.transform.Source;
45 import javax.xml.transform.Transformer;
46 import javax.xml.transform.TransformerException;
47 import javax.xml.transform.TransformerFactory;
48 import javax.xml.transform.dom.DOMSource;
49 import javax.xml.transform.stream.StreamResult;
149 javax.xml.transform.Result output = new StreamResult(writer); in endTestSuite()
152 transformer.transform(input, output); in endTestSuite()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DConditionsFactory.kt271 transform: Int in <lambda>()
276 "transform=$transform]" in <lambda>()
280 .any { layer -> isTransformFlagSet(layer, transform) } in <lambda>()
283 fun isLayerTransformFlagSet(layerId: Int, transform: Int): Condition<DeviceStateDump> = in <lambda>()
284 Condition("isLayerTransformFlagSet[$layerId, $transform]") { in <lambda>()
286 layer?.transform?.type?.isFlagSet(transform) ?: false in <lambda>()
298 private fun isTransformFlagSet(layer: Layer, transform: Int): Boolean = in <lambda>()
299 layer.transform.type?.isFlagSet(transform) ?: false in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DScenarioInstanceImpl.kt93 startRotation = displayAtStart.transform.getRotation(), in <lambda>()
94 endRotation = displayAtEnd.transform.getRotation(), in <lambda>()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java45 import javax.xml.transform.dom.DOMSource;
46 import javax.xml.transform.stream.StreamResult;
47 import javax.xml.transform.TransformerFactory;
48 import javax.xml.transform.Transformer;
49 import javax.xml.transform.TransformerException;
292 transformer.transform(source, result); in tryUpdateVintfManifest()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayerTraceEntryBuilderTest.kt96 transform = Transform.EMPTY, in removesLayersFromOffDisplays()
118 transform = Transform.EMPTY, in removesLayersFromOffDisplays()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DWindowManagerStateHelperTest.kt96 val transform = Transform.from(0, Matrix33.EMPTY) in <lambda>() constant
118 transform = transform, in <lambda>()
121 bufferTransform = transform, in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DTaggedCujTransitionMatcher.kt69 transforms.fold(completeTransitions) { transitions, transform -> in <lambda>() method
72 transform(transitions, cujEntry, reader) in <lambda>()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultHandler.java49 import javax.xml.transform.Transformer;
50 import javax.xml.transform.TransformerException;
51 import javax.xml.transform.TransformerFactory;
52 import javax.xml.transform.stream.StreamResult;
53 import javax.xml.transform.stream.StreamSource;
591 transformer.transform(new StreamSource(inputXml), new StreamResult(outputStream)); in createFailureReport()
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DWindowUtils.kt120 val requestedRotation = display.transform.getRotation() in getNavigationBarPosition()