AndroidCharacter

Class of android.text · AndroidCharacter.java · Android's reference

public class AndroidCharacter

Character properties that java.lang.Character does not give.

Fields

public static final int EAST_ASIAN_WIDTH_NEUTRAL = 0 source
public static final int EAST_ASIAN_WIDTH_AMBIGUOUS = 1 source
public static final int EAST_ASIAN_WIDTH_HALF_WIDTH = 2 source
public static final int EAST_ASIAN_WIDTH_FULL_WIDTH = 3 source
public static final int EAST_ASIAN_WIDTH_NARROW = 4 source
public static final int EAST_ASIAN_WIDTH_WIDE = 5 source

Constructors

public AndroidCharacter() empty body source

Methods

public static char getMirror(char ch) source

The mirror glyph of ch, or ch when it has none.

public static boolean mirror(char[] text, int start, int count) source

Mirrors the characters that have mirrors, and returns true if it changed one.


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.