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

/frameworks/base/core/java/android/widget/
H A DGallery.java378 boolean toLeft = deltaX < 0;
380 int limitedDeltaX = getLimitedMotionScrollAmount(toLeft, deltaX);
389 detachOffScreenChildren(toLeft);
391 if (toLeft) {
478 * @param toLeft Whether to detach children to the left of the Gallery, or
481 private void detachOffScreenChildren(boolean toLeft) { argument
487 if (toLeft) {
523 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.java1196 private int getOffsetToLeftRightOf(int caret, boolean toLeft) { argument
1203 boolean advance = toLeft == (lineDir == DIR_RIGHT_TO_LEFT);
1233 toLeft = !toLeft;
1243 caret = lineStart + tl.getOffsetToLeftRightOf(caret - lineStart, toLeft);

Completed in 63 milliseconds