Searched defs:direction (Results 1 - 25 of 107) sorted by path

12345

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitbuffer.h29 enum direction enum
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4lib_int.h144 int direction; member in struct:tagMacroBlock
225 MOT *motX; /* Motion vector in X direction */
226 MOT *motY; /* Motion vector in Y direction */
H A Dvlc_dequant.cpp71 int direction; local
107 doDCACPrediction(video, comp, datablock, &direction);
108 if (!ACpred_flag) direction = 0;
109 inv_zigzag = zigzag_inv + (ACpred_flag << 6) + (direction << 6);
176 if (!direction) /* check vertical */
522 int direction; local
549 doDCACPrediction(video, comp, datablock, &direction);
550 if (!ACpred_flag) direction = 0;
552 inv_zigzag = zigzag_inv + (ACpred_flag << 6) + (direction << 6); /* 04/17/01 */
619 if (!direction) /* chec
825 int direction; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp2050 Int direction[6]; /* 0: HORIZONTAL, 1: VERTICAL */ local
2143 /* Find the direction of the prediction and the DC prediction */
2188 direction[comp] = 1;
2195 direction[comp] = 0;
2212 if (direction[comp] == 0)
2259 if (direction[comp] == 0)
2308 if (direction[comp] == 0)
2356 if (direction[comp] == 0)
2409 if (direction[comp] == 0) /* Horizontal, left COLUMN of block A */
2483 if (direction[com
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java820 * @param direction either {@link #ORDER_ASCENDING} or {@link #ORDER_DESCENDING}
824 public Query orderBy(String column, int direction) { argument
825 if (direction != ORDER_ASCENDING && direction != ORDER_DESCENDING) {
826 throw new IllegalArgumentException("Invalid direction: " + direction);
836 mOrderDirection = direction;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java419 * @param direction 1 to increase volume, or -1 to decrease volume
422 public void adjustAvrcpAbsoluteVolume(int direction) { argument
426 mService.adjustAvrcpAbsoluteVolume(direction);
H A DBluetoothHeadset.java832 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
836 mService.clccResponse(index, direction, status, mode, mpty, number, type);
/frameworks/base/core/java/android/text/
H A DSelection.java424 private static int chooseHorizontal(Layout layout, int direction, argument
430 // same line, so it goes by pure physical direction
435 if (direction < 0) {
460 if (textdir == direction)
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java50 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, argument
H A DBaseMovementMethod.java79 public void onTakeFocus(TextView widget, Spannable text, int direction) { argument
H A DMovementMethod.java47 public void onTakeFocus(TextView widget, Spannable text, int direction); argument
H A DPasswordTransformationMethod.java120 boolean focused, int direction,
119 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DReplacementTransformationMethod.java103 boolean focused, int direction,
102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DTransformationMethod.java43 boolean focused, int direction,
42 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java482 public void focusSearchClientThread(long accessibilityNodeId, int direction, argument
492 args.argi2 = direction;
517 final int direction = args.argi2;
539 View nextView = root.focusSearch(direction);
H A DFocusFinder.java26 * The algorithm used for finding the next focusable view in a given direction
61 * @param direction Direction to look.
64 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
65 return findNextFocus(root, focused, null, direction);
73 * @param direction Direction to look.
76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument
78 return findNextFocus(root, null, mFocusedRect, direction);
81 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { argument
84 next = findNextUserSpecifiedFocus(root, focused, direction);
92 root.addFocusables(focusables, direction);
102 findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) argument
113 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
170 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
203 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
279 isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) argument
318 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
368 isCandidate(Rect srcRect, Rect destRect, int direction) argument
395 beamsOverlap(int direction, Rect rect1, Rect rect2) argument
411 isToDirectionOf(int direction, Rect src, Rect dest) argument
431 majorAxisDistance(int direction, Rect source, Rect dest) argument
435 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
456 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
460 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
483 minorAxisDistance(int direction, Rect source, Rect dest) argument
513 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
586 isTouchCandidate(int x, int y, Rect destRect, int direction) argument
[all...]
H A DFocusFinderHelper.java36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { argument
37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2);
40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { argument
41 return mFocusFinder.beamBeats(direction, source, rect1, rect2);
44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { argument
45 return mFocusFinder.isCandidate(srcRect, destRect, direction);
48 public boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { argument
49 return mFocusFinder.beamsOverlap(direction, rect1, rect2);
52 public static int majorAxisDistance(int direction, Rect source, Rect dest) { argument
53 return FocusFinder.majorAxisDistance(direction, sourc
56 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
[all...]
H A DSoundEffectConstants.java35 * @param direction One of {@link View#FOCUS_UP}, {@link View#FOCUS_DOWN},
41 public static int getContantForFocusDirection(int direction) { argument
42 switch (direction) {
54 throw new IllegalArgumentException("direction must be one of "
H A DView.java505 * given direction. In rare cases, the default algorithm may not match the
539 * Any time a user hits a directional key, such as a D-pad direction, the view device will
1901 * Horizontal layout direction of this view is from Left to Right.
1907 * Horizontal layout direction of this view is from Right to Left.
1913 * Horizontal layout direction of this view is inherited from its parent.
1919 * Horizontal layout direction of this view is from deduced from the default language
1925 * Bit shift to get the horizontal layout direction. (bits after DRAG_HOVERED)
1931 * Mask for use with private flags indicating bits used for horizontal layout direction.
1937 * Indicates whether the view horizontal layout direction has been resolved and drawn to the
1938 * right-to-left direction
4944 handleFocusGainInternal(@ocusRealDirection int direction, Rect previouslyFocusedRect) argument
5179 onFocusChanged(boolean gainFocus, @FocusDirection int direction, @Nullable Rect previouslyFocusedRect) argument
7293 focusSearch(@ocusRealDirection int direction) argument
7312 dispatchUnhandledMove(View focused, @FocusRealDirection int direction) argument
7324 findUserSetNextFocus(View root, @FocusDirection int direction) argument
7374 getFocusables(@ocusDirection int direction) argument
7388 addFocusables(ArrayList<View> views, @FocusDirection int direction) argument
7408 addFocusables(ArrayList<View> views, @FocusDirection int direction, @FocusableMode int focusableMode) argument
7623 requestFocus(int direction) argument
7656 requestFocus(int direction, Rect previouslyFocusedRect) argument
7660 requestFocusNoSearch(int direction, Rect previouslyFocusedRect) argument
12817 canScrollHorizontally(int direction) argument
12834 canScrollVertically(int direction) argument
[all...]
H A DViewGroup.java633 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { argument
638 super.handleFocusGainInternal(direction, previouslyFocusedRect);
704 * Find the nearest view in the specified direction that wants to take
708 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and
711 public View focusSearch(View focused, int direction) { argument
716 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
718 return mParent.focusSearch(focused, direction);
810 public boolean dispatchUnhandledMove(View focused, int direction) { argument
812 mFocused.dispatchUnhandledMove(focused, direction);
948 public void addFocusables(ArrayList<View> views, int direction, in argument
2588 requestFocus(int direction, Rect previouslyFocusedRect) argument
2625 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DViewParent.java142 * Find the nearest view in the specified direction that wants to take focus
145 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and FOCUS_RIGHT
147 public View focusSearch(View v, int direction); argument
330 * Tells if this view parent can resolve the layout direction.
333 * @return True if this view parent can resolve the layout direction.
338 * Tells if this view parent layout direction is resolved.
341 * @return True if this view parent layout direction is resolved.
346 * Return this view parent layout direction. See {@link View#getLayoutDirection()}
348 * @return {@link View#LAYOUT_DIRECTION_RTL} if the layout direction is RTL or returns
349 * {@link View#LAYOUT_DIRECTION_LTR} if the layout direction i
[all...]
H A DViewRootImpl.java1295 // Set the layout direction if it has not been set before (inherit is the default)
4051 int direction = 0;
4055 direction = View.FOCUS_LEFT;
4060 direction = View.FOCUS_RIGHT;
4065 direction = View.FOCUS_UP;
4070 direction = View.FOCUS_DOWN;
4075 direction = View.FOCUS_FORWARD;
4077 direction = View.FOCUS_BACKWARD;
4081 if (direction != 0) {
4084 View v = focused.focusSearch(direction);
5380 focusSearch(View focused, int direction) argument
6900 focusSearch(long accessibilityNodeId, int direction, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
[all...]
H A DWindowManagerPolicy.java414 public void switchKeyboardLayout(int deviceId, int direction); argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java456 * @param direction The direction in which to search for focusable.
460 long accessibilityNodeId, int direction) {
466 accessibilityNodeId, direction, interactionId, this,
459 focusSearch(int connectionId, int accessibilityWindowId, long accessibilityNodeId, int direction) argument
H A DAccessibilityNodeInfo.java653 * Searches for the nearest view in the specified direction that can take
656 * @param direction The direction. Can be one of:
666 public AccessibilityNodeInfo focusSearch(int direction) { argument
668 enforceValidFocusDirection(direction);
673 mSourceNodeId, direction);
2440 private void enforceValidFocusDirection(int direction) { argument
2441 switch (direction) {
2450 throw new IllegalArgumentException("Unknown direction: " + direction);
[all...]

Completed in 209 milliseconds

12345