Home
last modified time | relevance | path

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

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DHtmlReport.java27 import javax.xml.transform.Transformer;
28 import javax.xml.transform.TransformerException;
29 import javax.xml.transform.TransformerFactory;
30 import javax.xml.transform.stream.StreamResult;
31 import javax.xml.transform.stream.StreamSource;
69 transformer.transform(xmlSource, result); in printHtmlReport()
DCtsApiCoverage.java49 import javax.xml.transform.TransformerException;
/cts/apps/CameraITS/tests/scene1/
Dtest_capture_result.py118 transform = cap_res["android.colorCorrection.transform"]
126 for t in transform]
139 assert(len(transform) == 9)
141 assert(all([t["denominator"] != 0 for t in transform]))
146 assert(any([not is_close_rational(transform[i], manual_transform[i])
165 transform = cap_res["android.colorCorrection.transform"]
176 for t in transform]
192 assert(len(transform) == 9)
199 assert(all([is_close_rational(transform[i], manual_transform[i])
/cts/tests/tests/graphics/src/android/graphics/cts/
DANativeWindowTest.java139 for (int transform = 0; transform <= ALL_TRANSFORM_BITS; transform++) { in testSetBuffersTransform()
140 nPushBufferWithTransform(surface, transform); in testSetBuffersTransform()
146 if ((transform & MIRROR_HORIZONTAL_BIT) != 0) { in testSetBuffersTransform()
149 if ((transform & MIRROR_VERTICAL_BIT) != 0) { in testSetBuffersTransform()
152 if ((transform & ROTATE_90_BIT) != 0) { in testSetBuffersTransform()
170 transform, in testSetBuffersTransform()
221 private static native void nPushBufferWithTransform(Surface surface, int transform); in nPushBufferWithTransform() argument
DColorSpaceTest.java477 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnector()
484 assertSame(r3, connector.transform(r3)); in testConnector()
496 r1 = connector.transform(source[0], source[1], source[2]); in testConnector()
503 assertSame(r3, connector.transform(r3)); in testConnector()
518 float[] r = connector.transform(source[0], source[1], source[2]); in testAdaptedConnector()
535 float[] relative = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent()
546 float[] absolute = connector.transform(source[0], source[1], source[2]); in testAdaptedConnectorWithRenderIntent()
565 float[] r = connector.transform(source[0], source[1], source[2]); in testIdentityConnector()
580 float[] r1 = connector.transform(source[0], source[1], source[2]); in testConnectorTransformIdentity()
586 assertSame(r3, connector.transform(r3)); in testConnectorTransformIdentity()
[all …]
DPathTest.java146 path.transform(new Matrix(), dst); in testTransform1()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ANativeWindowTest.cpp27 void pushBufferWithTransform(JNIEnv* env, jclass, jobject jSurface, jint transform) { in pushBufferWithTransform() argument
29 ANativeWindow_setBuffersTransform(window, transform); in pushBufferWithTransform()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java266 Matrix transform = new Matrix(); in renderPerspective() local
268 transform.setValues(new float[] { 1, 1, 1, 1, 1, 1, 1, 1, 1 }); in renderPerspective()
271 () -> renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, transform, in renderPerspective()
277 Matrix transform = new Matrix(); in render45degreeRotationTranslationAndScaleAndClip() local
279 transform.postRotate(45); in render45degreeRotationTranslationAndScaleAndClip()
281 transform.postTranslate(A4_WIDTH_PTS / 4, A4_HEIGHT_PTS / 4); in render45degreeRotationTranslationAndScaleAndClip()
283 transform.postScale(0.75f, 0.75f); in render45degreeRotationTranslationAndScaleAndClip()
287 renderAndCompare(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, clip, transform, in render45degreeRotationTranslationAndScaleAndClip()
/cts/apps/CameraITS/tests/inprog/
Dtest_3a_remote.py51 transform = cap["metadata"]["android.colorCorrection.transform"]
60 for t in transform]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java7 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/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DDepthImage.java81 DepthTransform transform = new RangeInverseDepthTransform((float)near, (float)far); in createFromDepthmap() local
91 transform); in createFromDepthmap()
Dlayer_info.rsh19 // distance transform result to be a matte value within [0,1].
Dlayer_info_fast.rsh19 // distance transform result to be a matte value within [0,1].
/cts/tools/utils/
DDescriptionGenerator.java29 import javax.xml.transform.Transformer;
30 import javax.xml.transform.TransformerException;
31 import javax.xml.transform.TransformerFactory;
32 import javax.xml.transform.TransformerFactoryConfigurationError;
33 import javax.xml.transform.dom.DOMSource;
34 import javax.xml.transform.stream.StreamResult;
297 t.transform(new DOMSource(mDoc), in dump()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java698 Matrix transform = new Matrix(); in startPreview() local
707 transform.setScale(1, heightRatio / widthRatio); in startPreview()
708 transform.postTranslate(0, in startPreview()
714 transform.setScale(widthRatio / heightRatio, 1); in startPreview()
715 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0); in startPreview()
721 mPreviewView.setTransform(transform); in startPreview()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAuthorizationList.java20 import static com.google.common.collect.Collections2.transform;
283 return joinStrings(transform(paddingModes, forMap(paddingMap, "Unknown"))); in paddingModesToString()
291 return joinStrings(transform(digests, forMap(digestMap, "Unknown"))); in digestsToString()
299 return joinStrings(transform(purposes, forMap(purposeMap, "Unknown"))); in purposesToString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java452 Matrix transform = new Matrix(); in startPreview() local
457 transform.setScale(1, heightRatio/widthRatio); in startPreview()
458 transform.postTranslate(0, in startPreview()
461 transform.setScale(widthRatio/heightRatio, 1); in startPreview()
462 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio/heightRatio)/2, in startPreview()
466 mPreviewView.setTransform(transform); in startPreview()
/cts/common/util/src/com/android/compatibility/common/util/
DResultHandler.java46 import javax.xml.transform.Transformer;
47 import javax.xml.transform.TransformerException;
48 import javax.xml.transform.TransformerFactory;
49 import javax.xml.transform.stream.StreamResult;
50 import javax.xml.transform.stream.StreamSource;
454 transformer.transform(new StreamSource(inputXml), new StreamResult(outputStream)); in createFailureReport()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java586 float[] transform = new float[16];
587 mSurfaceTexture.getTransformMatrix(transform);
590 if (transform[k] != 0.f) {
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java581 mMotionEvent1.transform(null); in testTransformShouldThrowWhenMatrixIsNull()
630 event.transform(matrix); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1222 ColorSpaceTransform transform = result.get(CaptureResult.COLOR_CORRECTION_TRANSFORM); in colorCorrectionTestByCamera() local
1229 IDENTITY_TRANSFORM, transform); in colorCorrectionTestByCamera()
2031 ColorSpaceTransform transform =
2036 + " awb lock", lockedTransform, transform);
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jar ... public com.google.common.base.Optional transform (com.google.common.base.Function ...
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex44377 void transform(
44411 void transform(
44684 java.lang.String transform(
Dclasses.out.dex33426 public void transform(
33429 public void transform(