Home
last modified time | relevance | path

Searched refs:BlendingMode (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/toolkit/test/
DIntrinsicBlend.kt26 import android.renderscript.toolkit.BlendingMode
34 mode: BlendingMode, in intrinsicBlend()
62 mode: BlendingMode, in intrinsicBlend()
85 mode: BlendingMode, in callBlendForEach()
93 BlendingMode.CLEAR -> scriptBlend.forEachClear( in callBlendForEach()
96 BlendingMode.SRC -> scriptBlend.forEachSrc( in callBlendForEach()
99 BlendingMode.DST -> scriptBlend.forEachDst( in callBlendForEach()
102 BlendingMode.SRC_OVER -> scriptBlend.forEachSrcOver( in callBlendForEach()
105 BlendingMode.DST_OVER -> scriptBlend.forEachDstOver( in callBlendForEach()
108 BlendingMode.SRC_IN -> scriptBlend.forEachSrcIn( in callBlendForEach()
[all …]
DReferenceBlend.kt19 import android.renderscript.toolkit.BlendingMode in <lambda>()
29 mode: BlendingMode, in <lambda>()
50 BlendingMode.CLEAR -> blendEachPair { _, _ -> Rgba(0, 0, 0, 0) } in <lambda>()
51 BlendingMode.SRC -> blendEachPair { src, _ -> src } in <lambda>()
52 BlendingMode.DST -> { /* This doesn't do anything. */ } in <lambda>()
53 BlendingMode.SRC_OVER -> blendEachPair { src, dst -> blendOver(src, dst) } in <lambda>()
54 BlendingMode.DST_OVER -> blendEachPair { src, dst -> blendOver(dst, src) } in <lambda>()
55 BlendingMode.SRC_IN -> blendEachPair { src, dst -> blendIn(src, dst) } in <lambda>()
56 BlendingMode.DST_IN -> blendEachPair { src, dst -> blendIn(dst, src) } in <lambda>()
57 BlendingMode.SRC_OUT -> blendEachPair { src, dst -> blendOut(src, dst) } in <lambda>()
[all …]
DAllTests.kt24 import android.renderscript.toolkit.BlendingMode in <lambda>()
115 return BlendingMode.values().all { mode -> in <lambda>()
132 mode: BlendingMode, in <lambda>()
174 mode: BlendingMode, in <lambda>()
/frameworks/rs/toolkit/
DBlend.cpp35 RenderScriptToolkit::BlendingMode mMode;
41 void blend(RenderScriptToolkit::BlendingMode mode, const uchar4* in, uchar4* out,
48 BlendTask(RenderScriptToolkit::BlendingMode mode, const uint8_t* in, uint8_t* out, size_t sizeX, in BlendTask()
85 void BlendTask::blend(RenderScriptToolkit::BlendingMode mode, const uchar4* in, uchar4* out, in blend()
100 case RenderScriptToolkit::BlendingMode::CLEAR: in blend()
105 case RenderScriptToolkit::BlendingMode::SRC: in blend()
111 case RenderScriptToolkit::BlendingMode::DST: in blend()
113 case RenderScriptToolkit::BlendingMode::SRC_OVER: in blend()
132 case RenderScriptToolkit::BlendingMode::DST_OVER: in blend()
151 case RenderScriptToolkit::BlendingMode::SRC_IN: in blend()
[all …]
DRenderScriptToolkit.h99 enum class BlendingMode { enum
192 void blend(BlendingMode mode, const uint8_t* _Nonnull source, uint8_t* _Nonnull dst,
DJniEntryPoints.cpp204 auto mode = static_cast<RenderScriptToolkit::BlendingMode>(jmode); in Java_android_renderscript_toolkit_Toolkit_nativeBlend()
216 auto mode = static_cast<RenderScriptToolkit::BlendingMode>(jmode); in Java_android_renderscript_toolkit_Toolkit_nativeBlendBitmap()
/frameworks/rs/toolkit/java/
DToolkit.kt77 mode: BlendingMode, in blend()
121 mode: BlendingMode, in blend()
1321 enum class BlendingMode(val value: Int) { in createNative() class