/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | HtmlWriter.java | 26 import javax.xml.transform.Transformer; 27 import javax.xml.transform.TransformerException; 28 import javax.xml.transform.TransformerFactory; 29 import javax.xml.transform.stream.StreamResult; 30 import javax.xml.transform.stream.StreamSource; 69 transformer.transform(xmlSource, result); in printHtmlReport()
|
D | XmlWriter.java | 47 import javax.xml.transform.Transformer; 48 import javax.xml.transform.TransformerException; 49 import javax.xml.transform.TransformerFactory; 50 import javax.xml.transform.dom.DOMSource; 51 import javax.xml.transform.stream.StreamResult; 92 transformer.transform(source, result); in dumpXml()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | HtmlReport.java | 29 import javax.xml.transform.Transformer; 30 import javax.xml.transform.TransformerException; 31 import javax.xml.transform.TransformerFactory; 32 import javax.xml.transform.stream.StreamResult; 33 import javax.xml.transform.stream.StreamSource; 71 transformer.transform(xmlSource, result); in printHtmlReport()
|
D | NdkApiXmlReport.java | 41 import javax.xml.transform.OutputKeys; 42 import javax.xml.transform.Transformer; 43 import javax.xml.transform.TransformerException; 44 import javax.xml.transform.TransformerFactory; 45 import javax.xml.transform.dom.DOMSource; 46 import javax.xml.transform.stream.StreamResult; 165 tr.transform( in main() 271 tr.transform(new DOMSource(dom), new StreamResult(new FileOutputStream(xml))); in saveToXML()
|
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/ |
D | CommonRendererTest.java | 128 Matrix transform = new Matrix(); in renderPerspective() local 130 transform.setValues(new float[]{1, 1, 1, 1, 1, 1, 1, 1, 1}); in renderPerspective() 132 assertException(null, transform, RenderParams.RENDER_MODE_FOR_DISPLAY); in renderPerspective() 137 Matrix transform = new Matrix(); in render45degreeRotationTranslationAndScaleAndClip() local 139 transform.postRotate(45); in render45degreeRotationTranslationAndScaleAndClip() 141 transform.postTranslate(A4_WIDTH_PTS / 4, A4_HEIGHT_PTS / 4); in render45degreeRotationTranslationAndScaleAndClip() 143 transform.postScale(0.75f, 0.75f); in render45degreeRotationTranslationAndScaleAndClip() 147 assertUsingRenderAndCompare(A4_WIDTH_PTS, A4_HEIGHT_PTS, clip, transform); in render45degreeRotationTranslationAndScaleAndClip() 259 private void assertUsingRenderAndCompare(int width, int height, Rect clip, Matrix transform) in assertUsingRenderAndCompare() argument 261 renderAndCompare(width, height, A4_PORTRAIT, clip, transform, in assertUsingRenderAndCompare() [all …]
|
/cts/tests/signature/api-check/scripts/ |
D | transform_expected_failures.py | 11 def transform(self, errors: str, expected_types: str | None = None) -> None: member in TransformExpectedFailures 49 TransformExpectedFailures().transform(sys.argv[1]) 51 TransformExpectedFailures().transform(sys.argv[1], sys.argv[2])
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareBufferRendererTests.kt | 126 val expectedRed = srcToDst.transform(1.0f, 0.0f, 0.0f) in <lambda>() 127 val expectedBlue = srcToDst.transform(0.0f, 0.0f, 1.0f) in <lambda>() 206 transform: Int = SurfaceControl.BUFFER_TRANSFORM_IDENTITY, in <lambda>() 214 if (transform == SurfaceControl.BUFFER_TRANSFORM_ROTATE_90 || in <lambda>() 215 transform == SurfaceControl.BUFFER_TRANSFORM_ROTATE_270) { in <lambda>() 244 .setBufferTransform(transform) in <lambda>() 316 transform = SurfaceControl.BUFFER_TRANSFORM_IDENTITY in <lambda>() 331 transform = SurfaceControl.BUFFER_TRANSFORM_IDENTITY in <lambda>() 346 transform = SurfaceControl.BUFFER_TRANSFORM_ROTATE_90 in <lambda>() 361 transform = SurfaceControl.BUFFER_TRANSFORM_ROTATE_90 in <lambda>() [all …]
|
/cts/tests/tests/mediaediting/ |
D | README.md | 9 | TransformHdrToSdrToneMapTest | Test transform HDR to SDR ToneMapping for given input and verify t… 10 | TransformVideoAspectRatio | Test transform aspects ratio of input videos and validate the output … 50 Test transform resolution of input videos and validate the output resolution. 56 Test transform HDR to SDR ToneMapping for given input and verify that ouput shouldn't have HDR prof… 59 Test transform aspects ratio of input videos and validate the output resolution according to the re…
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ANativeWindowTest.java | 156 for (int transform = 0; transform <= ALL_TRANSFORM_BITS; transform++) { in testSetBuffersTransform() 157 nPushBufferWithTransform(surface, transform); in testSetBuffersTransform() 163 if ((transform & MIRROR_HORIZONTAL_BIT) != 0) { in testSetBuffersTransform() 166 if ((transform & MIRROR_VERTICAL_BIT) != 0) { in testSetBuffersTransform() 169 if ((transform & ROTATE_90_BIT) != 0) { in testSetBuffersTransform() 187 transform, in testSetBuffersTransform() 341 private static native void nPushBufferWithTransform(Surface surface, int transform); in nPushBufferWithTransform() argument
|
D | ColorSpaceTest.java | 535 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnector() 542 assertSame(r3, connector.transform(r3)); in testConnector() 554 r1 = connector.transform(source[0], source[1], source[2]); in testConnector() 561 assertSame(r3, connector.transform(r3)); in testConnector() 576 float[] r = connector.transform(source[0], source[1], source[2]); in testAdaptedConnector() 593 float[] relative = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent() 604 float[] absolute = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent() 623 float[] r = connector.transform(source[0], source[1], source[2]); in testIdentityConnector() 638 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnectorTransformIdentity() 644 assertSame(r3, connector.transform(r3)); in testConnectorTransformIdentity() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 497 private void concatPreviewTransform(Matrix transform) { in concatPreviewTransform() argument 505 transform.postScale(1, heightRatio / widthRatio); in concatPreviewTransform() 506 transform.postTranslate(0, in concatPreviewTransform() 510 transform.postScale(widthRatio / heightRatio, 1); in concatPreviewTransform() 511 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0); in concatPreviewTransform() 517 transform.postScale(1.0f, scaledAspect * previewAspect, in concatPreviewTransform() 539 Matrix transform = new Matrix(); in startPreview() local 540 concatPreviewTransform(transform); in startPreview() 541 mPreviewView.setTransform(transform); in startPreview() 657 Matrix transform = new Matrix(); in onPostExecute() local [all …]
|
/cts/tests/surfacecontrol/src/android/view/cts/util/ |
D | ASurfaceControlTestUtils.java | 66 int transform) { in setGeometry() argument 70 dstLeft, dstTop, dstRight, dstBottom, transform); in setGeometry() 164 int srcBottom, int dstRight, int dstTop, int dstLeft, int dstBottom, int transform); in nSurfaceTransaction_setGeometry() argument 170 long surfaceControl, long surfaceTransaction, int transform); in nSurfaceTransaction_setBufferTransform() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Util.java | 7 import org.apache.commons.math.transform.FastFourierTransformer; 69 Complex[] data1Fft = fft.transform(padZeros(data1, n)); in computeCrossCorrelation() 70 Complex[] data2Fft = fft.transform(padZeros(data2, n)); in computeCrossCorrelation()
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerServiceHostTest.java | 102 List<AtomsProto.TifTuneStateChanged> tifTuneStateChanges = Lists.transform(data, in verifyCallbackVideoAvailable() 130 List<AtomsProto.TifTuneStateChanged> tifTuneStateChanges = Lists.transform(data, in verifyCallbackVideoUnavailable() 158 List<AtomsProto.TifTuneStateChanged> tifTuneStateChanges = Lists.transform(data, in verifyCommandTune() 232 Iterables.transform(getterNames, in build() 235 "matches fields " + Lists.transform(getterNames, in build()
|
/cts/.prebuilt_info/ |
D | prebuilt_info_hostsidetests_stagedinstall_testdata_apk_CtsShimTargetPSdk__x86_CtsShimTargetPSdk_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_stagedinstall_testdata_apk_CtsShimTargetPSdk__riscv64_CtsShimTargetPSdk_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_stagedinstall_testdata_apk_CtsShimTargetPSdk__arm_CtsShimTargetPSdk_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__riscv64_CtsShimPrivUpgradeWrongSHA_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__x86_CtsShimPrivUpgrade_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__riscv64_CtsShimPrivUpgrade_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__x86_CtsShimPrivUpgradeWrongSHA_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__arm_CtsShimPrivUpgrade_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_appsecurity_test-apps_PrivilegedUpdateApp_apk__arm_CtsShimPrivUpgradeWrongSHA_apk.asciipb | 12 transform: TRANSFORM_NONE
|
D | prebuilt_info_hostsidetests_stagedinstall_testdata_apex__riscv64_com_android_apex_cts_shim_not_pre_installed_apex.asciipb | 12 transform: TRANSFORM_NONE
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | DepthImage.java | 81 DepthTransform transform = new RangeInverseDepthTransform((float)near, (float)far); in createFromDepthmap() local 91 transform); in createFromDepthmap()
|