/frameworks/base/graphics/java/android/graphics/ |
D | ComposeShader.java | 73 @NonNull BlendMode blendMode) { in ComposeShader() argument 74 this(shaderA, shaderB, blendMode.getXfermode().porterDuffMode); in ComposeShader()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | LayerCompositionState.cpp | 53 dumpVal(out, "blend", toString(state.blendMode), state.blendMode); in dumpFrontEnd()
|
D | OutputLayer.cpp | 356 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/ |
D | ColorStateListDrawable.java | 118 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument 119 mState.mBlendMode = blendMode; in setTintBlendMode() 120 mColorDrawable.setTintBlendMode(blendMode); in setTintBlendMode()
|
D | ColorDrawable.java | 218 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument 219 mColorState.mBlendMode = blendMode; in setTintBlendMode() 221 blendMode); in setTintBlendMode()
|
D | Drawable.java | 721 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()
|
D | ShapeDrawable.java | 300 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument 301 mShapeState.mBlendMode = blendMode; in setTintBlendMode() 303 blendMode); in setTintBlendMode()
|
D | BitmapDrawable.java | 688 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()
|
D | DrawableContainer.java | 199 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()
|
D | VectorDrawable.java | 490 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()
|
D | NinePatchDrawable.java | 352 public void setTintBlendMode(@Nullable BlendMode blendMode) { in setTintBlendMode() argument 353 mNinePatchState.mBlendMode = blendMode; in setTintBlendMode() 355 blendMode); in setTintBlendMode()
|
D | DrawableWrapper.java | 327 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument 329 mDrawable.setTintBlendMode(blendMode); in setTintBlendMode()
|
D | AdaptiveIconDrawable.java | 704 public void setTintBlendMode(@NonNull BlendMode blendMode) { in setTintBlendMode() argument 710 dr.setTintBlendMode(blendMode); in setTintBlendMode()
|
/frameworks/base/core/java/android/view/ |
D | MenuItem.java | 289 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/ |
D | LayerFECompositionState.h | 64 Hwc2::IComposerClient::BlendMode blendMode{Hwc2::IComposerClient::BlendMode::INVALID};
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestBuffer.cpp | 652 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()
|
D | Hwc2TestProperties.cpp | 156 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()
|
D | Hwc2TestProperties.h | 196 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/ |
D | ThemedBatteryDrawable.kt | 114 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/ |
D | ProgressBar.java | 822 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()
|
D | AbsSeekBar.java | 307 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()
|
D | Switch.java | 607 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()
|
D | ImageView.java | 694 public void setImageTintBlendMode(@Nullable BlendMode blendMode) { 695 mDrawableBlendMode = blendMode;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 272 mLayerState.frontEnd.blendMode = kBlendMode; in OutputLayerWriteStateToHWCTest()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 419 auto blendMode = HWC2::BlendMode::None; in latchGeometry() local 421 blendMode = in latchGeometry() 450 compositionState.blendMode = static_cast<Hwc2::IComposerClient::BlendMode>(blendMode); in latchGeometry()
|