Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A 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()
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A 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()
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A 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()
/aosp12/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
H A 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()
/aosp12/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
H A 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()
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A 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()
H A 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()
H A DLoaderRaw.java124 alloc_slice = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
127 b.create(), Allocation.USAGE_SCRIPT); in buildRSVolume()
H A 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()
/aosp12/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DViewfinderProcessor.java50 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT); in ViewfinderProcessor()
57 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); in ViewfinderProcessor()
/aosp12/frameworks/base/rs/java/android/renderscript/
H A 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()
H A 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()
/aosp12/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java82 mAllocationOut = Allocation.createTyped(mRS, t, Allocation.USAGE_SCRIPT | in reset()
90 mAllocationIn = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in reset()
/aosp12/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A 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()
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/
H A 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()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DCachingPipeline.java199 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in updateOriginalAllocation()
207 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in updateOriginalAllocation()
456 Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT); in prepareRenderscriptAllocations()
H A DBuffer.java44 Allocation.USAGE_SHARED | Allocation.USAGE_SCRIPT); in Buffer()
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_blur_validation.java58 Allocation.USAGE_SCRIPT); in run()
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_blur_validation.java60 Allocation.USAGE_SCRIPT); in run()
/aosp12/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
H A DUT_blur_validation.java58 Allocation.USAGE_SCRIPT); in run()
/aosp12/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
H A DScriptField_NonDivergent.java.expect78 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
82 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/aosp12/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptField_MyStruct.java.expect82 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
86 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/aosp12/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptField_MyStruct.java.expect82 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
86 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/aosp12/frameworks/compile/slang/tests/P_reduce_general_result/
H A DScriptField_MyStruct.java.expect82 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
86 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);
/aosp12/frameworks/compile/slang/tests/P_reflection3264_divergent/
H A DScriptField_NonDivergent.java.expect81 return create1D(rs, dimX, Allocation.USAGE_SCRIPT);
85 return create2D(rs, dimX, dimY, Allocation.USAGE_SCRIPT);

12