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

1234

/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselController.java668 /** Sets the direction to fill in cards around the carousel.
670 * @param direction Either {@link CarouselRS#FILL_DIRECTION_CCW} or
673 public void setFillDirection(int direction) { argument
674 mFillDirection = direction;
676 mRenderScript.setFillDirection(direction);
H A DCarouselRS.java323 public void setFillDirection(int direction) { argument
324 mScript.set_fillDirection(direction);
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java42 public Object focusSearch(Object info, int direction); argument
379 public Object focusSearch(Object info, int direction) { argument
648 public Object focusSearch(Object info, int direction) { argument
649 return AccessibilityNodeInfoCompatJellyBean.focusSearch(info, direction);
1035 * Searches for the nearest view in the specified direction that can take
1038 * @param direction The direction. Can be one of:
1048 public AccessibilityNodeInfoCompat focusSearch(int direction) { argument
1049 return AccessibilityNodeInfoCompat.wrapNonNullInstance(IMPL.focusSearch(mInfo, direction));
/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.java785 * @param direction either {@link #ORDER_ASCENDING} or {@link #ORDER_DESCENDING}
789 public Query orderBy(String column, int direction) { argument
790 if (direction != ORDER_ASCENDING && direction != ORDER_DESCENDING) {
791 throw new IllegalArgumentException("Invalid direction: " + direction);
801 mOrderDirection = direction;
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java398 public void switchKeyboardLayout(int deviceId, int direction); argument
H A DViewGroup.java557 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { argument
562 super.handleFocusGainInternal(direction, previouslyFocusedRect);
627 * Find the nearest view in the specified direction that wants to take
631 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and
634 public View focusSearch(View focused, int direction) { argument
639 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
641 return mParent.focusSearch(focused, direction);
738 public boolean dispatchUnhandledMove(View focused, int direction) { argument
740 mFocused.dispatchUnhandledMove(focused, direction);
865 public void addFocusables(ArrayList<View> views, int direction, in argument
2315 requestFocus(int direction, Rect previouslyFocusedRect) argument
2352 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DViewRootImpl.java1188 // Set the layout direction if it has not been set before (inherit is the default)
3329 // We pick the axis that has moved the most as the direction of
3725 int direction = 0;
3729 direction = View.FOCUS_LEFT;
3734 direction = View.FOCUS_RIGHT;
3739 direction = View.FOCUS_UP;
3744 direction = View.FOCUS_DOWN;
3749 direction = View.FOCUS_FORWARD;
3751 direction = View.FOCUS_BACKWARD;
3755 if (direction !
4031 focusSearch(View focused, int direction) argument
5438 focusSearch(long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java457 * Searches for the nearest view in the specified direction that can take
460 * @param direction The direction. Can be one of:
470 public AccessibilityNodeInfo focusSearch(int direction) { argument
472 enforceValidFocusDirection(direction);
477 mSourceNodeId, direction);
1445 private void enforceValidFocusDirection(int direction) { argument
1446 switch (direction) {
1455 throw new IllegalArgumentException("Unknown direction: " + direction);
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java317 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
335 public boolean requestFocus(int direction, Rect previouslyFocusedRect); argument
H A DWebView.java1342 * @param forward the direction to search
1793 public boolean super_requestFocus(int direction, Rect previouslyFocusedRect) { argument
1794 return WebView.super.requestFocus(direction, previouslyFocusedRect);
2085 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
2086 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect);
2087 super.onFocusChanged(focused, direction, previouslyFocusedRect);
2114 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
2115 return mProvider.getViewDelegate().requestFocus(direction, previouslyFocusedRect);
H A DWebViewCore.java369 * Called by JNI to see if we can take focus in the given direction.
372 int direction = mapDirection(webkitDirection);
373 return direction == mChromeCanFocusDirection && direction != 0;
377 * Maps a Webkit focus direction to a framework one
727 * @param direction The direction in which to alter the selection.
732 private native String nativeModifySelection(int nativeClass, int direction, argument
/frameworks/base/core/java/android/widget/
H A DListView.java2271 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}
2274 boolean pageScroll(int direction) { argument
2278 if (direction == FOCUS_UP) {
2280 } else if (direction == FOCUS_DOWN) {
2316 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}
2320 boolean fullScroll(int direction) { argument
2322 if (direction == FOCUS_UP) {
2332 } else if (direction == FOCUS_DOWN) {
2356 * @param direction one of {View.FOCUS_LEFT, View.FOCUS_RIGHT}
2359 private boolean handleHorizontalFocusWithinListItem(int direction) { argument
2404 arrowScroll(int direction) argument
2424 arrowScrollImpl(int direction) argument
2515 handleNewSelectionChange(View selectedView, int direction, int newSelectedPosition, boolean newFocusAssigned) argument
2640 amountToScroll(int direction, int nextSelectedPosition) argument
2744 lookForSelectablePositionOnScreen(int direction) argument
2797 arrowScrollFocused(final int direction) argument
2899 amountToScrollToNewFocus(int direction, View newFocus, int positionOfNewFocus) argument
3424 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument
[all...]
H A DSearchView.java417 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
424 boolean result = mQueryTextView.requestFocus(direction, previouslyFocusedRect);
430 return super.requestFocus(direction, previouslyFocusedRect);
1724 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1725 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DEditor.java820 void onFocusChanged(boolean focused, int direction) { argument
847 mMovement.onTakeFocus(mTextView, (Spannable) mTextView.getText(), direction);
H A DAbsListView.java490 * How many positions in either direction we will search to try to
1802 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument
1803 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
4054 // Flip sign to convert finger direction to list items direction
5416 * What is the distance between the source and destination rectangles given the direction of
5417 * focus navigation between them? The direction basically helps figure out more quickly what is
5422 * @param direction the direction
5425 static int getDistance(Rect source, Rect dest, int direction) { argument
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java1776 int direction, int interactionId,
1806 connection.focusSearch(accessibilityNodeId, direction, interactionId, callback,
1775 focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, long interrogatingTid) argument
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java383 public void onFocusChanged(boolean hasFocus, int direction, Rect previous) { argument
384 super.onFocusChanged(hasFocus, direction, previous);
/frameworks/base/media/java/android/media/
H A DAudioManager.java533 * Adjusts the volume of a particular stream by one step in a direction.
541 * @param direction The direction to adjust the volume. One of
548 public void adjustStreamVolume(int streamType, int direction, int flags) { argument
552 service.adjustMasterVolume(direction, flags);
554 service.adjustStreamVolume(streamType, direction, flags);
570 * @param direction The direction to adjust the volume. One of
578 public void adjustVolume(int direction, int flags) { argument
582 service.adjustMasterVolume(direction, flag
608 adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags) argument
1543 adjustLocalOrRemoteStreamVolume(int streamType, int direction) argument
[all...]
H A DMediaRouter.java1149 * @param direction Delta to apply to the current volume
1151 public void requestUpdateVolume(int direction) { argument
1155 Math.max(0, Math.min(getVolume() + direction, getVolumeMax()));
1243 public void dispatchRemoteVolumeUpdate(final int direction, final int value) {
1248 if (direction != 0) {
1249 mVcb.vcb.onVolumeUpdateRequest(mVcb.route, direction);
1431 public void requestUpdateVolume(int direction) { argument
1437 mVcb.vcb.onVolumeUpdateRequest(this, direction);
1650 public void requestUpdateVolume(int direction) { argument
1660 route.requestUpdateVolume(direction);
2051 onVolumeUpdateRequest(RouteInfo info, int direction) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorClasses.h254 jfieldID direction; member in struct:__anon16
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java934 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
943 return v.requestFocus(direction, previouslyFocusedRect);
949 public boolean dispatchUnhandledMove(View focused, int direction) { argument
950 if (direction == View.FOCUS_LEFT) {
955 } else if (direction == View.FOCUS_RIGHT) {
961 return super.dispatchUnhandledMove(focused, direction);
965 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
967 getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode);
969 if (direction == View.FOCUS_LEFT) {
971 getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMod
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java1001 public void switchKeyboardLayout(int deviceId, int direction) { argument
1002 mHandler.obtainMessage(MSG_SWITCH_KEYBOARD_LAYOUT, deviceId, direction).sendToTarget();
1006 private void handleSwitchKeyboardLayout(int deviceId, int direction) { argument
1014 changed = mDataStore.switchKeyboardLayout(inputDeviceDescriptor, direction);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java1793 // direction to be counted as a drag... abort
2420 public boolean arrowScroll(int direction) { argument
2427 direction);
2429 if (direction == View.FOCUS_LEFT) {
2439 } else if (direction == View.FOCUS_RIGHT) {
2450 } else if (direction == FOCUS_LEFT || direction == FOCUS_BACKWARD) {
2453 } else if (direction == FOCUS_RIGHT || direction == FOCUS_FORWARD) {
2458 playSoundEffect(SoundEffectConstants.getContantForFocusDirection(direction));
2509 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument
2572 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]

Completed in 1452 milliseconds

1234