/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | Mandelbrot.java | 31 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 D | LaunchTest.java | 36 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 D | TypeThunker.java | 66 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 D | compute.cpp | 21 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 D | ColorCube.java | 47 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 D | Grain.java | 73 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 D | Blur25.java | 76 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 D | Blur25G.java | 67 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 D | Histogram.java | 44 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS)); 45 tb.setX(256).setY(steps); 46 Type t = tb.create();
|
H A D | GroupTest.java | 66 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 D | Blur25G.java | 61 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 D | ColorCube.java | 39 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 D | Grain.java | 68 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 D | GroupTest.java | 59 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 D | Blur25.java | 72 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 D | Grain.java | 73 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 D | Blur25.java | 76 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 D | GroupTest.java | 66 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 D | RsYuv.java | 77 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 D | compute.cpp | 30 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 D | compute.cpp | 29 Type::Builder tb(rs, e); 30 tb.setX(numElems); 31 sp<const Type> t = tb.create();
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicLUT.cpp | 68 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 D | latency.cpp | 64 Type::Builder tb(rs, e); 65 tb.setX(numElems); 66 sp<const Type> t = tb.create();
|
/frameworks/rs/tests/typecheck/ |
H A D | typecheck.cpp | 26 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 D | DateFormat.java | 565 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();
|