Home
last modified time | relevance | path

Searched refs:mBlendMode (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java214 mColorState.mBlendMode); in setTintList()
220 mColorState.mBlendMode = blendMode; in setTintBlendMode()
229 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
231 state.mBlendMode); in onStateChange()
355 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in ColorDrawable.ColorState
367 mBlendMode = state.mBlendMode; in ColorState()
406 mColorState.mBlendMode); in updateLocalState()
DColorStateListDrawable.java125 mState.mBlendMode = blendMode; in setTintBlendMode()
252 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in ColorStateListDrawable.ColorStateListDrawableState
262 mBlendMode = state.mBlendMode; in ColorStateListDrawableState()
303 if (mState.mBlendMode != DEFAULT_BLEND_MODE) { in initializeColorDrawable()
304 mColorDrawable.setTintBlendMode(mState.mBlendMode); in initializeColorDrawable()
DShapeDrawable.java295 mShapeState.mBlendMode); in setTintList()
301 mShapeState.mBlendMode = blendMode; in setTintBlendMode()
356 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
358 state.mBlendMode); in onStateChange()
479 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN); in updateStateFromTypedArray()
544 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in ShapeDrawable.ShapeState
577 mBlendMode = orig.mBlendMode; in ShapeState()
630 mShapeState.mBlendMode); in updateLocalState()
DBitmapDrawable.java683 mBitmapState.mBlendMode); in setTintList()
691 if (state.mBlendMode != blendMode) { in setTintBlendMode()
692 state.mBlendMode = blendMode; in setTintBlendMode()
712 return BlendMode.blendModeToPorterDuffMode(mBitmapState.mBlendMode); in getTintMode()
750 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
752 state.mBlendMode); in onStateChange()
870 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN); in updateStateFromTypedArray()
985 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in BitmapDrawable.BitmapState
1012 mBlendMode = bitmapState.mBlendMode; in BitmapState()
1073 mBitmapState.mBlendMode); in updateLocalState()
DIcon.java121 private BlendMode mBlendMode = Drawable.DEFAULT_BLEND_MODE; field in Icon
358 result.setTintBlendMode(mBlendMode); in loadDrawable()
795 mBlendMode = BlendMode.fromValue(mode.nativeInt); in setTintMode()
806 mBlendMode = mode; in setTintBlendMode()
812 return mBlendMode; in getTintBlendMode()
818 return (mTintList != null) || (mBlendMode != DEFAULT_BLEND_MODE); in hasTint()
872 if (mBlendMode != DEFAULT_BLEND_MODE) sb.append(" mode=").append(mBlendMode); in toString()
923 mBlendMode = BlendMode.fromValue(in.readInt()); in Icon()
957 dest.writeInt(BlendMode.toValue(mBlendMode)); in writeToParcel()
DNinePatchDrawable.java347 mNinePatchState.mBlendMode); in setTintList()
353 mNinePatchState.mBlendMode = blendMode; in setTintBlendMode()
471 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN); in updateStateFromTypedArray()
570 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
572 state.mBlendMode); in onStateChange()
597 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in NinePatchDrawable.NinePatchState
632 mBlendMode = orig.mBlendMode; in NinePatchState()
755 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, state.mTint, state.mBlendMode); in updateLocalState()
DVectorDrawable.java383 updateColorFilters(mVectorState.mBlendMode, mVectorState.mTint); in updateLocalState()
489 updateColorFilters(mVectorState.mBlendMode, tint); in setTintList()
497 if (state.mBlendMode != blendMode) { in setTintBlendMode()
498 state.mBlendMode = blendMode; in setTintBlendMode()
500 updateColorFilters(state.mBlendMode, state.mTint); in setTintBlendMode()
529 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
530 BlendMode blendMode = state.mBlendMode; in onStateChange()
759 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN); in updateStateFromTypedArray()
933 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in VectorDrawable.VectorDrawableState
992 mBlendMode = copy.mBlendMode; in VectorDrawableState()
[all …]
DDrawableContainer.java202 if (mDrawableContainerState.mBlendMode != blendMode) { in setTintBlendMode()
203 mDrawableContainerState.mBlendMode = blendMode; in setTintBlendMode()
546 d.setTintBlendMode(mDrawableContainerState.mBlendMode); in initializeDrawableForDisplay()
732 BlendMode mBlendMode; field in DrawableContainer.DrawableContainerState
764 mBlendMode = orig.mBlendMode; in DrawableContainerState()
DGradientDrawable.java1157 if (s.mTint != null && s.mBlendMode != null) {
1159 s.mBlendMode);
1232 updateBlendModeFilter(mBlendModeColorFilter, tint, mGradientState.mBlendMode);
1238 mGradientState.mBlendMode = blendMode;
1510 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN);
2062 BlendMode mBlendMode = DEFAULT_BLEND_MODE;
2120 mBlendMode = orig.mBlendMode;
2433 state.mBlendMode);
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DRenderState.h33 hwc2_blend_mode_t mBlendMode = HWC2_BLEND_MODE_NONE; variable
DFakeComposerClient.cpp437 getLayerImpl(layer).mRenderState.mBlendMode = static_cast<hwc2_blend_mode_t>(mode); in setLayerBlendMode()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DLayerState.cpp157 lhs.mBlendMode == rhs.mBlendMode && lhs.mAlpha == rhs.mAlpha && in operator ==()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h307 BlendModeState mBlendMode{[](auto layer) {
500 &mDisplayFrame, &mSourceCrop, &mBufferTransform, &mBlendMode,
/frameworks/base/core/java/android/view/
DView.java4690 BlendMode mBlendMode; field in View.TintInfo
5951 mBackgroundTint.mBlendMode = Drawable.parseBlendMode(a.getInt(
24823 mBackgroundTint.mBlendMode = blendMode; in setBackgroundTintBlendMode()
24843 if (mBackgroundTint != null && mBackgroundTint.mBlendMode != null) { in getBackgroundTintMode()
24844 porterDuffMode = BlendMode.blendModeToPorterDuffMode(mBackgroundTint.mBlendMode); in getBackgroundTintMode()
24861 return mBackgroundTint != null ? mBackgroundTint.mBlendMode : null; in getBackgroundTintBlendMode()
24875 mBackground.setTintBlendMode(tintInfo.mBlendMode); in applyBackgroundTint()
25089 mForegroundInfo.mTintInfo.mBlendMode = blendMode; in setForegroundTintBlendMode()
25108 ? mForegroundInfo.mTintInfo.mBlendMode : null; in getForegroundTintMode()
25128 ? mForegroundInfo.mTintInfo.mBlendMode : null; in getForegroundTintBlendMode()
[all …]
/frameworks/base/core/java/android/widget/
DTextView.java558 BlendMode mBlendMode; field in TextView.Drawables
1671 mDrawables.mBlendMode = drawableTintMode;
3475 mDrawables.mBlendMode = blendMode; in setCompoundDrawableTintBlendMode()
3509 return mDrawables != null ? mDrawables.mBlendMode : null; in getCompoundDrawableTintBlendMode()
3519 final BlendMode blendMode = mDrawables.mBlendMode; in applyCompoundDrawableTint()