Searched refs:tb (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DMandelbrot.java31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs));
32 tb.setX(mScript.get_gDimX());
33 tb.setY(mScript.get_gDimY());
34 mAllocationXY = Allocation.createTyped(rs, tb.create());
H A DLaunchTest.java36 Type.Builder tb = new Type.Builder(rs, Element.U8(rs));
37 tb.setX(dim);
38 tb.setY(dim);
39 mAllocationXY = Allocation.createTyped(rs, tb.create());
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DTypeThunker.java66 android.renderscript.Type.Builder tb =
68 if (dx > 0) tb.setX(dx);
69 if (dy > 0) tb.setY(dy);
70 if (dz > 0) tb.setZ(dz);
71 if (dmip) tb.setMipmaps(dmip);
72 if (dfaces) tb.setFaces(dfaces);
73 if (yuv > 0) tb.setYuvFormat(yuv);
74 android.renderscript.Type nt = tb.create();
/frameworks/rs/tests/cppbasic/
H A Dcompute.cpp21 Type::Builder tb(rs, e);
22 tb.setX(128);
23 tb.setY(128);
24 sp<const Type> t = tb.create();
70 Type::Builder tb(rs, e);
71 tb.setX(xDim);
72 tb.setY(yDim);
73 sp<const Type> t = tb.create();
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DColorCube.java47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
48 tb.setX(sx);
49 tb.setY(sy);
50 tb.setZ(sz);
51 Type t = tb.create();
H A DGrain.java73 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
74 tb.setX(noiseW);
75 tb.setY(noiseH);
76 mNoise = Allocation.createTyped(mRS, tb.create());
77 mNoise2 = Allocation.createTyped(mRS, tb.create());
H A DBlur25.java76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
77 tb.setX(width);
78 tb.setY(height);
79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
H A DBlur25G.java67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
68 tb.setX(width);
69 tb.setY(height);
70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
H A DHistogram.java44 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS));
45 tb.setX(256).setY(steps);
46 Type t = tb.create();
H A DGroupTest.java66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
67 tb.setX(mWidth);
68 tb.setY(mHeight);
69 Type connect = tb.create();
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DBlur25G.java61 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
62 tb.setX(width);
63 tb.setY(height);
64 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
65 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
H A DColorCube.java39 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
40 tb.setX(sx);
41 tb.setY(sy);
42 tb.setZ(sz);
43 Type t = tb.create();
H A DGrain.java68 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
69 tb.setX(noiseW);
70 tb.setY(noiseH);
71 mNoise = Allocation.createTyped(mRS, tb.create());
72 mNoise2 = Allocation.createTyped(mRS, tb.create());
H A DGroupTest.java59 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
60 tb.setX(mWidth);
61 tb.setY(mHeight);
62 Type connect = tb.create();
H A DBlur25.java72 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
73 tb.setX(width);
74 tb.setY(height);
75 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
76 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DGrain.java73 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS));
74 tb.setX(noiseW);
75 tb.setY(noiseH);
76 mNoise = Allocation.createTyped(mRS, tb.create());
77 mNoise2 = Allocation.createTyped(mRS, tb.create());
H A DBlur25.java76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS));
77 tb.setX(width);
78 tb.setY(height);
79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create());
80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create());
H A DGroupTest.java66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
67 tb.setX(mWidth);
68 tb.setY(mHeight);
69 Type connect = tb.create();
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java77 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS));
78 tb.setX(mWidth);
79 tb.setY(mHeight);
80 Type t = tb.create();
85 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV));
86 tb.setX(mWidth);
87 tb.setY(mHeight);
88 tb.setYuvFormat(android.graphics.ImageFormat.NV21);
89 mAllocationIn = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT);
/frameworks/rs/tests/cppstrided/
H A Dcompute.cpp30 Type::Builder tb(rs, e);
31 tb.setX(numElems);
32 tb.setY(numElems);
33 sp<const Type> t = tb.create();
/frameworks/rs/tests/cppallocation/
H A Dcompute.cpp29 Type::Builder tb(rs, e);
30 tb.setX(numElems);
31 sp<const Type> t = tb.create();
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicLUT.cpp68 const uchar *tb = &tg[256]; local
69 const uchar *ta = &tb[256];
73 uchar4 o = {tr[p.x], tg[p.y], tb[p.z], ta[p.w]};
/frameworks/rs/tests/latency/
H A Dlatency.cpp64 Type::Builder tb(rs, e);
65 tb.setX(numElems);
66 sp<const Type> t = tb.create();
/frameworks/rs/tests/typecheck/
H A Dtypecheck.cpp26 Type::Builder tb(rs, e);
27 tb.setX(x);
28 sp<const Type> t = tb.create();
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java565 StringBuilder tb = new StringBuilder();
568 tb.insert(0, "-");
571 tb.insert(0, "+");
577 tb.append(zeroPad(hours, 2));
578 tb.append(zeroPad(minutes, 2));
579 return tb.toString();

Completed in 4047 milliseconds

12