org.robolectric.shadows.ShadowRegion Maven / Gradle / Ivy
package org.robolectric.shadows;
import android.graphics.Region;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.HiddenApi;
/**
* Shadow for {@link android.graphics.Region}.
*/
@Implements(Region.class)
public class ShadowRegion {
public static int nextId = 1;
@HiddenApi @Implementation
public static int nativeConstructor() {
return nextId++;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy