Home | History | Annotate | Download | only in text

Lines Matching defs:direction

76  * <h3>Basic concept: text direction</h3>
77 * The direction of a piece of text may be:
89 * Their low-order bit (even/odd value) indicates the visual direction.<p>
253 * byte direction, StyleRun styleRuns[],
258 * if (direction == Bidi.LTR) {
267 * direction, styleRuns[i].style);
287 * renderRun(text, styleStart, limit, direction,
301 * byte direction = line.getDirection();
302 * if (direction != Bidi.MIXED) {
305 * renderRun(text, start, limit, direction, styleRuns[0].style);
307 * renderDirectionalRun(text, start, limit, direction,
506 * consider if the paragraph direction should be considered in
562 * Constant indicating that the base direction depends on the first strong
572 * direction. The direction of the result string will be RTL if either
574 * or Arabic Letter, the direction will be LTR otherwise.<p>
588 * Constant indicating that the base direction depends on the first strong
598 * direction. The direction of the result string will be RTL if either
601 * the direction will be LTR otherwise.<p>
653 * a left-to-right direction.
667 * a right-to-left direction.
1078 byte direction;
1302 direction = 0;
1703 * Get the base direction of the text provided according to the Unicode
1704 * Bidirectional Algorithm. The base direction is derived from the first
1709 * This is a lightweight function for use when only the base direction is
1711 * @param paragraph the text whose paragraph level direction is needed.
1725 byte direction;
1730 direction = UCharacter.getDirectionality(c);
1731 if (direction == UCharacterDirection.LEFT_TO_RIGHT) {
1733 } else if (direction == UCharacterDirection.RIGHT_TO_LEFT
1734 || direction == UCharacterDirection.RIGHT_TO_LEFT_ARABIC) {
1978 /* Resolve direction of still unresolved open FSI sequences */
1997 /* For inverse bidi, default para direction is RTL if there is
2005 /* The following is needed to resolve the text direction for default level
2161 byte direction;
2165 direction = (byte)(pLastIsoRun.level & 1);
2177 direction context and both parentheses receive level 2.
2186 if ((direction == 0 && (pOpening.flags & FOUND_L) > 0) ||
2187 (direction == 1 && (pOpening.flags & FOUND_R) > 0)) { /* N0b */
2188 newProp = direction;
2194 if (direction != pOpening.contextDir)
2197 newProp = direction; /* N0c2 */
2422 * Returns the direction
3712 * direction is not MIXED
3728 saveDirection=this.direction;
3827 this.direction=saveDirection;
3831 this.direction = MIXED;
4020 this.direction = (byte)(paraLevel & 1);
4041 * the flags and the direction set but without allocating zero-length arrays.
4073 direction = resolveExplicitLevels();
4077 direction = checkExplicitLevels();
4091 switch (direction) {
4270 * direction (left-to-right or right-to-left). If not present, the base
4271 * direction is computed using the Unicode Bidirectional Algorithm,
4280 * embedding level as determined by the base direction is assumed.<p>
4383 * and which direction, or if it is mixed-directional.
4396 return direction;
5041 if (direction == LTR) {
5044 else if (direction == RTL) {
5237 * Constant indicating base direction is left-to-right.
5243 * Constant indicating base direction is right-to-left.
5249 * Constant indicating that the base direction depends on the first strong
5252 * direction is left-to-right.
5258 * Constant indicating that the base direction depends on the first strong
5261 * direction is right-to-left.
5267 * Create Bidi from the given paragraph of text and base direction.
5289 * direction (left-to-right or right-to-left). If not present, the base
5290 * direction is computed using the Unicode Bidirectional Algorithm,
5299 * embedding level as determined by the base direction is assumed.<p>
5318 * Create Bidi from the given text, embedding, and direction information.
5326 * as determined by the base direction is assumed,
5435 * base direction differs from the direction of the only run of text.
5449 * Return true if the line is all left-to-right text and the base direction
5452 * @return true if the line is all left-to-right text and the base direction
5465 * Return true if the line is all right-to-left text, and the base direction
5469 * direction is right-to-left
5481 * Return true if the base direction is left-to-right
5483 * @return true if the base direction is left-to-right