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 forPorterDuffColorFilterthat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativePorterDuffColorFilter.PickerShadow picker forPorterDuffColorFilter.
-
Constructor Summary
Constructors Constructor Description ShadowNativePorterDuffColorFilter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static longnative_CreateBlendModeFilter(int srcColor, int blendmode)protected static longnative_CreatePorterDuffFilter(int srcColor, int porterDuffMode)-
Methods inherited from class org.robolectric.shadows.ShadowPorterDuffColorFilter
__constructor__, getColor, getMode
-
-
-
-
Method Detail
-
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)
-
-