Lines Matching refs:algorithm
41 new TextDirectionHeuristicInternal(null /* no algorithm */, false);
47 new TextDirectionHeuristicInternal(null /* no algorithm */, true);
131 * Computes the text direction based on an algorithm. Subclasses implement
132 * {@link #defaultIsRtl} to handle cases where the algorithm cannot determine the
138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) {
139 mAlgorithm = algorithm;
178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm,
180 super(algorithm);
191 * Interface for an algorithm to guess the direction of a paragraph of text.
195 * Returns whether the range of text is RTL according to the algorithm.