Searched refs:directions (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/text/
H A DLayout.java393 Directions directions = getLineDirections(lineNum);
394 if (directions == DIRS_ALL_LEFT_TO_RIGHT && !mSpannedText && !hasTab) {
398 tl.set(paint, buf, start, end, dir, directions, hasTab, tabStops);
929 Directions directions = getLineDirections(line);
942 tl.set(mPaint, mText, start, end, dir, directions, hasTab, tabStops);
1058 Directions directions = getLineDirections(line);
1059 // Returned directions can actually be null
1060 if (directions == null) {
1066 tl.set(mPaint, mText, start, end, dir, directions, hasTabs, tabStops);
1084 Directions directions
[all...]
H A DAndroidBidi.java59 * @return the directions
61 public static Directions directions(int dir, byte[] levels, int lstart, method in class:AndroidBidi
H A DTextLine.java130 * @param directions the directions information of this line
135 Directions directions, boolean hasTabs, TabStops tabStops) {
141 mDirections = directions;
155 mCharsValid = hasReplacement || hasTabs || directions != Layout.DIRS_ALL_LEFT_TO_RIGHT;
134 set(TextPaint paint, CharSequence text, int start, int limit, int dir, Directions directions, boolean hasTabs, TabStops tabStops) argument
H A DStaticLayout.java980 mLineDirections[j] = AndroidBidi.directions(dir, chdirs, start - widthStart, chs,
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DViewDragHelper.java1322 * @param directions Combination of direction flags, see {@link #DIRECTION_HORIZONTAL},
1326 public boolean checkTouchSlop(int directions) { argument
1329 if (checkTouchSlop(directions, i)) {
1346 * @param directions Combination of direction flags, see {@link #DIRECTION_HORIZONTAL},
1351 public boolean checkTouchSlop(int directions, int pointerId) { argument
1356 final boolean checkHorizontal = (directions & DIRECTION_HORIZONTAL) == DIRECTION_HORIZONTAL;
1357 final boolean checkVertical = (directions & DIRECTION_VERTICAL) == DIRECTION_VERTICAL;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java969 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of
1484 * @param dragFlags The directions in which the item can be dragged.
1485 * @param swipeFlags The directions in which the item can be swiped.
1500 * @param directions The direction flags. Can be composed from {@link #UP}, {@link #DOWN},
1502 * @return And integer that represents the given directions in the provided actionState.
1504 public static int makeFlag(int actionState, int directions) { argument
1505 return directions << (actionState * DIRECTION_FLAG_COUNT);
1509 * Should return a composite flag which defines the enabled move directions in each state
1723 * perpendicular movement. If both directions reach to the max threshold, none of them will
1827 * If you are returning relative directions ({
[all...]

Completed in 171 milliseconds