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

Commit 7d892dcc authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Code cleaning

- remove unused constant
- fix spelling

Change-Id: I0053129b33c2ee472db84e14d4b2ace5d97d20a8
parent 37166015
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -22982,7 +22982,6 @@ package android.view {
    method public boolean willNotDraw();
    method public boolean willNotDraw();
    field public static android.util.Property ALPHA;
    field public static android.util.Property ALPHA;
    field protected static int DEFAULT_TEXT_DIRECTION;
    field protected static int DEFAULT_TEXT_DIRECTION;
    field protected static float DEFAULT_TEXT_DIRECTION_CHAR_COUNT_THRESHOLD;
    field public static final int DRAWING_CACHE_QUALITY_AUTO = 0; // 0x0
    field public static final int DRAWING_CACHE_QUALITY_AUTO = 0; // 0x0
    field public static final int DRAWING_CACHE_QUALITY_HIGH = 1048576; // 0x100000
    field public static final int DRAWING_CACHE_QUALITY_HIGH = 1048576; // 0x100000
    field public static final int DRAWING_CACHE_QUALITY_LOW = 524288; // 0x80000
    field public static final int DRAWING_CACHE_QUALITY_LOW = 524288; // 0x80000
+0 −5
Original line number Original line Diff line number Diff line
@@ -2594,11 +2594,6 @@ public class View implements Drawable.Callback2, KeyEvent.Callback, Accessibilit
     */
     */
    protected static int DEFAULT_TEXT_DIRECTION = TEXT_DIRECTION_INHERIT;
    protected static int DEFAULT_TEXT_DIRECTION = TEXT_DIRECTION_INHERIT;
    /**
     * Default threshold for "char count" heuristic.
     */
    protected static float DEFAULT_TEXT_DIRECTION_CHAR_COUNT_THRESHOLD = 0.6f;
    /**
    /**
     * The text direction that has been defined by {@link #setTextDirection(int)}.
     * The text direction that has been defined by {@link #setTextDirection(int)}.
     *
     *
+2 −2
Original line number Original line Diff line number Diff line
@@ -1594,7 +1594,7 @@ public class Paint {
    }
    }


    /**
    /**
     * Return the glypth Ids for the characters in the string.
     * Return the glyph Ids for the characters in the string.
     *
     *
     * @param text   The text to measure
     * @param text   The text to measure
     * @param start  The index of the first char to to measure
     * @param start  The index of the first char to to measure
@@ -1613,7 +1613,7 @@ public class Paint {
     *
     *
     * Used only for BiDi / RTL Tests
     * Used only for BiDi / RTL Tests
     */
     */
    public int getTextGlypths(String text, int start, int end, int contextStart, int contextEnd,
    public int getTextGlyphs(String text, int start, int end, int contextStart, int contextEnd,
            int flags, char[] glyphs) {
            int flags, char[] glyphs) {
        if (text == null) {
        if (text == null) {
            throw new IllegalArgumentException("text cannot be null");
            throw new IllegalArgumentException("text cannot be null");