Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DComposeShader.java73 @NonNull BlendMode blendMode) { in ComposeShader() argument
74 this(shaderA, shaderB, blendMode.getXfermode().porterDuffMode); in ComposeShader()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerCompositionState.cpp53 dumpVal(out, "blend", toString(state.blendMode), state.blendMode); in dumpFrontEnd()
DOutputLayer.cpp356 static_cast<HWC2::BlendMode>(outputIndependentState.blendMode)); in writeStateToHWC()
359 toString(outputIndependentState.blendMode).c_str(), to_string(error).c_str(), in writeStateToHWC()
/frameworks/base/graphics/java/android/graphics/drawable/
DColorStateListDrawable.java118 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
119 mState.mBlendMode = blendMode; in setTintBlendMode()
120 mColorDrawable.setTintBlendMode(blendMode); in setTintBlendMode()
DColorDrawable.java218 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
219 mColorState.mBlendMode = blendMode; in setTintBlendMode()
221 blendMode); in setTintBlendMode()
DDrawable.java721 public void setTintBlendMode(@Nullable BlendMode blendMode) { in setTintBlendMode() argument
724 PorterDuff.Mode mode = BlendMode.blendModeToPorterDuffMode(blendMode); in setTintBlendMode()
1600 @Nullable ColorStateList tint, @Nullable BlendMode blendMode) { in updateBlendModeFilter() argument
1601 if (tint == null || blendMode == null) { in updateBlendModeFilter()
1607 || blendFilter.getMode() != blendMode) { in updateBlendModeFilter()
1608 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.java688 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
690 if (state.mBlendMode != blendMode) { in setTintBlendMode()
691 state.mBlendMode = blendMode; in setTintBlendMode()
693 blendMode); in setTintBlendMode()
DDrawableContainer.java199 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
202 if (mDrawableContainerState.mBlendMode != blendMode) { in setTintBlendMode()
203 mDrawableContainerState.mBlendMode = blendMode; in setTintBlendMode()
206 mCurrDrawable.setTintBlendMode(blendMode); in setTintBlendMode()
DVectorDrawable.java490 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
492 if (state.mBlendMode != blendMode) { in setTintBlendMode()
493 state.mBlendMode = blendMode; in setTintBlendMode()
526 BlendMode blendMode = state.mBlendMode; in onStateChange() local
528 updateColorFilters(blendMode, tint); in onStateChange()
535 private void updateColorFilters(@Nullable BlendMode blendMode, ColorStateList tint) { in updateColorFilters() argument
536 PorterDuff.Mode mode = BlendMode.blendModeToPorterDuffMode(blendMode); in updateColorFilters()
538 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, tint, blendMode); in updateColorFilters()
DNinePatchDrawable.java352 public void setTintBlendMode(@Nullable BlendMode blendMode) { in setTintBlendMode() argument
353 mNinePatchState.mBlendMode = blendMode; in setTintBlendMode()
355 blendMode); in setTintBlendMode()
DDrawableWrapper.java327 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
329 mDrawable.setTintBlendMode(blendMode); in setTintBlendMode()
DAdaptiveIconDrawable.java704 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument
710 dr.setTintBlendMode(blendMode); in setTintBlendMode()
/frameworks/base/core/java/android/view/
DMenuItem.java289 default @NonNull MenuItem setIconTintBlendMode(@Nullable BlendMode blendMode) { in setIconTintBlendMode() argument
290 PorterDuff.Mode mode = BlendMode.blendModeToPorterDuffMode(blendMode); in setIconTintBlendMode()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h64 Hwc2::IComposerClient::BlendMode blendMode{Hwc2::IComposerClient::BlendMode::INVALID};
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.cpp652 hwc2_blend_mode_t blendMode = testLayers->getBlendMode(*layer); in compositeBufferFromLayers() local
654 if (blendMode == HWC2_BLEND_MODE_PREMULTIPLIED) { in compositeBufferFromLayers()
662 if (blendMode == HWC2_BLEND_MODE_PREMULTIPLIED) { in compositeBufferFromLayers()
667 } else if (blendMode == HWC2_BLEND_MODE_COVERAGE) { in compositeBufferFromLayers()
DHwc2TestProperties.cpp156 hwc2_blend_mode_t blendMode) in Hwc2TestColor() argument
161 mBlendMode(blendMode) in Hwc2TestColor()
176 void Hwc2TestColor::updateBlendMode(hwc2_blend_mode_t blendMode) in updateBlendMode() argument
178 mBlendMode = blendMode; in updateBlendMode()
DHwc2TestProperties.h196 hwc2_blend_mode_t blendMode = HWC2_BLEND_MODE_NONE);
200 void updateBlendMode(hwc2_blend_mode_t blendMode);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt114 p.blendMode = BlendMode.SRC in <lambda>()
123 p.blendMode = BlendMode.CLEAR in <lambda>()
142 p.blendMode = BlendMode.SRC in <lambda>()
/frameworks/base/core/java/android/widget/
DProgressBar.java822 public void setIndeterminateTintBlendMode(@Nullable BlendMode blendMode) { in setIndeterminateTintBlendMode() argument
826 mProgressTintInfo.mIndeterminateBlendMode = blendMode; in setIndeterminateTintBlendMode()
1131 public void setProgressTintBlendMode(@Nullable BlendMode blendMode) { in setProgressTintBlendMode() argument
1135 mProgressTintInfo.mProgressBlendMode = blendMode; in setProgressTintBlendMode()
1247 public void setProgressBackgroundTintBlendMode(@Nullable BlendMode blendMode) { in setProgressBackgroundTintBlendMode() argument
1251 mProgressTintInfo.mProgressBackgroundBlendMode = blendMode; in setProgressBackgroundTintBlendMode()
1359 public void setSecondaryProgressTintBlendMode(@Nullable BlendMode blendMode) { in setSecondaryProgressTintBlendMode() argument
1363 mProgressTintInfo.mSecondaryProgressBlendMode = blendMode; in setSecondaryProgressTintBlendMode()
DAbsSeekBar.java307 public void setThumbTintBlendMode(@Nullable BlendMode blendMode) { in setThumbTintBlendMode() argument
308 mThumbBlendMode = blendMode; in setThumbTintBlendMode()
492 public void setTickMarkTintBlendMode(@Nullable BlendMode blendMode) { in setTickMarkTintBlendMode() argument
493 mTickMarkBlendMode = blendMode; in setTickMarkTintBlendMode()
DSwitch.java607 public void setTrackTintBlendMode(@Nullable BlendMode blendMode) { in setTrackTintBlendMode() argument
608 mTrackBlendMode = blendMode; in setTrackTintBlendMode()
761 public void setThumbTintBlendMode(@Nullable BlendMode blendMode) { in setThumbTintBlendMode() argument
762 mThumbBlendMode = blendMode; in setThumbTintBlendMode()
DImageView.java694 public void setImageTintBlendMode(@Nullable BlendMode blendMode) {
695 mDrawableBlendMode = blendMode;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp272 mLayerState.frontEnd.blendMode = kBlendMode; in OutputLayerWriteStateToHWCTest()
/frameworks/native/services/surfaceflinger/
DLayer.cpp419 auto blendMode = HWC2::BlendMode::None; in latchGeometry() local
421 blendMode = in latchGeometry()
450 compositionState.blendMode = static_cast<Hwc2::IComposerClient::BlendMode>(blendMode); in latchGeometry()

12