Home
last modified time | relevance | path

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

12345678910>>...13

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

12345678910>>...13