Home
last modified time | relevance | path

Searched refs:filterMode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DGlopBuilderTests.cpp34 EXPECT_EQ(expectedFill.filterMode, builtFill.filterMode); in expectFillEq()
35 if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Blend) { in expectFillEq()
37 } else if (expectedFill.filterMode == ProgramDescription::ColorFilterMode::Matrix) { in expectFillEq()
114 glop->fill.filterMode = ProgramDescription::ColorFilterMode::None; in blackUnitQuadGlop()
/frameworks/base/libs/hwui/
DGlop.h129 ProgramDescription::ColorFilterMode filterMode; member
DGlopBuilder.cpp278 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Blend; in setFill()
282 … mOutGlop->fill.filterMode = mDescription.colorOp = ProgramDescription::ColorFilterMode::Matrix; in setFill()
301 mOutGlop->fill.filterMode = ProgramDescription::ColorFilterMode::None; in setFill()
683 ALOGD_IF(fill.filterMode != ProgramDescription::ColorFilterMode::None, in dump()
684 " filterMode %d", (int)fill.filterMode); in dump()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp283 if (fill.filterMode == ProgramDescription::ColorFilterMode::Blend) { in render()
287 } else if (fill.filterMode == ProgramDescription::ColorFilterMode::Matrix) { in render()
/frameworks/base/core/java/android/widget/
DRemoteViews.java981 this.filterMode = mode; in SetDrawableParameters()
992 filterMode = PorterDuff.Mode.valueOf(parcel.readString()); in SetDrawableParameters()
994 filterMode = null; in SetDrawableParameters()
1005 if (filterMode != null) { in writeToParcel()
1007 dest.writeString(filterMode.toString()); in writeToParcel()
1033 if (filterMode != null) { in apply()
1034 targetDrawable.mutate().setColorFilter(colorFilter, filterMode); in apply()
1049 PorterDuff.Mode filterMode; field in RemoteViews.SetDrawableParameters