Home
last modified time | relevance | path

Searched refs:createFromBitmap (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DImageBuffersForRenderScript.java35 inAllocation = Allocation.createFromBitmap(renderScript, inputImage); in ImageBuffersForRenderScript()
39 outAllocation = Allocation.createFromBitmap(renderScript, outputImage); in ImageBuffersForRenderScript()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java87 Allocation dest_alloc = Allocation.createFromBitmap(rs, dest_bitmap); in heal()
90 Allocation src_alloc = Allocation.createFromBitmap(rs, src_bitmap); in heal()
91 Allocation mask_alloc = Allocation.createFromBitmap(rs, mask_bitmap); in heal()
137 Allocation dest_uc4 = Allocation.createFromBitmap(rs, destBitmap); in heal_orig()
143 Allocation src_uc4 = Allocation.createFromBitmap(rs, src); in heal_orig()
147 Allocation mask = Allocation.createFromBitmap(rs, maskBitmap); in heal_orig()
DFindRegion.java81 Allocation aImage = Allocation.createFromBitmap(mRs, image); in findMatch()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DGraphicsUtils.kt84 val allocationIn = Allocation.createFromBitmap(renderScript, sourceBitmap) in <lambda>()
85 val allocationOut = Allocation.createFromBitmap(renderScript, blurredImage) in <lambda>()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java92 Allocation dest_uc4 = Allocation.createFromBitmap(rs, destBitmap); in heal()
98 Allocation src_uc4 = Allocation.createFromBitmap(rs, src); in heal()
102 Allocation mask = Allocation.createFromBitmap(rs, maskBitmap); in heal()
DFindRegion.java99 findRegion.set_image(Allocation.createFromBitmap(mRs, image)); in findMatch()
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java102 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo, in onCreate()
106 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity, in onCreate()
/frameworks/rs/toolkit/test/
DIntrinsicHistogram.kt79 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicHistogram()
164 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicHistogramDot()
DIntrinsicBlend.kt68 val sourceAllocation = Allocation.createFromBitmap(context, sourceBitmap) in intrinsicBlend()
69 val destAllocation = Allocation.createFromBitmap(context, destBitmap) in intrinsicBlend()
DIntrinsicBlur.kt85 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicBlur()
DIntrinsicResize.kt84 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicResize()
DIntrinsicConvolve.kt76 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicConvolve()
DIntrinsicLut.kt92 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicLut()
DIntrinsicLut3d.kt92 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicLut3d()
DIntrinsicColorMatrix.kt119 val inputAllocation = Allocation.createFromBitmap(context, bitmap) in intrinsicColorMatrix()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DRefocusFilterF32.java83 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
96 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DRefocusFilterd1new.java85 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractSharpImage()
98 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap); in extractFuzzyImage()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java80 Allocation.createFromBitmap(mRS, bp, in loadTexture()
/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java2685 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, in createFromBitmap() method in Allocation
2698 return createFromBitmap(rs, newBitmap, mips, usage); in createFromBitmap()
2753 static public Allocation createFromBitmap(RenderScript rs, Bitmap b) { in createFromBitmap() method in Allocation
2754 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE, in createFromBitmap()
2951 Allocation alloc = createFromBitmap(rs, b, mips, usage); in createFromBitmapResource()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java2797 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, in createFromBitmap() method in Allocation
2812 return createFromBitmap(rs, newBitmap, mips, usage); in createFromBitmap()
3065 static public Allocation createFromBitmap(RenderScript rs, Bitmap b) { in createFromBitmap() method in Allocation
3067 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE, in createFromBitmap()
3070 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE, in createFromBitmap()
3264 Allocation alloc = createFromBitmap(rs, b, mips, usage); in createFromBitmapResource()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java183 mAllocationOut = Allocation.createFromBitmap(mRS, mBitmap); in onOpen()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java234 mOutDisplayAllocation1 = Allocation.createFromBitmap(mRS, mBitmapOut1); in Processor()
235 mOutDisplayAllocation2 = Allocation.createFromBitmap(mRS, mBitmapOut2); in Processor()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DScriptGroupTestActivity.java196 mOutPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapOut); in init()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DViewfinderProcessor.java267 img_alloc = Allocation.createFromBitmap(mRs, image); in processImage()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DImageProcessingActivity.java416 mOutPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapOut); in init()

12