Lines Matching refs:algorithm
34 new TextDirectionHeuristicInternal(null /* no algorithm */, false);
40 new TextDirectionHeuristicInternal(null /* no algorithm */, true);
107 * Computes the text direction based on an algorithm. Subclasses implement
108 * {@link #defaultIsRtl} to handle cases where the algorithm cannot determine the
114 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) {
115 mAlgorithm = algorithm;
154 TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm,
156 super(algorithm);
167 * Interface for an algorithm to guess the direction of a paragraph of text.
171 * Returns whether the range of text is RTL according to the algorithm.
178 * direction. This is the standard Unicode Bidirectional algorithm.