Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java213 mColorState.mBlendMode); in setTintList()
219 mColorState.mBlendMode = blendMode; in setTintBlendMode()
228 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
230 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.java119 mState.mBlendMode = blendMode; in setTintBlendMode()
246 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in ColorStateListDrawable.ColorStateListDrawableState
256 mBlendMode = state.mBlendMode; in ColorStateListDrawableState()
302 if (mState.mBlendMode != DEFAULT_BLEND_MODE) { in initializeColorDrawable()
303 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()
480 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN); in updateStateFromTypedArray()
545 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in ShapeDrawable.ShapeState
578 mBlendMode = orig.mBlendMode; in ShapeState()
631 mShapeState.mBlendMode); in updateLocalState()
DIcon.java110 private BlendMode mBlendMode = Drawable.DEFAULT_BLEND_MODE; field in Icon
324 if (result != null && (mTintList != null || mBlendMode != DEFAULT_BLEND_MODE)) { in loadDrawable()
327 result.setTintBlendMode(mBlendMode); in loadDrawable()
701 mBlendMode = BlendMode.fromValue(mode.nativeInt); in setTintMode()
712 mBlendMode = mode; in setTintBlendMode()
719 return (mTintList != null) || (mBlendMode != DEFAULT_BLEND_MODE); in hasTint()
772 if (mBlendMode != DEFAULT_BLEND_MODE) sb.append(" mode=").append(mBlendMode); in toString()
822 mBlendMode = BlendMode.fromValue(in.readInt()); in Icon()
852 dest.writeInt(BlendMode.toValue(mBlendMode)); in writeToParcel()
DBitmapDrawable.java682 mBitmapState.mBlendMode); in setTintList()
690 if (state.mBlendMode != blendMode) { in setTintBlendMode()
691 state.mBlendMode = blendMode; in setTintBlendMode()
711 return BlendMode.blendModeToPorterDuffMode(mBitmapState.mBlendMode); in getTintMode()
749 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
751 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()
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()
598 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in NinePatchDrawable.NinePatchState
633 mBlendMode = orig.mBlendMode; in NinePatchState()
756 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, state.mTint, state.mBlendMode); in updateLocalState()
DVectorDrawable.java378 updateColorFilters(mVectorState.mBlendMode, mVectorState.mTint); in updateLocalState()
484 updateColorFilters(mVectorState.mBlendMode, tint); in setTintList()
492 if (state.mBlendMode != blendMode) { in setTintBlendMode()
493 state.mBlendMode = blendMode; in setTintBlendMode()
495 updateColorFilters(state.mBlendMode, state.mTint); in setTintBlendMode()
525 if (state.mTint != null && state.mBlendMode != null) { in onStateChange()
526 BlendMode blendMode = state.mBlendMode; in onStateChange()
755 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN); in updateStateFromTypedArray()
929 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in VectorDrawable.VectorDrawableState
988 mBlendMode = copy.mBlendMode; in VectorDrawableState()
[all …]
DDrawableContainer.java202 if (mDrawableContainerState.mBlendMode != blendMode) { in setTintBlendMode()
203 mDrawableContainerState.mBlendMode = blendMode; in setTintBlendMode()
547 d.setTintBlendMode(mDrawableContainerState.mBlendMode); in initializeDrawableForDisplay()
733 BlendMode mBlendMode; field in DrawableContainer.DrawableContainerState
765 mBlendMode = orig.mBlendMode; in DrawableContainerState()
DGradientDrawable.java1133 if (s.mTint != null && s.mBlendMode != null) {
1135 s.mBlendMode);
1209 updateBlendModeFilter(mBlendModeColorFilter, tint, mGradientState.mBlendMode);
1215 mGradientState.mBlendMode = blendMode;
1471 state.mBlendMode = Drawable.parseBlendMode(tintMode, BlendMode.SRC_IN);
1971 BlendMode mBlendMode = DEFAULT_BLEND_MODE; field in GradientDrawable.GradientState
2029 mBlendMode = orig.mBlendMode; in GradientState()
2404 state.mBlendMode); in updateLocalState()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestLayer.cpp36 : mBlendMode(getCoverage(Hwc2TestPropertyName::BlendMode, coverage, in Hwc2TestLayer()
60 mBlendMode.setDependent(&mColor); in Hwc2TestLayer()
125 return mBlendMode.get(); in getBlendMode()
191 return mBlendMode.advance(); in advanceBlendMode()
DHwc2TestLayer.h82 &mSurfaceDamage, &mBlendMode, &mBufferArea, &mDisplayFrame,
88 Hwc2TestBlendMode mBlendMode; variable
DHwc2TestProperties.cpp161 mBlendMode(blendMode) in Hwc2TestColor()
178 mBlendMode = blendMode; in updateBlendMode()
184 if (mBlendMode != HWC2_BLEND_MODE_PREMULTIPLIED) { in update()
DHwc2TestProperties.h210 hwc2_blend_mode_t mBlendMode; variable
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DRenderState.h35 hwc2_blend_mode_t mBlendMode = HWC2_BLEND_MODE_NONE; variable
DFakeComposerClient.cpp430 getLayerImpl(layer).mRenderState.mBlendMode = static_cast<hwc2_blend_mode_t>(mode); in setLayerBlendMode()
/frameworks/base/core/java/android/view/
DView.java4423 BlendMode mBlendMode; field in View.TintInfo
5606 mBackgroundTint.mBlendMode = Drawable.parseBlendMode(a.getInt(
22941 mBackgroundTint.mBlendMode = blendMode; in setBackgroundTintBlendMode()
22961 if (mBackgroundTint != null && mBackgroundTint.mBlendMode != null) { in getBackgroundTintMode()
22962 porterDuffMode = BlendMode.blendModeToPorterDuffMode(mBackgroundTint.mBlendMode); in getBackgroundTintMode()
22979 return mBackgroundTint != null ? mBackgroundTint.mBlendMode : null; in getBackgroundTintBlendMode()
22993 mBackground.setTintBlendMode(tintInfo.mBlendMode); in applyBackgroundTint()
23205 mForegroundInfo.mTintInfo.mBlendMode = blendMode; in setForegroundTintBlendMode()
23224 ? mForegroundInfo.mTintInfo.mBlendMode : null; in getForegroundTintMode()
23244 ? mForegroundInfo.mTintInfo.mBlendMode : null; in getForegroundTintBlendMode()
[all …]
/frameworks/base/core/java/android/widget/
DTextView.java493 BlendMode mBlendMode; field in TextView.Drawables
1552 mDrawables.mBlendMode = drawableTintMode;
3327 mDrawables.mBlendMode = blendMode; in setCompoundDrawableTintBlendMode()
3361 return mDrawables != null ? mDrawables.mBlendMode : null; in getCompoundDrawableTintBlendMode()
3371 final BlendMode blendMode = mDrawables.mBlendMode; in applyCompoundDrawableTint()