Home
last modified time | relevance | path

Searched refs:USAGE_SCRIPT (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java63 Allocation.USAGE_SCRIPT); in ErrorCalculator()
66 mOutputRowRegions.length, Allocation.USAGE_SCRIPT); in ErrorCalculator()
78 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in calcErrorRS()
80 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in calcErrorRS()
119 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in calcErrorHeatmapRS()
121 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in calcErrorHeatmapRS()
127 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in calcErrorHeatmapRS()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DRsBrickedBitMask.java61 mBrick_allocation = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT); in RsBrickedBitMask()
74 Allocation tmp = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT); in RsBrickedBitMask()
87 return Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in createChunkAllocation()
95 return Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in createBitChunkAllocation()
DVrState.java77 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); in createOutputAllocation()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DUsageIO.java51 …tion1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); in createTest()
52 …ation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT); in createTest()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java46 Allocation.USAGE_SCRIPT | in updateProjectionMatrices()
112 mPoints = new ScriptField_Point(mRS, PART_COUNT, Allocation.USAGE_SCRIPT); in init()
121 mBalls = new ScriptField_Ball(mRS, PART_COUNT, Allocation.USAGE_SCRIPT); in init()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DMandelbulb.java66 Allocation tmp = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
69 v.mVolumeAllocation = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
DDroid.java74 Allocation tmp = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
77 v.mVolumeAllocation = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
DLoaderRaw.java124 alloc_slice = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
127 b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
DLoaderDicom.java431 Allocation.USAGE_SCRIPT); in buildRSVolume()
441 Allocation.USAGE_SCRIPT); in buildRSVolume()
574 alloc_slice = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume2()
577 Allocation.USAGE_SCRIPT); in buildRSVolume2()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DViewfinderProcessor.java50 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT); in ViewfinderProcessor()
57 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); in ViewfinderProcessor()
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java104 … Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE); in onCreate()
108 … Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE); in onCreate()
112 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_OUTPUT; in onCreate()
/frameworks/base/rs/java/android/renderscript/
DMesh.java169 mVertexBuffers[i] = new Allocation(vtxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
176 mIndexBuffers[i] = new Allocation(idxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
808 int usage = Allocation.USAGE_SCRIPT; in create()
821 sm.getVertexAllocation(0).syncAll(Allocation.USAGE_SCRIPT); in create()
826 sm.getIndexSetAllocation(0).syncAll(Allocation.USAGE_SCRIPT); in create()
DAllocation.java162 public static final int USAGE_SCRIPT = 0x0001; field in Allocation
384 if ((usage & ~(USAGE_SCRIPT | in Allocation()
400 USAGE_SCRIPT)) != 0) { in Allocation()
536 case USAGE_SCRIPT: in syncAll()
2707 return createTyped(rs, type, MipmapControl.MIPMAP_NONE, USAGE_SCRIPT); in createTyped()
2750 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
2816 usage == (USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE)) { in createFromBitmap()
3064 USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmap()
3287 USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmapResource()
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java82 mAllocationOut = Allocation.createTyped(mRS, t, Allocation.USAGE_SCRIPT | in reset()
90 mAllocationIn = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in reset()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DViewfinderProcessor.java69 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT); in ViewfinderProcessor()
76 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); in ViewfinderProcessor()
101 … mHoughSlices = Allocation.createTyped(rs, houghSliceBuilder.create(), Allocation.USAGE_SCRIPT); in ViewfinderProcessor()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DAllocation.java157 public static final int USAGE_SCRIPT = 0x0001; field in Allocation
352 if ((usage & ~(USAGE_SCRIPT | in Allocation()
365 USAGE_SCRIPT)) != 0) { in Allocation()
480 case USAGE_SCRIPT: in syncAll()
2599 return createTyped(rs, type, MipmapControl.MIPMAP_NONE, USAGE_SCRIPT); in createTyped()
2637 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
2701 usage == (USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE)) { in createFromBitmap()
2750 USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmap()
2970 USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmapResource()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_blur_validation.java58 Allocation.USAGE_SCRIPT); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_blur_validation.java60 Allocation.USAGE_SCRIPT); in run()
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptField_NonDivergent.java.expect78 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
82 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
DScriptField_Divergent.java.expect88 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
92 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptField_NonDivergent.java.expect81 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
85 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptField_MyStruct.java.expect82 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
86 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptField_MyStruct.java.expect82 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
86 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptField_MyStruct.java.expect82 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
86 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/frameworks/compile/slang/tests/P_struct_field/
DScriptField_InnerTwo.java.expect84 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
88 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);

123