Home
last modified time | relevance | path

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

1234

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsic3DLut.java28 final int sz = 16; field in Intrinsic3DLut
45 int dat[] = new int[sx * sy * sz]; in genCubeIdent()
46 for (int z = 0; z < sz; z++) { in genCubeIdent()
52 v |= (0xff * z / (sz - 1)) << 16; in genCubeIdent()
63 int dat[] = new int[sx * sy * sz]; in genCubeRand()
64 for (int z = 0; z < sz; z++) { in genCubeRand()
83 tb.setZ(sz); in initCube()
DAtomicTest.java43 private void initS(boolean fillData, int sz) { in initS() argument
44 mSrcData = new int[sz * sz]; in initS()
46 mSrc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.I32(mRS), sz, sz)); in initS()
54 private void initU(boolean fillData, int sz) { in initU() argument
55 mSrcData = new int[sz * sz]; in initU()
57 mSrc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U32(mRS), sz, sz)); in initU()
/cts/tools/dasm/src/dasm/
DDasmCatchBuilder.java118 int sz = unprocessed_catches.size(); in getCatchTypes() local
119 HashSet<Type> result = new HashSet<Type>(sz); in getCatchTypes()
120 for (int i = 0; i < sz; i++) { in getCatchTypes()
150 int sz = unprocessed_catches.size(); in add() local
151 for (int i = 0; i < sz; i++) { in add()
174 int sz = unprocessed_catches.size(); in build() local
175 CatchTable result = new CatchTable(sz); in build()
176 for (int i = 0; i < sz; i++) { in build()
DDAsm.java285 int sz = interfaces.size(); in addInterface() local
288 for (int i = 0; i < sz; i++) { in addInterface()
423 int sz = data_blocks.size(); in endMethod() local
424 for (int i = 0; i < sz; i++) { in endMethod()
803 int sz = regN - regC + 1; in addOpcode() local
804 reg_spec_list = new RegisterSpecList(sz); in addOpcode()
806 for (int i = 0; i < sz; i++) { in addOpcode()
1144 int sz = regN - regC + 1; in addOpcode() local
1145 RegisterSpecList reg_spec_list = new RegisterSpecList(sz); in addOpcode()
1147 for (int i = 0; i < sz; i++) { in addOpcode()
[all …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DIccUtils.java59 int sz = s.length(); in hexStringToBytes() local
61 ret = new byte[sz/2]; in hexStringToBytes()
63 for (int i=0 ; i <sz ; i+=2) { in hexStringToBytes()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRecordingTest.java567 for (Size sz : mOrderedPreviewSizes) { in videoPreviewSurfaceSharingTestByCamera()
568 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in videoPreviewSurfaceSharingTestByCamera()
573 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in videoPreviewSurfaceSharingTestByCamera()
580 "_" + sz.toString() + ".mp4"; in videoPreviewSurfaceSharingTestByCamera()
603 prepareRecording(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
606 updatePreviewSurfaceWithVideo(sz, VIDEO_FRAME_RATE); in videoPreviewSurfaceSharingTestByCamera()
632 validateRecording(sz, durationMinMs, durationMaxMs, in videoPreviewSurfaceSharingTestByCamera()
1060 for (Size sz : mSupportedVideoSizes) { in recordingSizeTestByCamera()
1061 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
1066 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in recordingSizeTestByCamera()
[all …]
DHeifWriterTest.java106 for (Size sz : availableSizes) { in testHeif()
111 int width = sz.getWidth(); in testHeif()
112 int height = sz.getHeight(); in testHeif()
115 Log.v(TAG, "Testing size " + sz.toString() + " format PRIVATE" in testHeif()
122 builder.setSize(sz); in testHeif()
196 ImageFormat.PRIVATE, sz, listener, numImages); in testHeif()
285 Builder setSize(Size sz) { in setSize() argument
286 mWidth = sz.getWidth(); in setSize()
287 mHeight = sz.getHeight(); in setSize()
DImageReaderTest.java1012 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
1015 Log.v(TAG, "Testing size " + sz.toString() + " format " + format in bufferFormatTestByCamera()
1022 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, usageFlag, mListener); in bufferFormatTestByCamera()
1024 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera()
1041 validateImage(sz, format, numFrameVerified, repeating); in bufferFormatTestByCamera()
1045 validateCaptureResult(format, sz, listener, numFrameVerified); in bufferFormatTestByCamera()
1067 for (Size sz : availableSizes) { in bufferFormatLongProcessingTimeTestByCamera()
1068 Log.v(TAG, "testing size " + sz.toString()); in bufferFormatLongProcessingTimeTestByCamera()
1071 Log.v(TAG, "Testing long processing time: size " + sz.toString() + " format " + in bufferFormatLongProcessingTimeTestByCamera()
1077 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatLongProcessingTimeTestByCamera()
[all …]
DExtendedCameraCharacteristicsTest.java293 for (Size sz : videoSizes) { in testAvailableStreamConfigs()
295 android.media.MediaRecorder.class, sz); in testAvailableStreamConfigs()
298 maxVideoSize = sz; in testAvailableStreamConfigs()
450 for (Size sz : recommendedSizes) { in verifyCommonRecommendedConfiguration()
452 "format: %d for ID: %s", sz.toString(), format, id), in verifyCommonRecommendedConfiguration()
453 exhaustiveSizes, sz); in verifyCommonRecommendedConfiguration()
455 long recommendedMinDuration = config.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
456 long availableMinDuration = fullConfig.getOutputMinFrameDuration(format, sz); in verifyCommonRecommendedConfiguration()
460 sz.toString(), format, availableMinDuration, id), in verifyCommonRecommendedConfiguration()
462 long recommendedStallDuration = config.getOutputStallDuration(format, sz); in verifyCommonRecommendedConfiguration()
[all …]
DSurfaceViewPreviewTest.java775 for (final Size sz : previewSizes) { in previewTestByCamera()
777 Log.v(TAG, "Testing camera preview size: " + sz.toString()); in previewTestByCamera()
786 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_array/d/
DT_new_array_2.java21 public boolean[] run(int sz) { in run() argument
22 return new boolean[sz]; in run()
DT_new_array_1.java21 public int[] run(int sz) { in run() argument
22 return new int[sz]; in run()
DT_new_array_3.java21 public Object[] run(int sz) { in run() argument
22 return new Object[sz]; in run()
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp152 float sz = fx * upY - fy * upX; in newLookAt() local
155 float rls = 1.0f / (float) sqrt(sx * sx + sy * sy + sz * sz); in newLookAt()
158 sz *= rls; in newLookAt()
161 float ux = sy * fz - sz * fy; in newLookAt()
162 float uy = sz * fx - sx * fz; in newLookAt()
176 d[8] = sz; in newLookAt()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java271 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument
272 mSize = sz; in ImageVerifierListener()
1260 for (Size sz: rawSizes) { in getSupportedPreviewSizes()
1261 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1262 sizes.add(sz); in getSupportedPreviewSizes()
1307 for (Size sz : sizes) { in getSortedSizesForFormat()
1308 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1309 sortedSizes.add(sz); in getSortedSizesForFormat()
1348 for (Size sz: rawSizes) { in getSupportedVideoSizes()
1349 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java1508 for (Size sz : standardSizes) { in getMaxSupportedEncoderSize()
1510 MIME_TYPE, sz.getWidth(), sz.getHeight()); in getMaxSupportedEncoderSize()
1514 if (sz.getWidth() == 1920 && sz.getHeight() == 1080) { in getMaxSupportedEncoderSize()
1516 } else if (sz.getWidth() == 1280 && sz.getHeight() == 720) { in getMaxSupportedEncoderSize()
1518 } else if (sz.getWidth() == 800 && sz.getHeight() == 480) { in getMaxSupportedEncoderSize()
1526 return sz; in getMaxSupportedEncoderSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java181 private int getVideoBitRate(Camera.Size sz) { in getVideoBitRate() argument
183 float scaleFactor = sz.height * sz.width / (float)(1280 * 720); in getVideoBitRate()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1300 for (Camera.Size sz : parameters.getSupportedVideoSizes()) { in setupExternalCameraRecord()
1301 if (sz.width >= DEFAULT_VIDEO_WIDTH && sz.height >= DEFAULT_VIDEO_HEIGHT) { in setupExternalCameraRecord()
1302 videoSize = sz; in setupExternalCameraRecord()
/cts/tests/tests/media/assets/hls_variant/344388/
D04.ts410 �Q[/,�s6�I�A!-sz�! w��=?'F�ܳ�& )�5zTDH�.�'>�$���V�G7T�������������������������������������…
1170 … 2��yz�vj������������f���H�F����o&�@�P�kQ֔�W@�Ijpgeɗ���;��"3��sz���`�*���/���|4�6;…
D19.ts139 …g�0E��+�|jL`�H8e@rY�-�>�~�X�\}���0����W[�D\�{�L�G�,��W��;�'�h�˺�sz�|��ꌙ�=p�.82�7Àtq��…
/cts/tests/tests/media/assets/hls_variant/765178/
D02.ts368 2q���QR�s�;��N�j������c��֑�sz
2128 �˫�E6}%=�q���D����q�!6-��M�@б'Md��%�1�-��7sz�����}v�C���-�Ra��> O�"���J�P��9=����ZjL�����…
D09.ts1060 ���sz!���������G��C�@#c��&�<��\3��m�&8� �]�b&�h�����h�9�7��_�0�3ݛ{Rpe ]g6����ex�/�t���k6UЦ…
1635 ��Ob����n�$aJFq$�Q�q�Җ�X{*,����sz��`o�&�#ӵs�3�%y�ճJ
/cts/tests/tests/media/assets/hls_variant/387360/
D08.ts275 �]}�sz
D17.ts975 P�F��9���Iz����;�;�#���z����� �-�sY�Ј�rO����R�5u�l�#������)K�3~szJ�U~0����<3�RG�8�����…
D09.ts1298 g��n<�a�CV�KD�J<sz�=��������F$��G�|[X���e���>� L���J<=�4M�]����} �TG�f��H�U�<w�]�g�.L�Ebj…

1234