Class ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder

    • Constructor Detail

      • ShadowNativeMeasuredTextBuilder

        public ShadowNativeMeasuredTextBuilder()
    • Method Detail

      • 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)
        protected static void nAddStyleRun​(long nativeBuilderPtr,
                                           long paintPtr,
                                           int lineBreakStyle,
                                           int lineBreakWordStyle,
                                           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)
        protected static long nBuildMeasuredText​(long nativeBuilderPtr,
                                                 long hintMtPtr,
                                                 char[] text,
                                                 boolean computeHyphenation,
                                                 boolean computeLayout,
                                                 boolean fastHyphenationMode)
      • nFreeBuilder

        @Implementation
        protected static void nFreeBuilder​(long nativeBuilderPtr)