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,
callNativeMethodsByDefault=true)
public class ShadowNativePorterDuffColorFilter
extends ShadowPorterDuffColorFilter
Shadow for
PorterDuffColorFilter
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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, maxSdk=34) 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)
-