Home
last modified time | relevance | path

Searched refs:renderScript (Results 1 – 14 of 14) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DImageBuffersForRenderScriptd1new.java49 … RenderScript renderScript, ScriptC_layered_filter_fast_d1new scriptC) { in ImageBuffersForRenderScriptd1new() argument
50 super(image, margin, renderScript); in ImageBuffersForRenderScriptd1new()
52 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
55 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
58 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
61 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
64 renderScript, Element.U8(renderScript), in ImageBuffersForRenderScriptd1new()
67 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
70 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptd1new()
DRefocusFilterd1new.java47 scriptC = new ScriptC_layered_filter_fast_d1new(renderScript); in initializeScriptAndBuffers()
55 renderScript, scriptC); in initializeScriptAndBuffers()
85 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
89 MediaStoreSaver.savePNG(mBitmap, "sharpd1new", name, renderScript.getApplicationContext()); in extractSharpImage()
98 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
102 MediaStoreSaver.savePNG(mBitmap, "fuzzyd1new", name, renderScript.getApplicationContext()); in extractFuzzyImage()
118 new KernelDataForRenderScriptd1new(targetLayer, blurStack, renderScript); in setKernelData()
DKernelDataForRenderScriptd1new.java42 RenderScript renderScript) { in KernelDataForRenderScriptd1new() argument
43 super(targetLayer, blurStack, renderScript); in KernelDataForRenderScriptd1new()
60 stackAllocation = Allocation.createSized(renderScript, in KernelDataForRenderScriptd1new()
61 Element.F32(renderScript), kernelStack.length); in KernelDataForRenderScriptd1new()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DImageBuffersForRenderScriptF32.java42 RenderScript renderScript, ScriptC_layered_filter_fast_f32 scriptC) { in ImageBuffersForRenderScriptF32() argument
43 super(image, margin, renderScript); in ImageBuffersForRenderScriptF32()
46 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptF32()
50 renderScript, Element.F32_4(renderScript), in ImageBuffersForRenderScriptF32()
53 integralImageAllocation = Allocation.createSized(renderScript, in ImageBuffersForRenderScriptF32()
54 Element.F32_4(renderScript), imageWidthPadded * imageHeightPadded); in ImageBuffersForRenderScriptF32()
DRefocusFilterF32.java46 scriptC = new ScriptC_layered_filter_fast_f32(renderScript); in initializeScriptAndBuffers()
54 renderScript, scriptC); in initializeScriptAndBuffers()
83 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
87 MediaStoreSaver.savePNG(mBitmap, "sharpF32", name, renderScript.getApplicationContext()); in extractSharpImage()
96 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
100 MediaStoreSaver.savePNG(mBitmap, "fuzzyF32", name, renderScript.getApplicationContext()); in extractFuzzyImage()
116 new KernelDataForRenderScriptF32(targetLayer, blurStack, renderScript); in setKernelData()
DKernelDataForRenderScriptF32.java42 RenderScript renderScript) { in KernelDataForRenderScriptF32() argument
43 super(targetLayer, blurStack, renderScript); in KernelDataForRenderScriptF32()
58 stackAllocation = Allocation.createSized(renderScript, in KernelDataForRenderScriptF32()
59 Element.F32(renderScript), kernelStack.length); in KernelDataForRenderScriptF32()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DRenderScriptTask.java64 private RenderScript renderScript; field in RenderScriptTask
73 public RenderScriptTask(RenderScript renderScript, script sChoice) { in RenderScriptTask() argument
74 this.renderScript = renderScript; in RenderScriptTask()
94 filter = new RefocusFilterF32(renderScript); in applyRefocusFilter()
97 filter = new RefocusFilterd1new(renderScript); in applyRefocusFilter()
DMainActivity.java46 … RenderScript renderScript = RenderScript.create(getApplicationContext(), RS_API); in onCreate() local
47 renderScript.setPriority(RenderScript.Priority.NORMAL); in onCreate()
57 … RsTaskParams rsTaskParam = new RsTaskParams(this, renderScript, current_depth_options); in onCreate()
70 RenderScript renderScript = RenderScript.create(getApplicationContext(), RS_API); in onCreate() local
71 renderScript.setPriority(RenderScript.Priority.NORMAL); in onCreate()
112 task = new RsTaskParams(this, renderScript, options); in onCreate()
129 task = new RsTaskParams(this, renderScript, options); in onCreate()
141 task = new RsTaskParams(this, renderScript, options); in onCreate()
160 RenderScript renderScript, in RsTaskParams() argument
163 mRenderScript = renderScript; in RsTaskParams()
DKernelDataForRenderScript.java94 RenderScript renderScript) { in KernelDataForRenderScript() argument
99 renderScript, Element.F32_4(renderScript), in KernelDataForRenderScript()
123 kernelInfo = new ScriptField_KernelInfo(renderScript, numDepths); in KernelDataForRenderScript()
DImageBuffersForRenderScript.java33 RenderScript renderScript) { in ImageBuffersForRenderScript() argument
35 inAllocation = Allocation.createFromBitmap(renderScript, inputImage); in ImageBuffersForRenderScript()
39 outAllocation = Allocation.createFromBitmap(renderScript, outputImage); in ImageBuffersForRenderScript()
DRefocusFilter.java23 protected RenderScript renderScript; field in RefocusFilter
46 renderScript = rs; in RefocusFilter()
89 renderScript.finish(); in compute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaArtworkProcessor.kt51 val renderScript = RenderScript.create(context) in processArtwork() constant
52 val blur = ScriptIntrinsicBlur.create(renderScript, Element.U8_4(renderScript)) in processArtwork()
72 input = Allocation.createFromBitmap(renderScript, inBitmap, in processArtwork()
74 output = Allocation.createFromBitmap(renderScript, outBitmap) in processArtwork()
/frameworks/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java139 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText()
150 private void renderScript(int start, int limit, Font preferredFont, int flag, in renderScript() method in BidiRenderer
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBackingStore.java801 public AllocationBacking(RenderScript renderScript) { in AllocationBacking() argument
802 mRenderScript = renderScript; in AllocationBacking()