Searched defs:direction (Results 51 - 75 of 107) sorted by relevance

12345

/frameworks/base/tools/aidl/
H A Daidl.cpp78 convert_direction(const char* direction) argument
80 if (direction == NULL) {
83 if (0 == strcmp(direction, "in")) {
86 if (0 == strcmp(direction, "out")) {
486 && convert_direction(arg->direction.data) != IN_PARAMETER) {
494 if (arg->direction.data == NULL
504 if (convert_direction(arg->direction.data) != IN_PARAMETER
510 arg->direction.data, arg->type.type.data,
518 m->type.array_token.lineno, index, arg->direction.data,
527 m->type.array_token.lineno, index, arg->direction
[all...]
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java108 public static void adjustVolume(Object controllerObj, int direction, int flags) { argument
109 ((MediaController) controllerObj).adjustVolume(direction, flags);
/frameworks/support/v4/jellybean/android/support/v4/media/routing/
H A DMediaRouterJellybean.java167 public static void requestUpdateVolume(Object routeObj, int direction) { argument
168 ((android.media.MediaRouter.RouteInfo)routeObj).requestUpdateVolume(direction);
272 public void onVolumeUpdateRequest(Object routeObj, int direction); argument
438 int direction) {
439 mCallback.onVolumeUpdateRequest(route, direction);
437 onVolumeUpdateRequest(android.media.MediaRouter.RouteInfo route, int direction) argument
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
H A DMediaRouterJellybean.java167 public static void requestUpdateVolume(Object routeObj, int direction) { argument
168 ((android.media.MediaRouter.RouteInfo)routeObj).requestUpdateVolume(direction);
272 public void onVolumeUpdateRequest(Object routeObj, int direction); argument
438 int direction) {
439 mCallback.onVolumeUpdateRequest(route, direction);
437 onVolumeUpdateRequest(android.media.MediaRouter.RouteInfo route, int direction) argument
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DSystemMediaRouteProvider.java441 public void onVolumeUpdateRequest(Object routeObj, int direction) { argument
444 record.mRoute.requestUpdateVolume(direction);
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java1006 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1007 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DGallery.java1361 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument
1362 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
1370 mSelectedChild.requestFocus(direction);
1495 // Flip sign to convert finger direction to list items direction
H A DGridView.java1762 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}
1765 boolean pageScroll(int direction) { argument
1768 if (direction == FOCUS_UP) {
1770 } else if (direction == FOCUS_DOWN) {
1787 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}.
1791 boolean fullScroll(int direction) { argument
1793 if (direction == FOCUS_UP) {
1798 } else if (direction == FOCUS_DOWN) {
1815 * @param direction either {@link View#FOCUS_LEFT}, {@link View#FOCUS_RIGHT},
1820 boolean arrowScroll(int direction) { argument
1885 sequenceScroll(int direction) argument
1940 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument
1985 isCandidateSelection(int childIndex, int direction) argument
[all...]
H A DHorizontalScrollView.java960 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
965 public boolean pageScroll(int direction) { argument
966 boolean right = direction == View.FOCUS_RIGHT;
986 return scrollAndFocus(direction, mTempRect.left, mTempRect.right);
996 * @param direction the scroll direction: {@link android.view.View#FOCUS_LEFT}
1001 public boolean fullScroll(int direction) { argument
1002 boolean right = direction == View.FOCUS_RIGHT;
1017 return scrollAndFocus(direction, mTempRec
1032 scrollAndFocus(int direction, int left, int right) argument
1064 arrowScroll(int direction) argument
1423 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DListView.java2061 * are no selectable positions in the specified direction from the starting
2062 * position, searches in the opposite direction from the starting position
2077 // First check after the starting position in the specified direction.
2313 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}
2316 boolean pageScroll(int direction) { argument
2320 if (direction == FOCUS_UP) {
2323 } else if (direction == FOCUS_DOWN) {
2362 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}
2365 boolean fullScroll(int direction) { argument
2367 if (direction
2406 handleHorizontalFocusWithinListItem(int direction) argument
2451 arrowScroll(int direction) argument
2474 nextSelectedPositionForDirection( View selectedView, int selectedPos, int direction) argument
2512 arrowScrollImpl(int direction) argument
2603 handleNewSelectionChange(View selectedView, int direction, int newSelectedPosition, boolean newFocusAssigned) argument
2728 amountToScroll(int direction, int nextSelectedPosition) argument
2842 lookForSelectablePositionOnScreen(int direction) argument
2895 arrowScrollFocused(final int direction) argument
2997 amountToScrollToNewFocus(int direction, View newFocus, int positionOfNewFocus) argument
3552 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument
[all...]
H A DScrollView.java971 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
976 public boolean pageScroll(int direction) { argument
977 boolean down = direction == View.FOCUS_DOWN;
997 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
1007 * @param direction the scroll direction: {@link android.view.View#FOCUS_UP}
1012 public boolean fullScroll(int direction) { argument
1013 boolean down = direction == View.FOCUS_DOWN;
1028 return scrollAndFocus(direction, mTempRec
1043 scrollAndFocus(int direction, int top, int bottom) argument
1075 arrowScroll(int direction) argument
1443 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DSearchView.java468 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
475 boolean result = mSearchSrcTextView.requestFocus(direction, previouslyFocusedRect);
481 return super.requestFocus(direction, previouslyFocusedRect);
1783 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1784 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java488 * @return whether the target is able to scroll in the requested direction
537 int direction, float coordinate, float srcSize, float dstSize) {
538 final float relativeEdge = mRelativeEdges[direction];
539 final float maximumEdge = mMaximumEdges[direction];
542 // The edge in this direction is not activated.
546 final float relativeVelocity = mRelativeVelocity[direction];
547 final float minimumVelocity = mMinimumVelocity[direction];
548 final float maximumVelocity = mMaximumVelocity[direction];
572 * horizontally in a certain direction.
574 * @param direction Negativ
536 computeTargetVelocity( int direction, float coordinate, float srcSize, float dstSize) argument
579 canTargetScrollHorizontally(int direction) argument
590 canTargetScrollVertically(int direction) argument
886 canTargetScrollHorizontally(int direction) argument
892 canTargetScrollVertically(int direction) argument
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaController.java311 * Adjust the volume of the output this session is playing on. The direction
320 * @param direction The direction to adjust the volume in.
323 public void adjustVolume(int direction, int flags) { argument
325 mSessionBinder.adjustVolume(direction, flags, mContext.getPackageName());
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java835 private void dispatchAdjustVolumeLocked(int suggestedStream, int direction, int flags, argument
839 Log.d(TAG, "Adjusting session " + description + " by " + direction + ". flags="
860 if (direction == MediaSessionManager.DIRECTION_MUTE) {
863 mAudioService.adjustMasterVolume(direction, flags, packageName);
864 // Do not call setMasterMute when direction = 0 which is used just to
866 if (isMasterMute && direction != 0) {
872 if (direction == MediaSessionManager.DIRECTION_MUTE) {
875 mAudioService.adjustSuggestedStreamVolume(direction, suggestedStream,
877 // Do not call setStreamMute when direction = 0 which is used just to
879 if (isStreamMute && direction !
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java525 private static Direction getDirection(int direction) { argument
527 if (direction == d.nativeInt) {
758 * @param dir The direction to wind the rectangle's contour
764 Direction direction = getDirection(dir);
766 switch (direction) {
787 * @param dx The amount in the X direction to offset the entire path
788 * @param dy The amount in the Y direction to offset the entire path
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java1621 private StatusBar createStatusBar(BridgeContext context, Density density, int direction, argument
1624 direction, isRtlSupported, platformVersion);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseGridView.java506 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
507 return mLayoutManager.gridOnRequestFocusInDescendants(this, direction,
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java237 * Adjust the volume of the output this session is playing on. The direction
246 * @param direction The direction to adjust the volume in.
249 public void adjustVolume(int direction, int flags) { argument
250 mImpl.adjustVolume(direction, flags);
780 void adjustVolume(int direction, int flags); argument
953 public void adjustVolume(int direction, int flags) { argument
955 mBinder.adjustVolume(direction, flags, null);
1221 public void adjustVolume(int direction, int flags) { argument
1222 MediaControllerCompatApi21.adjustVolume(mControllerObj, direction, flag
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java489 * @return whether the target is able to scroll in the requested direction
538 int direction, float coordinate, float srcSize, float dstSize) {
539 final float relativeEdge = mRelativeEdges[direction];
540 final float maximumEdge = mMaximumEdges[direction];
543 // The edge in this direction is not activated.
547 final float relativeVelocity = mRelativeVelocity[direction];
548 final float minimumVelocity = mMinimumVelocity[direction];
549 final float maximumVelocity = mMaximumVelocity[direction];
573 * horizontally in a certain direction.
575 * @param direction Negativ
537 computeTargetVelocity( int direction, float coordinate, float srcSize, float dstSize) argument
580 canTargetScrollHorizontally(int direction) argument
591 canTargetScrollVertically(int direction) argument
[all...]
/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 */
/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/webkit/
H A DWebViewProvider.java336 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
354 public boolean requestFocus(int direction, Rect previouslyFocusedRect); argument
/frameworks/base/media/java/android/media/
H A DMediaFocusControl.java2093 private void sendVolumeUpdateToRemote(int rccId, int direction) { argument
2094 if (DEBUG_VOL) { Log.d(TAG, "sendVolumeUpdateToRemote(rccId="+rccId+" , dir="+direction); }
2095 if (direction == 0) {
2120 rvo.dispatchRemoteVolumeUpdate(direction, -1);

Completed in 610 milliseconds

12345