Home
last modified time | relevance | path

Searched refs:mBlendMode (Results 1 – 13 of 13) 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.java690 mBitmapState.mBlendMode); in setTintList()
698 if (state.mBlendMode != blendMode) { in setTintBlendMode()
699 state.mBlendMode = blendMode; in setTintBlendMode()
719 return BlendMode.blendModeToPorterDuffMode(mBitmapState.mBlendMode); in getTintMode()
757 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
759 state.mBlendMode); in onStateChange()
877 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN); in updateStateFromTypedArray()
992 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in BitmapDrawable.BitmapState
1019 mBlendMode = bitmapState.mBlendMode; in BitmapState()
1080 mBitmapState.mBlendMode); in updateLocalState()
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()
DIcon.java134 private BlendMode mBlendMode = Drawable.DEFAULT_BLEND_MODE; field in Icon
377 result.setTintBlendMode(mBlendMode); in loadDrawable()
951 mBlendMode = BlendMode.fromValue(mode.nativeInt); in setTintMode()
962 mBlendMode = mode; in setTintBlendMode()
968 return mBlendMode; in getTintBlendMode()
974 return (mTintList != null) || (mBlendMode != DEFAULT_BLEND_MODE); in hasTint()
1028 if (mBlendMode != DEFAULT_BLEND_MODE) sb.append(" mode=").append(mBlendMode); in toString()
1081 mBlendMode = BlendMode.fromValue(in.readInt()); in Icon()
1117 dest.writeInt(BlendMode.toValue(mBlendMode)); in writeToParcel()
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/CompositionEngine/src/planner/
DLayerState.cpp167 lhs.mBlendMode == rhs.mBlendMode && lhs.mAlpha == rhs.mAlpha && in operator ==()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h318 BlendModeState mBlendMode{[](auto layer) {
525 return {&mDisplayFrame, &mSourceCrop, &mBufferTransform, &mBlendMode,
/frameworks/base/core/java/android/view/
DView.java5039 BlendMode mBlendMode; field in View.TintInfo
6357 mBackgroundTint.mBlendMode = Drawable.parseBlendMode(a.getInt(
26426 mBackgroundTint.mBlendMode = blendMode; in setBackgroundTintBlendMode()
26446 if (mBackgroundTint != null && mBackgroundTint.mBlendMode != null) { in getBackgroundTintMode()
26447 porterDuffMode = BlendMode.blendModeToPorterDuffMode(mBackgroundTint.mBlendMode); in getBackgroundTintMode()
26464 return mBackgroundTint != null ? mBackgroundTint.mBlendMode : null; in getBackgroundTintBlendMode()
26478 mBackground.setTintBlendMode(tintInfo.mBlendMode); in applyBackgroundTint()
26692 mForegroundInfo.mTintInfo.mBlendMode = blendMode; in setForegroundTintBlendMode()
26711 ? mForegroundInfo.mTintInfo.mBlendMode : null; in getForegroundTintMode()
26731 ? mForegroundInfo.mTintInfo.mBlendMode : null; in getForegroundTintBlendMode()
[all …]
/frameworks/base/core/java/android/widget/
DTextView.java614 BlendMode mBlendMode; field in TextView.Drawables
1802 mDrawables.mBlendMode = drawableTintMode;
3671 mDrawables.mBlendMode = blendMode; in setCompoundDrawableTintBlendMode()
3705 return mDrawables != null ? mDrawables.mBlendMode : null; in getCompoundDrawableTintBlendMode()
3715 final BlendMode blendMode = mDrawables.mBlendMode; in applyCompoundDrawableTint()