/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 63 h = cap["height"] 71 y = cap["data"][0:w*h] 72 u = cap["data"][w*h:w*h*5/4] 73 v = cap["data"][w*h*5/4:w*h*6/4] 74 return convert_yuv420_planar_to_rgb_image(y, u, v, w, h) 96 w,h = cap["width"], cap["height"] 100 cap["data"] = unpack_raw10_image(cap["data"].reshape(h,w*5/4)) 119 h = img.shape[0] 124 msbs = msbs.reshape(h,w) 126 lsbs = img[::, 4::5].reshape(h,w/4) [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicBase.java | 63 protected Allocation makeAllocation(int w, int h, Element e, boolean clear) { in makeAllocation() argument 66 tb.setY(h); in makeAllocation() 79 protected Allocation makeAllocation(int w, int h, Element e) { in makeAllocation() argument 80 return makeAllocation(w, h, e, true); in makeAllocation() 83 protected void makeSource(int w, int h, Element e) { in makeSource() argument 87 mAllocSrc = makeAllocation(w, h, e); in makeSource() 94 float f[] = new float[w * h * vs]; in makeSource() 95 for (int y=0; y < h; y++) { in makeSource() 106 byte f[] = new byte[w * h * vs]; in makeSource() 107 for (int y=0; y < h; y++) { in makeSource() [all …]
|
D | IntrinsicBlur.java | 33 private void initTest(int w, int h, Element e, Script.LaunchOptions lo) { in initTest() argument 34 makeBuffers(w, h, e); in initTest() 38 tb.setY(h); in initTest() 48 mScript.set_height(h); in initTest() 87 final int h = 97; in testU8_1() local 89 initTest(w, h, e, null); in testU8_1() 101 final int h = 97; in testU8_4() local 103 initTest(w, h, e, null); in testU8_4() 116 final int h = 97; in testU8_1C() local 118 Script.LaunchOptions lo = makeClipper(11, 11, w - 11, h - 11); in testU8_1C() [all …]
|
D | IntrinsicHistogram.java | 26 private void createAllocations(int inVSize, int outVSize, int w, int h) { in createAllocations() argument 45 tb.setX(w).setY(h); in createAllocations() 51 private void testNorm(int inVSize, int outVSize, int w, int h, boolean clip) { in testNorm() argument 52 createAllocations(inVSize, outVSize, w, h); in testNorm() 57 byte i[] = new byte[w * h * invs2]; in testNorm() 64 int x1 = 0, y1 = 0, x2 = w, y2 = h; in testNorm() 69 y2 = h - 11; in testNorm() 172 private void testDot(int inVSize, int w, int h, boolean clip) { in testDot() argument 173 createAllocations(inVSize, 1, w, h); in testDot() 177 byte i[] = new byte[w * h * invs2]; in testDot() [all …]
|
D | verify.rs | 36 uint32_t h = rsAllocationGetDimY(in1); 37 for (uint32_t y = 0; y < h; y++) { 57 uint32_t h = rsAllocationGetDimY(in1); 58 for (uint32_t y = 0; y < h; y++) { 77 uint32_t h = rsAllocationGetDimY(in1); 78 for (uint32_t y = 0; y < h; y++) { 96 uint32_t h = rsAllocationGetDimY(in1); 97 for (uint32_t y = 0; y < h; y++) { 115 uint32_t h = rsAllocationGetDimY(in1); 116 for (uint32_t y = 0; y < h; y++) { [all …]
|
D | float16_arithmetic.rs | 31 half h; 35 unsigned short __attribute__((kernel)) bitcast(half h) { 36 union Bit16Type u = {h};
|
D | IntrinsicConvolve5x5.java | 24 Element e, float cf[], String name, int num, int w, int h, in test5() argument 36 sr.set_gHeight(h); in test5() 76 …private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc… in testConvolve5() argument 97 makeBuffers(w, h, e); in testConvolve5() 103 test5(sr, si, e, cf1, "test convolve", 1, w, h, sc); in testConvolve5() 104 test5(sr, si, e, cf2, "test convolve", 2, w, h, sc); in testConvolve5() 105 test5(sr, si, e, cf3, "test convolve", 3, w, h, sc); in testConvolve5()
|
/cts/tests/tests/os/jni/seccomp-tests/ |
D | local-modifications-android.diff | 25 diff --git a/tests/test_harness.h b/tests/test_harness.h 27 --- a/tests/test_harness.h 28 +++ b/tests/test_harness.h 30 #include <sys/wait.h> 31 #include <unistd.h> 33 +#include <android/log.h> // ANDROID
|
/cts/tests/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 46 final int h = min.y * 2; in testSuggestDesiredDimensions() local 50 assertDesiredMinimum(new Point(w, h), in testSuggestDesiredDimensions() 51 new Point(w, h)); in testSuggestDesiredDimensions() 53 assertDesiredMinimum(new Point(min.x / 2, h), in testSuggestDesiredDimensions() 54 new Point(min.x, h)); in testSuggestDesiredDimensions()
|
/cts/tests/tests/os/jni/seccomp-tests/tests/ |
D | Makefile | 9 seccomp_bpf_tests: seccomp_bpf_tests.c test_harness.h 12 resumption: resumption.c test_harness.h 15 sigsegv: sigsegv.c test_harness.h
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTestingUtils.java | 27 final int h = Math.max(d.getIntrinsicHeight(), y + 1); in getPixel() local 28 final Bitmap b = Bitmap.createBitmap(w, h, Config.ARGB_8888); in getPixel() 30 d.setBounds(0, 0, w, h); in getPixel()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | verify.rs | 40 uint32_t h = rsAllocationGetDimY(in1); 41 for (uint32_t y=0; y < h; y++) { 62 uint32_t h = rsAllocationGetDimY(in1); 63 for (uint32_t y=0; y < h; y++) { 83 uint32_t h = rsAllocationGetDimY(in1); 84 for (uint32_t y=0; y < h; y++) { 103 uint32_t h = rsAllocationGetDimY(in1); 104 for (uint32_t y=0; y < h; y++) { 123 uint32_t h = rsAllocationGetDimY(in1); 124 for (uint32_t y=0; y < h; y++) { [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | MotionIndicatorView.java | 180 protected void onSizeChanged (int w, int h, int oldw, int oldh) { in onSizeChanged() argument 182 mYSize = h; in onSizeChanged() 184 mZBoundOut = new RectF(w/2-w/2.5f, h/2-w/2.5f, w/2+w/2.5f, h/2+w/2.5f); in onSizeChanged() 186 w/2-w/2.5f-ZRING_CURSOR_ADD, h/2-w/2.5f-ZRING_CURSOR_ADD, in onSizeChanged() 187 w/2+w/2.5f+ZRING_CURSOR_ADD, h/2+w/2.5f+ZRING_CURSOR_ADD); in onSizeChanged() 189 w/2-w/2.5f+ZRING_WIDTH, h/2-w/2.5f+ZRING_WIDTH, in onSizeChanged() 190 w/2+w/2.5f-ZRING_WIDTH, h/2+w/2.5f-ZRING_WIDTH); in onSizeChanged() 192 w/2-w/2.5f+ZRING_WIDTH+ZRING_CURSOR_ADD, h/2-w/2.5f+ZRING_WIDTH+ZRING_CURSOR_ADD, in onSizeChanged() 193 w/2+w/2.5f-ZRING_WIDTH-ZRING_CURSOR_ADD, h/2+w/2.5f-ZRING_WIDTH-ZRING_CURSOR_ADD); in onSizeChanged() 195 if (LOCAL_LOGV) Log.v(TAG, "New view size = ("+w+", "+h+")"); in onSizeChanged()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | box2d.js | 28 …ly(this,arguments)}function d(){d.Features.apply(this,arguments)}function h(){h.b2CircleShape.appl… function 29 this.constructor===h&&this.b2CircleShape.apply(this,arguments)}function l(){l.b2EdgeChainDef.apply(… 43 …lipVertex=Z;Box2D.Collision.Features=d;Box2D.Collision.Shapes.b2CircleShape=h;Box2D.Collision.Shap… 51 …stOutput,Z=Box2D.Collision.b2Segment,d=Box2D.Collision.b2SeparationFunction,h=Box2D.Collision.b2Si… 75 …}}};Box2D.postDefs.push(function(){Box2D.Collision.b2Distance.s_simplex=new h;Box2D.Collision.b2Di… 102 …h.b2Simplex=function(){this.m_v1=new j;this.m_v2=new j;this.m_v3=new j;this.m_vertices=new Vector(… class 103 …A=w.MulX(f,s);C.wB=w.MulX(r,v);C.w=w.SubtractVV(C.wB,C.wA);this.m_count=1}};h.prototype.WriteCache= 104 …h.prototype.GetSearchDirection=function(){switch(this.m_count){case 1:return this.m_v1.w.GetNegati… 105 …_v1.w.y+this.m_v2.a*this.m_v2.w.y);default:y.b2Assert(false);return new p}};h.prototype.GetWitness… 106 …this.m_v2.wA.y+this.m_v3.a*this.m_v3.wA.y;break;default:y.b2Assert(false)}};h.prototype.GetMetric=… [all …]
|
/cts/tests/tests/media/assets/ |
D | segment000001.ts | 3 �h�<�e�������@P����������������������~AV@ *s-K�m�+r������Z��-iWO��?q�7��)��S*v�i… 17 …Hō:���[�������d"o���x"�Մ�����ߝ.~5���x����&���q���>�-@]�XKƄqTQQ�}h0t�2N����^ݧ��N�v%… 28 …��L��Qg0�H�;Ǟ%wO��m~z�ȸ��V�-�F�D���S��=H����م?y��SR����L�0c����iy��h���a*�DƝ�L�l&�JMV�… 41 …��ZAL��)�XW�#};4�_���Z��ǡi���7H����_Yf�7��;'�Eb�wG�T?����@{M;�-���h��$Q��4���l 1�H49d… 52 …���PR�}:R��w�]-�b����P1��H�юS�O��������[3��[2ƃ��L���c�ߵ�$8߁M���&5ݫ>�h��^%�b���װte�1[ʳ{���… 57 …������������������������������������������������Ge��f��bޓ��L�Z�Y���(TW]�o�h����_��w�fy#1.�e 130 �CBfl�0G������WX7�������prg��@���6���.�b��h���{�f����[�P%}��O�� ��- ���Am9�(� 131 ��&͖��$p�i����{P�-���n0S�#0�rOOC��/VViBz{1I����h�0sϿ�֠��=�OItj�f�����`7B�UϒG���G�h{�… 137 ��7R�^����@7� z�h 141 �E=�-�B�m�Er�!iC�뺸���U�����-d\��:�%37N~�aWv���_ʭh�ߥ���n�M6����r�y4U�ߛ�����G��/F��>րBJ… [all …]
|
D | fileSequence0.ts | 17 …h�Uk/r�"��#�d�}�x����q�n�T3S����J�o���\@!���7��{D�����p3&䔦(qA��]�i��+Va���ʱՎ��7��)6G… 76 …*��p��\@ _�7���5 �@��0D!�(+r���RѺT��=����C0J3����!j k��G'�sG��Uz���pg��k!h�9m"q� 80 …sGE�yc���3&oV@ W��\@_��7�68;����P-8���Y!����IT�&"W��μ�ٯ�)��2cg6۔h�Kď>�9���c&6_ƁbP�… 151 …�]���Z���N'�m�<;ٿ#�`��\�9�W�g��?����� �v�x������m`���1�����}$a��}�j^軬)h�%�g��\@"���7��� 166 �{���N���F��DG��S��%�,XYֈ6�F�1حbG�@�h����x���F�z���c:�M�T� �M���AC���" ���7�* y�_Pl… 183 …����\@!��7��4 �aaG8P.��p�:0��Q�wh��f�^�\Rѐ�q�A�P��6��O���>�|:K�h��XR��E��>7^{2&���ϟ�… 197 …dș/�b���6 �K��S��?�Ӽ�&Ǐ%UfȮ�$�.@t1�nUJr�N3��jA��B�AC�P�`&&�hQlG����i�����M… 214 }L��>1*��{Y_���W�Ck���0]A��|!5��$��r������P�`���L�#���AH��ƮBہh�Qh��1*" 217 …�{�A�1�*M ��aJU��IU��%�K�A�άJ���!�\�QvMu13F}O�!���2��{N�i���*J�|��h��N�3ǿg�i+���H�c��u… 247 ����$�G�w2h�A�.�'8pn���Q:��{m`�g49$�����r��
|
D | segment000000.ts | 3 �h�<���n�E���H��,� �#��x264 - core 140 r2377+1M a1e1ce5 - H.264/MPEG-4 AVC codec - Copylef… 54 …uFܿR�h*^?�}�r�¥�����;S��SK���ft'���A��f��jE����Ś�.�A���T����ovc���2h���$R}��G�u Лw�� ��… 68 �z�m��Y+7�������?�����z�L��k��_˫[`D� �2�R��'k7ޤ�R[���FS���鹦�&�h�4:3���ʂPҫ܈�(�5��:����G… 97 …�lB�q������&�������?���X�A��k�f�d���k�.�x?0 M��uzO_��;2��������+��h!˛ɣb�D��s�z���L����… 127 ��:�y}�"?�|���������h��?�!z�@�c�^���7���W�?�9^?��E�O7ԙ�O����y¹zDF^���\�?��z�4*�}U 133 q+�.1��+�Ѯ�h�Xׄ� 141 …������~�=$�d��niNP<�ߟ�)R���s���?����jq��y� -%|'��_�6��d����z��h-���\��-�W�/��&�%��… 142 `"h3�=Gr2��9Gx����r�`@G��Ϫۚ�R��(��h}4��n�q��d+�h�&�L�7KU=��W��~[k� ��4`O�����|rC… 166 …$�NS�~���3uI��>C�����K��G<��'��_���O2O�F��2��'!�����Gl�<���$���eo>�h��+�!>���~�� ��!���,… 202 a&���a����� Kh�J2�֭�ǠQ*��0A�fY�]Y�� ��h�Uk/r�"��#�d�}�x����q�n�T3S����J�o�GA�ꀀ!… [all …]
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_crop_region.py | 35 h = r['height'] 46 "top": int(region[1] * h), 48 "bottom": int((region[1]+region[3])*h)}
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayWithCompositionTest.java | 206 private void runTestRenderingInSeparateThread(final int w, final int h, in runTestRenderingInSeparateThread() argument 212 doTestRenderingOutput(w, h, runRemotely, multipleWindows); in runTestRenderingInSeparateThread() 227 private void doTestRenderingOutput(int w, int h, boolean runRemotely, boolean multipleWindows) in doTestRenderingOutput() argument 230 Log.i(TAG, "doTestRenderingOutput for w:" + w + " h:" + h); in doTestRenderingOutput() 235 MediaFormat decoderFormat = MediaFormat.createVideoFormat(MIME_TYPE, w, h); in doTestRenderingOutput() 236 mDecodingSurface = new OutputSurface(w, h); in doTestRenderingOutput() 242 mEncodingSurface = mEncodingHelper.startEncoding(w, h, in doTestRenderingOutput() 291 compositor.startComposition(mEncodingSurface, w, h, multipleWindows ? 3 : 1); in doTestRenderingOutput() 300 compositor.getWindowSurface(multipleWindows? 1 : 0), w, h); in doTestRenderingOutput() 306 compositor.getWindowSurface(multipleWindows? 1 : 0), w, h); in doTestRenderingOutput() [all …]
|
D | RemoteVirtualDisplayService.java | 62 int h = data.readInt(); in onCreate() 63 start(surface, w, h); in onCreate() 96 private void start(Surface surface, int w, int h) { in start() argument 98 mPresentation = new VirtualDisplayPresentation(this, surface, w, h); in start() 119 VirtualDisplayPresentation(Context context, Surface surface, int w, int h) { in VirtualDisplayPresentation() argument 123 mHeight = h; in VirtualDisplayPresentation()
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 375 private void doTestGoog(String mimeType, int w, int h) throws Exception { in doTestGoog() argument 380 doTest(true /* isGoog */, mimeType, w, h); in doTestGoog() 383 private void doTestOther(String mimeType, int w, int h) throws Exception { in doTestOther() argument 388 doTest(false /* isGoog */, mimeType, w, h); in doTestOther() 391 private void doTestDefault(String mimeType, int w, int h) throws Exception { in doTestDefault() argument 404 doTestByName(encoderName, decoderName, mimeType, w, h); in doTestDefault() 414 private void doTest(boolean isGoog, String mimeType, int w, int h) in doTest() argument 432 doTestByName(encoderName, decoderName, mimeType, w, h); in doTest() 438 String encoderName, String decoderName, String mimeType, int w, int h) in doTestByName() argument 440 CodecInfo infoEnc = CodecInfo.getSupportedFormatInfo(encoderName, mimeType, w, h); in doTestByName() [all …]
|
/cts/apps/CameraITS/tools/ |
D | convert_yuv_to_jpg.py | 30 fname, w,h = sys.argv[1], int(sys.argv[2]), int(sys.argv[3]) 32 img = its.image.load_yuv420_to_rgb_image(fname, w,h, layout=layout)
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | WidgetTestUtils.java | 57 int h = b1.getHeight(); in assertEquals() local 58 int s = w * h; in assertEquals() 62 b1.getPixels(pixels1, 0, w, 0, 0, w, h); in assertEquals() 63 b2.getPixels(pixels2, 0, w, 0, 0, w, h); in assertEquals()
|
/cts/tests/tests/opengl/libopengltest/ |
D | color_one.cpp | 38 void initColorOne(int w, int h){ in initColorOne() argument 44 height = h; in initColorOne() 66 LOGI("w %d, h %d\n",w, h); in initColorOne() 67 glViewport(0, 0, w, h); in initColorOne()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 441 Handler h = new Handler(); in startPreview() local 447 h.postDelayed(mDelayedPreview, 300); in startPreview() 631 int h = mPreviewSize.height; in onPreviewFrame() local 634 int ySize = yStride * h; in onPreviewFrame() 635 int uvSize = uvStride * h / 2; in onPreviewFrame() 668 int h = mPreviewSize.height; in convertFromUnknown() local 675 for (int y = 0; y < h; y++) { in convertFromUnknown() 678 rgbIndex = w * (h - y) - 1; in convertFromUnknown() 696 int h = mPreviewSize.height; in convertFromNV21() local 701 rgbIndex = h * w - 1; in convertFromNV21() [all …]
|