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

Commit 3217d3dc authored by Haoyu Zhang's avatar Haoyu Zhang
Browse files

Address API feedback for getRunCharacterAdvance

Bug: 241167328
Test: N/A
Change-Id: I0d66c55d31802e555d8b171bd36984bb3496f189
parent 584871ea
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3151,10 +3151,10 @@ public class Paint {
     * @see #getRunAdvance(char[], int, int, int, int, boolean, int) for more details.
     *
     * @param text the text to measure. Cannot be null.
     * @param start the index of the start of the range to measure
     * @param end the index + 1 of the end of the range to measure
     * @param contextStart the index of the start of the shaping context
     * @param contextEnd the index + 1 of the end of the shaping context
     * @param start the start index of the range to measure, inclusive
     * @param end the end index of the range to measure, exclusive
     * @param contextStart the start index of the shaping context, inclusive
     * @param contextEnd the end index of the shaping context, exclusive
     * @param isRtl whether the run is in RTL direction
     * @param offset index of caret position
     * @param advances the array that receives the computed character advances