Package org.robolectric.shadows
Class ShadowNativePorterDuffColorFilter
java.lang.Object
org.robolectric.shadows.ShadowPorterDuffColorFilter
org.robolectric.shadows.ShadowNativePorterDuffColorFilter
@Implements(value=android.graphics.PorterDuffColorFilter.class, minSdk=26, shadowPicker=Picker.class, isInAndroidSdk=false) public class ShadowNativePorterDuffColorFilter extends ShadowPorterDuffColorFilter
Shadow for
PorterDuffColorFilter
that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativePorterDuffColorFilter.Picker
Shadow picker forPorterDuffColorFilter
. -
Constructor Summary
Constructors Constructor Description ShadowNativePorterDuffColorFilter()
-
Method Summary
Modifier and Type Method Description protected static long
native_CreateBlendModeFilter(int srcColor, int blendmode)
protected static long
native_CreatePorterDuffFilter(int srcColor, int porterDuffMode)
Methods inherited from class org.robolectric.shadows.ShadowPorterDuffColorFilter
__constructor__, getColor, getMode
-
Constructor Details
-
ShadowNativePorterDuffColorFilter
public ShadowNativePorterDuffColorFilter()
-
-
Method Details
-
native_CreateBlendModeFilter
@Implementation(minSdk=29) protected static long native_CreateBlendModeFilter(int srcColor, int blendmode) -
native_CreatePorterDuffFilter
@Implementation(minSdk=26, maxSdk=28) protected static long native_CreatePorterDuffFilter(int srcColor, int porterDuffMode)
-