org.robolectric.shadows.ShadowPrecomputedText Maven / Gradle / Ivy
package org.robolectric.shadows;
import static android.os.Build.VERSION_CODES.O_MR1;
import static android.os.Build.VERSION_CODES.P;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
@Implements(className = "android.text.PrecomputedText", minSdk = P, isInAndroidSdk = false)
public class ShadowPrecomputedText {
private static int nativeCounter = 0;
@Implementation(maxSdk = O_MR1)
protected static long nInitBuilder() {
return ++nativeCounter;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy