Searched refs:toLeft (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DGallery.java372 boolean toLeft = deltaX < 0;
374 int limitedDeltaX = getLimitedMotionScrollAmount(toLeft, deltaX);
383 detachOffScreenChildren(toLeft);
385 if (toLeft) {
464 * @param toLeft Whether to detach children to the left of the Gallery, or
467 private void detachOffScreenChildren(boolean toLeft) { argument
473 if (toLeft) {
509 if (toLeft != mIsRtl) {
/frameworks/base/core/java/android/text/
H A DTextLine.java428 * @param toLeft true if the caret is moving to the left.
433 int getOffsetToLeftRightOf(int cursor, boolean toLeft) { argument
514 boolean advance = toLeft == runIsRtl;
534 boolean advance = toLeft == paraIsRtl;
547 advance = toLeft == otherRunIsRtl;
H A DLayout.java1172 private int getOffsetToLeftRightOf(int caret, boolean toLeft) { argument
1179 boolean advance = toLeft == (lineDir == DIR_RIGHT_TO_LEFT);
1209 toLeft = !toLeft;
1219 caret = lineStart + tl.getOffsetToLeftRightOf(caret - lineStart, toLeft);

Completed in 119 milliseconds