Class ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder

java.lang.Object
org.robolectric.shadows.ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder
Enclosing class:
ShadowNativeMeasuredText

@Implements(value=android.graphics.text.MeasuredText.Builder.class, minSdk=29, shadowPicker=Picker.class) public static class ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder extends Object
Shadow for MeasuredText.Builder that is backed by native code
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Shadow picker for MeasuredText.Builder.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static void
    nAddReplacementRun(long nativeBuilderPtr, long paintPtr, int start, int end, float width)
     
    protected static void
    nAddStyleRun(long nativeBuilderPtr, long paintPtr, int start, int end, boolean isRtl)
     
    protected static void
    nAddStyleRun(long nativeBuilderPtr, long paintPtr, int lineBreakStyle, int lineBreakWordStyle, boolean hyphenation, int start, int end, boolean isRtl)
     
    protected static void
    nAddStyleRun(long nativeBuilderPtr, long paintPtr, int lineBreakStyle, int lineBreakWordStyle, int start, int end, boolean isRtl)
     
    protected static long
    nBuildMeasuredText(long nativeBuilderPtr, long hintMtPtr, char[] text, boolean computeHyphenation, boolean computeLayout)
     
    protected static long
    nBuildMeasuredText(long nativeBuilderPtr, long hintMtPtr, char[] text, boolean computeHyphenation, boolean computeLayout, boolean fastHyphenationMode)
     
    protected static long
    nBuildMeasuredText(long nativeBuilderPtr, long hintMtPtr, char[] text, boolean computeHyphenation, boolean computeLayout, boolean computeBounds, boolean fastHyphenationMode)
     
    protected static void
    nFreeBuilder(long nativeBuilderPtr)
     
    protected static long
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShadowNativeMeasuredTextBuilder

      public ShadowNativeMeasuredTextBuilder()
  • Method Details

    • nInitBuilder

      @Implementation protected static long nInitBuilder()
    • nAddStyleRun

      @Implementation(maxSdk=32) protected static void nAddStyleRun(long nativeBuilderPtr, long paintPtr, int start, int end, boolean isRtl)
    • nAddStyleRun

      @Implementation(minSdk=33, maxSdk=34) protected static void nAddStyleRun(long nativeBuilderPtr, long paintPtr, int lineBreakStyle, int lineBreakWordStyle, int start, int end, boolean isRtl)
    • nAddStyleRun

      @Implementation(minSdk=35) protected static void nAddStyleRun(long nativeBuilderPtr, long paintPtr, int lineBreakStyle, int lineBreakWordStyle, boolean hyphenation, int start, int end, boolean isRtl)
    • nAddReplacementRun

      @Implementation protected static void nAddReplacementRun(long nativeBuilderPtr, long paintPtr, int start, int end, float width)
    • nBuildMeasuredText

      @Implementation(maxSdk=32) protected static long nBuildMeasuredText(long nativeBuilderPtr, long hintMtPtr, char[] text, boolean computeHyphenation, boolean computeLayout)
    • nBuildMeasuredText

      @Implementation(minSdk=33, maxSdk=34) protected static long nBuildMeasuredText(long nativeBuilderPtr, long hintMtPtr, char[] text, boolean computeHyphenation, boolean computeLayout, boolean fastHyphenationMode)
    • nBuildMeasuredText

      @Implementation(minSdk=35) protected static long nBuildMeasuredText(long nativeBuilderPtr, long hintMtPtr, char[] text, boolean computeHyphenation, boolean computeLayout, boolean computeBounds, boolean fastHyphenationMode)
    • nFreeBuilder

      @Implementation protected static void nFreeBuilder(long nativeBuilderPtr)