Home
last modified time | relevance | path

Searched refs:RUN_LEVEL_SHIFT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutDirectionsTest.java42 private static final int RUN_LEVEL_SHIFT = 26; field in StaticLayoutDirectionsTest
44 private static final int RUN_RTL_FLAG = 1 << RUN_LEVEL_SHIFT;
51 private static final int LVL1_1 = 1 | (1 << RUN_LEVEL_SHIFT);
52 private static final int LVL2_1 = 1 | (2 << RUN_LEVEL_SHIFT);
53 private static final int LVL2_2 = 2 | (2 << RUN_LEVEL_SHIFT);
141 Directions expected = dirs(0, LVL1_1, 1, LVL2_1, 2, 3 | (1 << Layout.RUN_LEVEL_SHIFT)); in testTrailingWhitespace()
/frameworks/base/core/java/android/text/
DAndroidBidi.java114 int levelBits = minLevel << Layout.RUN_LEVEL_SHIFT; in directions()
134 levelBits = curLevel << Layout.RUN_LEVEL_SHIFT; in directions()
141 ld[++n] = (len - visLen) | (baseLevel << Layout.RUN_LEVEL_SHIFT); in directions()
DTextLine.java464 runLevel = (runs[runIndex+1] >>> Layout.RUN_LEVEL_SHIFT) &
481 prevRunLevel = (runs[prevRunIndex+1] >>> Layout.RUN_LEVEL_SHIFT)
537 int otherRunLevel = (runs[otherRunIndex+1] >>> Layout.RUN_LEVEL_SHIFT) &
DLayout.java913 return ((runs[runIndex + 1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK) != paraLevel; in isLevelBoundary()
945 int level = (runs[i+1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK; in isRtlCharAt()
996 levelAt = (runs[i+1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK; in primaryIsTrailingPrevious()
1018 levelBefore = (runs[i+1] >>> RUN_LEVEL_SHIFT) & RUN_LEVEL_MASK; in primaryIsTrailingPrevious()
2227 /* package */ static final int RUN_LEVEL_SHIFT = 26;
2229 /* package */ static final int RUN_RTL_FLAG = 1 << RUN_LEVEL_SHIFT;