Home
last modified time | relevance | path

Searched refs:blend (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicBlend.java59 private void blend(int id, Allocation ain, Allocation aout) {
76 blend(0, ain, aout);
96 blend(1, ain, aout);
136 blend(3, ain, aout);
155 blend(4, ain, aout);
174 blend(5, ain, aout);
193 blend(6, ain, aout);
212 blend(7, ain, aout);
231 blend(8, ain, aout);
251 blend(9, ain, aout);
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBlend.java48 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { in blend() method in ScriptIntrinsicBlend
76 blend(0, ain, aout, opt); in forEachClear()
107 blend(1, ain, aout, opt); in forEachSrc()
171 blend(3, ain, aout, opt); in forEachSrcOver()
201 blend(4, ain, aout, opt); in forEachDstOver()
231 blend(5, ain, aout, opt); in forEachSrcIn()
261 blend(6, ain, aout, opt); in forEachDstIn()
291 blend(7, ain, aout, opt); in forEachSrcOut()
321 blend(8, ain, aout, opt); in forEachDstOut()
353 blend(9, ain, aout, opt); in forEachSrcAtop()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DConvolve5x5.java36 private float blend(float v1, float v2, float p) { in blend() method in Convolve5x5
43 float cf1 = blend(f125, -1.f, str); in updateMatrix()
44 float cf2 = blend(f125, -3.f, str); in updateMatrix()
45 float cf3 = blend(f125, -4.f, str); in updateMatrix()
46 float cf4 = blend(f125, 6.f, str); in updateMatrix()
47 float cf5 = blend(f125, 20.f, str); in updateMatrix()
48 float cf6 = blend(f125, 0.f, str); in updateMatrix()
DConvolve3x3.java36 private float blend(float v1, float v2, float p) { in blend() method in Convolve3x3
42 float cf1 = blend(1.f / 9.f, 0.f, str); in updateMatrix()
43 float cf2 = blend(1.f / 9.f, -1.f, str); in updateMatrix()
44 float cf3 = blend(1.f / 9.f, 5.f, str); in updateMatrix()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DConvolve5x5.java43 private float blend(float v1, float v2, float p) { in blend() method in Convolve5x5
50 float cf1 = blend(f125, -1.f, str); in updateMatrix()
51 float cf2 = blend(f125, -3.f, str); in updateMatrix()
52 float cf3 = blend(f125, -4.f, str); in updateMatrix()
53 float cf4 = blend(f125, 6.f, str); in updateMatrix()
54 float cf5 = blend(f125, 20.f, str); in updateMatrix()
55 float cf6 = blend(f125, 0.f, str); in updateMatrix()
DConvolve3x3.java43 private float blend(float v1, float v2, float p) { in blend() method in Convolve3x3
49 float cf1 = blend(1.f / 9.f, 0.f, str); in updateMatrix()
50 float cf2 = blend(1.f / 9.f, -1.f, str); in updateMatrix()
51 float cf3 = blend(1.f / 9.f, 5.f, str); in updateMatrix()
/frameworks/base/libs/hwui/
DSkiaInterpolator.cpp138 const float blend[4]) { in ComputeRelativeT()
142 return blend ? SkUnitCubicInterp(t, blend[0], blend[1], blend[2], blend[3]) : t; in ComputeRelativeT()
255 const float blend[4]) { in setKeyFrame()
258 if (blend == nullptr) { in setKeyFrame()
259 blend = gIdentityBlend; in setKeyFrame()
268 memcpy(timeCode->fBlend, blend, sizeof(timeCode->fBlend)); in setKeyFrame()
DDeferredLayerUpdater.h67 bool setBlend(bool blend) { in setBlend() argument
68 if (blend != mBlend) { in setBlend()
69 mBlend = blend; in setBlend()
DSkiaInterpolator.h70 const float blend[4] = nullptr);
104 const float blend[4] = nullptr);
DLayer.h54 void setBlend(bool blend) { mBlend = blend; } in setBlend() argument
/frameworks/base/graphics/java/android/graphics/
DInterpolator.java90 public void setKeyFrame(int index, int msec, float[] values, float[] blend) { in setKeyFrame() argument
97 if (blend != null && blend.length < 4) { in setKeyFrame()
100 nativeSetKeyFrame(native_instance, index, msec, values, blend); in setKeyFrame()
163 …e void nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend); in nativeSetKeyFrame() argument
/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp146 blend(defaultBlend), color(defaultColor), in Rectangle()
153 int32_t blend; member in Rectangle
319 layer->blending = it->blend; in main()
442 rect.blend = HWC_BLENDING_NONE; in parseRect()
444 rect.blend = HWC_BLENDING_PREMULT; in parseRect()
446 rect.blend = HWC_BLENDING_COVERAGE; in parseRect()
DhwcCommit.cpp171 int32_t blend; member in Rectangle
708 rect.blend = id; in supportedBlends()
1287 background.blend = backgroundBlend; in numOverlapping()
1300 background.blend = foregroundBlend; in numOverlapping()
1311 blend(defaultBlend), color(defaultColor), alpha(defaultAlpha), in Rectangle()
1421 layer->blending = it->blend; in numOverlays()
/frameworks/base/libs/hwui/jni/
DInterpolator.cpp28 SkScalar* blend = autoBlend.ptr(); in Interpolator_setKeyFrame() local
30 interp->setKeyFrame(index, msec, scalars, blend); in Interpolator_setKeyFrame()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/
DDoubleShadowIconDrawable.kt75 val blend = RenderEffect.createBlendModeEffect(ambientShadow, keyShadow, BlendMode.DST_ATOP) in createShadowRenderNode() constant
76 renderNode.setRenderEffect(blend) in createShadowRenderNode()
/frameworks/native/cmds/flatland/
DMain.cpp103 0, staticGradient, blend,
129 0, staticGradient, blend,
155 0, staticGradient, blend,
185 0, staticGradient, blend,
DFlatland.h58 Composer* blend();
DComposers.cpp199 Composer* blend() { in blend() function
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp292 VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* blend; in setupDevice() local
293 blend = (VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*)malloc( in setupDevice()
295 LOG_ALWAYS_FATAL_IF(!blend); in setupDevice()
296 blend->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT; in setupDevice()
297 blend->pNext = nullptr; in setupDevice()
298 *tailPNext = blend; in setupDevice()
299 tailPNext = &blend->pNext; in setupDevice()
/frameworks/rs/toolkit/
DBlend.cpp41 void blend(RenderScriptToolkit::BlendingMode mode, const uchar4* in, uchar4* out,
85 void BlendTask::blend(RenderScriptToolkit::BlendingMode mode, const uchar4* in, uchar4* out, in blend() function in android::renderscript::BlendTask
353 blend(mMode, mIn + offset, mOut + offset, endX - startX); in processData()
357 void RenderScriptToolkit::blend(BlendingMode mode, const uint8_t* in, uint8_t* out, size_t sizeX, in blend() function in android::renderscript::RenderScriptToolkit
DRenderScriptToolkit.h192 void blend(BlendingMode mode, const uint8_t* _Nonnull source, uint8_t* _Nonnull dst,
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dutils.agsl80 * This is the normal blend mode in which the foreground is painted on top of the background based
98 * This is the normal blend mode in which the foreground is painted on top of the background based
Dfog_effect.agsl55 // Load foreground and blend it with constant solid fog color.
59 // Load background and blend it with constant solid fog color.
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimView.java219 public void setBlendWithMainColor(boolean blend) { in setBlendWithMainColor() argument
220 mBlendWithMainColor = blend; in setBlendWithMainColor()
/frameworks/rs/script_api/
Drs_graphics.spec880 summary: Get program store blend destination function
882 Get program store blend destination function
892 summary: Get program store blend source function
894 Get program store blend source function

12