Home
last modified time | relevance | path

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

12

/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/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/base/rs/java/android/renderscript/
DMesh.java176 mVertexBuffers[i] = new Allocation(vtxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
183 mIndexBuffers[i] = new Allocation(idxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
824 int usage = Allocation.USAGE_SCRIPT; in create()
837 sm.getVertexAllocation(0).syncAll(Allocation.USAGE_SCRIPT); in create()
842 sm.getIndexSetAllocation(0).syncAll(Allocation.USAGE_SCRIPT); in create()
DAllocation.java166 public static final int USAGE_SCRIPT = 0x0001; field in Allocation
388 if ((usage & ~(USAGE_SCRIPT | in Allocation()
404 USAGE_SCRIPT)) != 0) { in Allocation()
540 case USAGE_SCRIPT: in syncAll()
2711 return createTyped(rs, type, MipmapControl.MIPMAP_NONE, USAGE_SCRIPT); in createTyped()
2754 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
2820 usage == (USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE)) { in createFromBitmap()
3068 USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmap()
3291 USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmapResource()
/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/androidx/renderscript/
DAllocation.java162 public static final int USAGE_SCRIPT = 0x0001; field in Allocation
357 if ((usage & ~(USAGE_SCRIPT | in Allocation()
370 USAGE_SCRIPT)) != 0) { in Allocation()
485 case USAGE_SCRIPT: in syncAll()
2604 return createTyped(rs, type, MipmapControl.MIPMAP_NONE, USAGE_SCRIPT); in createTyped()
2642 return createSized(rs, e, count, USAGE_SCRIPT); in createSized()
2706 usage == (USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE)) { in createFromBitmap()
2755 USAGE_SHARED | USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmap()
2975 USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE); in createFromBitmapResource()
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_blur_validation.java58 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);
/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_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_reduce_general_result/
DScriptField_MyStruct.java.expect82 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
86 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DRSTestCore.java89 listElem.text = Allocation.createFromString(mRS, uta[i].name, Allocation.USAGE_SCRIPT); in init()
/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);

12