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

/frameworks/av/media/libaaudio/tests/
H A Dtest_open_params.cpp136 aaudio_direction_t directions[] = {AAUDIO_DIRECTION_OUTPUT, AAUDIO_DIRECTION_INPUT}; local
145 for (uint dirIndex = 0;dirIndex < arraysize(directions); dirIndex++) {
146 aaudio_direction_t direction = directions[dirIndex];
/frameworks/base/core/java/android/text/
H A DLayout.java530 Directions directions = getLineDirections(lineNum);
531 if (directions == DIRS_ALL_LEFT_TO_RIGHT && !mSpannedText && !hasTab && !justify) {
535 tl.set(paint, buf, start, end, dir, directions, hasTab, tabStops);
1080 Directions directions = getLineDirections(line);
1093 tl.set(mPaint, mText, start, end, dir, directions, hasTab, tabStops);
1209 Directions directions = getLineDirections(line);
1210 // Returned directions can actually be null
1211 if (directions == null) {
1218 tl.set(mPaint, mText, start, end, dir, directions, hasTabs, tabStops);
1240 Directions directions
[all...]
H A DAndroidBidi.java62 * @return the directions
64 public static Directions directions(int dir, byte[] levels, int lstart, method in class:AndroidBidi
H A DTextLine.java132 * @param directions the directions information of this line
137 Directions directions, boolean hasTabs, TabStops tabStops) {
143 mDirections = directions;
157 mCharsValid = hasReplacement || hasTabs || directions != Layout.DIRS_ALL_LEFT_TO_RIGHT;
136 set(TextPaint paint, CharSequence text, int start, int limit, int dir, Directions directions, boolean hasTabs, TabStops tabStops) argument
H A DStaticLayout.java1024 mLineDirections[j] = AndroidBidi.directions(dir, chdirs, start - widthStart, chs,
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DViewDragHelper.java1318 * @param directions Combination of direction flags, see {@link #DIRECTION_HORIZONTAL},
1322 public boolean checkTouchSlop(int directions) { argument
1325 if (checkTouchSlop(directions, i)) {
1342 * @param directions Combination of direction flags, see {@link #DIRECTION_HORIZONTAL},
1347 public boolean checkTouchSlop(int directions, int pointerId) { argument
1352 final boolean checkHorizontal = (directions & DIRECTION_HORIZONTAL) == DIRECTION_HORIZONTAL;
1353 final boolean checkVertical = (directions & DIRECTION_VERTICAL) == DIRECTION_VERTICAL;
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java963 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of
1464 * @param dragFlags The directions in which the item can be dragged.
1465 * @param swipeFlags The directions in which the item can be swiped.
1480 * @param directions The direction flags. Can be composed from {@link #UP}, {@link #DOWN},
1482 * @return And integer that represents the given directions in the provided actionState.
1484 public static int makeFlag(int actionState, int directions) { argument
1485 return directions << (actionState * DIRECTION_FLAG_COUNT);
1489 * Should return a composite flag which defines the enabled move directions in each state
1703 * perpendicular movement. If both directions reach to the max threshold, none of them will
1807 * If you are returning relative directions ({
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java961 // mDx and mDy are only set in allowed directions. We use custom x/y here instead of
1470 * @param dragFlags The directions in which the item can be dragged.
1471 * @param swipeFlags The directions in which the item can be swiped.
1486 * @param directions The direction flags. Can be composed from {@link #UP}, {@link #DOWN},
1488 * @return And integer that represents the given directions in the provided actionState.
1490 public static int makeFlag(int actionState, int directions) { argument
1491 return directions << (actionState * DIRECTION_FLAG_COUNT);
1495 * Should return a composite flag which defines the enabled move directions in each state
1709 * perpendicular movement. If both directions reach to the max threshold, none of them will
1813 * If you are returning relative directions ({
[all...]

Completed in 684 milliseconds