Home
last modified time | relevance | path

Searched refs:blendMode (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffectView.kt30 private var blendMode: BlendMode = BlendMode.SRC_OVER variable
42 this.paint!!.blendMode = blendMode in draw()
48 fun setBlendMode(blendMode: BlendMode) { in setBlendMode()
49 this.blendMode = blendMode in setBlendMode()
/frameworks/base/libs/hwui/apex/
Dandroid_paint.cpp36 static SkBlendMode convertBlendMode(ABlendMode blendMode) { in convertBlendMode() argument
37 switch (blendMode) { in convertBlendMode()
59 void APaint_setBlendMode(APaint* paint, ABlendMode blendMode) { in APaint_setBlendMode() argument
60 TypeCast::toPaint(paint)->setBlendMode(convertBlendMode(blendMode)); in APaint_setBlendMode()
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dpaint.h51 ANDROID_API void APaint_setBlendMode(APaint* paint, ABlendMode blendMode);
65 void setBlendMode(ABlendMode blendMode) { APaint_setBlendMode(mPaint, blendMode); } in setBlendMode() argument
/frameworks/base/graphics/java/android/graphics/
DComposeShader.java73 @NonNull BlendMode blendMode) { in ComposeShader() argument
74 this(shaderA, shaderB, blendMode.getXfermode().porterDuffMode); in ComposeShader()
DRenderEffect.java239 @NonNull BlendMode blendMode in createBlendModeEffect() argument
245 blendMode.getXfermode().porterDuffMode in createBlendModeEffect()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseView.kt229 fun setBlendMode(blendMode: BlendMode) { in <lambda>()
230 paint.blendMode = blendMode in <lambda>()
/frameworks/base/core/java/android/widget/
DAnalogClock.java281 public void setDialTintBlendMode(@Nullable BlendMode blendMode) { in setDialTintBlendMode() argument
282 mDialTintInfo.mTintBlendMode = blendMode; in setDialTintBlendMode()
357 public void setHourHandTintBlendMode(@Nullable BlendMode blendMode) { in setHourHandTintBlendMode() argument
358 mHourHandTintInfo.mTintBlendMode = blendMode; in setHourHandTintBlendMode()
434 public void setMinuteHandTintBlendMode(@Nullable BlendMode blendMode) { in setMinuteHandTintBlendMode() argument
435 mMinuteHandTintInfo.mTintBlendMode = blendMode; in setMinuteHandTintBlendMode()
517 public void setSecondHandTintBlendMode(@Nullable BlendMode blendMode) { in setSecondHandTintBlendMode() argument
518 mSecondHandTintInfo.mTintBlendMode = blendMode; in setSecondHandTintBlendMode()
DProgressBar.java837 public void setIndeterminateTintBlendMode(@Nullable BlendMode blendMode) { in setIndeterminateTintBlendMode() argument
841 mProgressTintInfo.mIndeterminateBlendMode = blendMode; in setIndeterminateTintBlendMode()
1147 public void setProgressTintBlendMode(@Nullable BlendMode blendMode) { in setProgressTintBlendMode() argument
1151 mProgressTintInfo.mProgressBlendMode = blendMode; in setProgressTintBlendMode()
1264 public void setProgressBackgroundTintBlendMode(@Nullable BlendMode blendMode) { in setProgressBackgroundTintBlendMode() argument
1268 mProgressTintInfo.mProgressBackgroundBlendMode = blendMode; in setProgressBackgroundTintBlendMode()
1378 public void setSecondaryProgressTintBlendMode(@Nullable BlendMode blendMode) { in setSecondaryProgressTintBlendMode() argument
1382 mProgressTintInfo.mSecondaryProgressBlendMode = blendMode; in setSecondaryProgressTintBlendMode()
DAbsSeekBar.java309 public void setThumbTintBlendMode(@Nullable BlendMode blendMode) { in setThumbTintBlendMode() argument
310 mThumbBlendMode = blendMode; in setThumbTintBlendMode()
494 public void setTickMarkTintBlendMode(@Nullable BlendMode blendMode) { in setTickMarkTintBlendMode() argument
495 mTickMarkBlendMode = blendMode; in setTickMarkTintBlendMode()
/frameworks/base/graphics/java/android/graphics/drawable/
DColorStateListDrawable.java124 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
125 mState.mBlendMode = blendMode; in setTintBlendMode()
126 mColorDrawable.setTintBlendMode(blendMode); in setTintBlendMode()
DColorDrawable.java219 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
220 mColorState.mBlendMode = blendMode; in setTintBlendMode()
222 blendMode); in setTintBlendMode()
DDrawable.java716 public void setTintBlendMode(@Nullable BlendMode blendMode) { in setTintBlendMode() argument
719 PorterDuff.Mode mode = BlendMode.blendModeToPorterDuffMode(blendMode); in setTintBlendMode()
1591 @Nullable ColorStateList tint, @Nullable BlendMode blendMode) { in updateBlendModeFilter() argument
1592 if (tint == null || blendMode == null) { in updateBlendModeFilter()
1598 || blendFilter.getMode() != blendMode) { in updateBlendModeFilter()
1599 return new BlendModeColorFilter(color, blendMode); in updateBlendModeFilter()
DShapeDrawable.java300 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
301 mShapeState.mBlendMode = blendMode; in setTintBlendMode()
303 blendMode); in setTintBlendMode()
DBitmapDrawable.java696 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
698 if (state.mBlendMode != blendMode) { in setTintBlendMode()
699 state.mBlendMode = blendMode; in setTintBlendMode()
701 blendMode); in setTintBlendMode()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp74 dumpVal(out, "blend", toString(blendMode), blendMode); in dump()
/frameworks/base/libs/hwui/jni/
DRenderEffect.cpp97 SkBlendMode blendMode = static_cast<SkBlendMode>(blendmodeHandle); in createBlendModeEffect() local
99 blendMode, in createBlendModeEffect()
/frameworks/base/core/java/android/view/
DMenuItem.java288 default @NonNull MenuItem setIconTintBlendMode(@Nullable BlendMode blendMode) { in setIconTintBlendMode() argument
289 PorterDuff.Mode mode = BlendMode.blendModeToPorterDuffMode(blendMode); in setIconTintBlendMode()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DPunchHole.kt121 drawRect(Color.Black, size = size, blendMode = BlendMode.DstOut) in DrawScope()
139 blendMode = BlendMode.DstOut, in DrawScope()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp345 auto blendMode = Hwc2::IComposerClient::BlendMode::NONE; in getBlendMode() local
347 blendMode = requested.premultipliedAlpha ? Hwc2::IComposerClient::BlendMode::PREMULTIPLIED in getBlendMode()
350 return blendMode; in getBlendMode()
508 blendMode = getBlendMode(requested); in merge()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/
DGlassView.kt169 materialPaint.blendMode = BlendMode.SOFT_LIGHT
170 noisePaint.blendMode = BlendMode.SOFT_LIGHT
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt115 p.blendMode = BlendMode.SRC in <lambda>()
124 p.blendMode = BlendMode.CLEAR in <lambda>()
143 p.blendMode = BlendMode.SRC in <lambda>()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DCachedSetTest.cpp597 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
610 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
621 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
640 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
656 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
676 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
689 layerFECompositionState.blendMode = hal::BlendMode::PREMULTIPLIED; in TEST_F()
702 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
716 layerFECompositionState.blendMode = hal::BlendMode::NONE; in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h131 hal::BlendMode blendMode{hal::BlendMode::INVALID};
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DBlingyNotification.kt81 paint.blendMode = BlendMode.PLUS in onSizeChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryFillDrawable.kt87 p.blendMode = BlendMode.CLEAR in <lambda>()

123