Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0bcef25 authored by Brad Nelson's avatar Brad Nelson Committed by Gerrit Code Review
Browse files

Merge "Fix several typos." into main

parents 371c9f28 414cf97f
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@ public class ComposePathEffect extends PathEffect {


    /**
    /**
     * Construct a PathEffect whose effect is to apply first the inner effect
     * Construct a PathEffect whose effect is to apply first the inner effect
     * and the the outer pathEffect (e.g. outer(inner(path))).
     * and the outer pathEffect (e.g. outer(inner(path))).
     */
     */
    public ComposePathEffect(PathEffect outerpe, PathEffect innerpe) {
    public ComposePathEffect(PathEffect outerpe, PathEffect innerpe) {
        native_instance = nativeCreate(outerpe.native_instance,
        native_instance = nativeCreate(outerpe.native_instance,
+1 −1
Original line number Original line Diff line number Diff line
@@ -215,7 +215,7 @@ public class FontFamily {


    @CriticalNative
    @CriticalNative
    private static native long nGetFamilyReleaseFunc();
    private static native long nGetFamilyReleaseFunc();
    // By passing -1 to weigth argument, the weight value is resolved by OS/2 table in the font.
    // By passing -1 to weight argument, the weight value is resolved by OS/2 table in the font.
    // By passing -1 to italic argument, the italic value is resolved by OS/2 table in the font.
    // By passing -1 to italic argument, the italic value is resolved by OS/2 table in the font.
    private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex,
    private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex,
            int weight, int isItalic);
            int weight, int isItalic);
+2 −2
Original line number Original line Diff line number Diff line
@@ -127,7 +127,7 @@ public class FontListParser {
            parser.setInput(is, null);
            parser.setInput(is, null);
            parser.nextTag();
            parser.nextTag();
            return readFamilies(parser, systemFontDir, oemCustomization, updatableFontMap,
            return readFamilies(parser, systemFontDir, oemCustomization, updatableFontMap,
                    lastModifiedDate, configVersion, false /* filter out the non-exising files */);
                    lastModifiedDate, configVersion, false /* filter out the non-existing files */);
        }
        }
    }
    }


@@ -254,7 +254,7 @@ public class FontListParser {
     * @param parser An XML parser.
     * @param parser An XML parser.
     * @param fontDir a font directory name.
     * @param fontDir a font directory name.
     * @param updatableFontMap a updated font file map.
     * @param updatableFontMap a updated font file map.
     * @param allowNonExistingFile true to allow font file that doesn't exists
     * @param allowNonExistingFile true to allow font file that doesn't exist.
     * @return a FontFamily instance. null if no font files are available in this FontFamily.
     * @return a FontFamily instance. null if no font files are available in this FontFamily.
     */
     */
    public static @Nullable FontConfig.FontFamily readFamily(XmlPullParser parser, String fontDir,
    public static @Nullable FontConfig.FontFamily readFamily(XmlPullParser parser, String fontDir,
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ import java.lang.annotation.RetentionPolicy;
/**
/**
 * Class that contains all the timing information for the current frame. This
 * Class that contains all the timing information for the current frame. This
 * is used in conjunction with the hardware renderer to provide
 * is used in conjunction with the hardware renderer to provide
 * continous-monitoring jank events
 * continuous-monitoring jank events
 *
 *
 * All times in nanoseconds from CLOCK_MONOTONIC/System.nanoTime()
 * All times in nanoseconds from CLOCK_MONOTONIC/System.nanoTime()
 *
 *
+14 −14
Original line number Original line Diff line number Diff line
@@ -62,7 +62,7 @@ public class Interpolator {


    /**
    /**
     * Assign the keyFrame (specified by index) a time value and an array of key
     * Assign the keyFrame (specified by index) a time value and an array of key
     * values (with an implicity blend array of [0, 0, 1, 1] giving linear
     * values (with an implicitly blend array of [0, 0, 1, 1] giving linear
     * transition to the next set of key values).
     * transition to the next set of key values).
     *
     *
     * @param index The index of the key frame to assign
     * @param index The index of the key frame to assign
Loading