Searched refs:direction (Results 126 - 150 of 171) sorted by relevance

1234567

/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java119 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java119 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
/frameworks/base/core/java/android/view/
H A DViewGroup.java712 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { argument
717 super.handleFocusGainInternal(direction, previouslyFocusedRect);
857 * Find the nearest view in the specified direction that wants to take
861 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and
865 public View focusSearch(View focused, int direction) { argument
870 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
872 return mParent.focusSearch(focused, direction);
959 public boolean dispatchUnhandledMove(View focused, int direction) { argument
961 mFocused.dispatchUnhandledMove(focused, direction);
1083 public void addFocusables(ArrayList<View> views, int direction, in argument
2819 requestFocus(int direction, Rect previouslyFocusedRect) argument
2856 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
H A DAccessibilityInteractionController.java515 public void focusSearchClientThread(long accessibilityNodeId, int direction, argument
525 args.argi2 = direction;
550 final int direction = args.argi2;
572 View nextView = root.focusSearch(direction);
H A DViewRootImpl.java1522 // Set the layout direction if it has not been set before (inherit is the default)
4362 int direction = 0;
4366 direction = View.FOCUS_LEFT;
4371 direction = View.FOCUS_RIGHT;
4376 direction = View.FOCUS_UP;
4381 direction = View.FOCUS_DOWN;
4386 direction = View.FOCUS_FORWARD;
4388 direction = View.FOCUS_BACKWARD;
4392 if (direction != 0) {
4395 View v = focused.focusSearch(direction);
5799 focusSearch(View focused, int direction) argument
7444 focusSearch(long accessibilityNodeId, int direction, Region interactiveRegion, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interrogatingPid, long interrogatingTid, MagnificationSpec spec) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSearchView.java479 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
486 boolean result = mSearchSrcTextView.requestFocus(direction, previouslyFocusedRect);
492 return super.requestFocus(direction, previouslyFocusedRect);
1998 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1999 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DAutoCompleteTextView.java1116 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1117 super.onFocusChanged(focused, direction, previouslyFocusedRect);
H A DSimpleMonthView.java475 protected void onFocusChanged(boolean gainFocus, @FocusDirection int direction, argument
482 switch(direction) {
510 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
/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/support/v7/recyclerview/src/android/support/v7/widget/
H A DStaggeredGridLayoutManager.java202 * If a full span item is invalid / or created in reverse direction; it may create gaps in
262 * When a full span item is laid out in reverse direction, it sets a flag which we check when
464 * For horizontal layouts, it depends on the layout direction.
569 * Not that this value is not affected by RecyclerView's layout direction.
580 // we don't like it to wrap content in our non-scroll direction.
833 // Layout direction may change but we should select the child depending on the latest
834 // layout direction. Otherwise, we'll choose the wrong child.
879 // Item does not fit. Fix depending on layout direction.
901 // Child is not visible. Set anchor coordinate depending on in which direction
1439 private void setLayoutStateDirection(int direction) { argument
2219 onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler, RecyclerView.State state) argument
[all...]
H A DLinearLayoutManager.java101 * It is calculated by checking {@link #getReverseLayout()} and View's layout direction.
357 * Returns if views are laid out from the opposite direction of the layout.
371 * For horizontal layouts, it depends on the layout direction.
445 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1;
447 return new PointF(direction, 0);
449 return new PointF(0, direction);
480 // resolve layout direction
514 // extra items in the opposite direction to make sure new items animate nicely
653 * @param firstLayoutItemDirection The direction of the first layout filling in terms of adapter
684 final int direction
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java721 * Searches for the nearest view in the specified direction that can take
724 * @param direction The direction. Can be one of:
734 public AccessibilityNodeInfo focusSearch(int direction) { argument
736 enforceValidFocusDirection(direction);
741 mSourceNodeId, direction);
2615 private void enforceValidFocusDirection(int direction) { argument
2616 switch (direction) {
2625 throw new IllegalArgumentException("Unknown direction: " + direction);
[all...]
H A DAccessibilityInteractionClient.java463 * @param direction The direction in which to search for focusable.
467 long accessibilityNodeId, int direction) {
474 accessibilityNodeId, direction, interactionId, this,
466 focusSearch(int connectionId, int accessibilityWindowId, long accessibilityNodeId, int direction) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dcombined_decode.cpp431 video->mblock->direction = 0;
435 video->mblock->direction = 1;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadset.java914 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument
918 mService.clccResponse(index, direction, status, mode, mpty, number, type);
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java501 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
502 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java692 final int direction = TextUtils
694 if (direction == View.LAYOUT_DIRECTION_LTR) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java147 public View focusSearch(final View focused, final int direction) argument
153 View view = focused.focusSearch(direction);
/frameworks/base/media/java/android/media/
H A DWebVttRenderer.java526 .append(", direction:")
1401 final int direction = getLayoutDirection();
1402 final int absAlignment = resolveCueAlignment(direction, cue.mAlignment);
1423 if (direction == LAYOUT_DIRECTION_RTL) {
1493 * Resolves cue alignment according to the specified layout direction.
1765 final int direction = getLayoutDirection();
1766 final int absAlignment = resolveCueAlignment(direction, cue.mAlignment);
1769 // and the direction in which it grows.
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaSessionCompat.java1670 void adjustVolume(int direction, int flags) { argument
1673 mVolumeProvider.onAdjustVolume(direction);
1676 mAudioManager.adjustStreamVolume(mLocalStream, direction, flags);
1913 public void adjustVolume(int direction, int flags, String packageName) { argument
1914 MediaSessionImplBase.this.adjustVolume(direction, flags);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java517 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
524 boolean result = mSearchSrcTextView.requestFocus(direction, previouslyFocusedRect);
530 return super.requestFocus(direction, previouslyFocusedRect);
1957 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1958 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/support/compat/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java732 Object focusSearch(Object info, int direction); argument
1190 public Object focusSearch(Object info, int direction) { argument
1824 public Object focusSearch(Object info, int direction) { argument
1825 return AccessibilityNodeInfoCompatJellyBean.focusSearch(info, direction);
2865 * Searches for the nearest view in the specified direction that can take
2868 * @param direction The direction. Can be one of:
2878 public AccessibilityNodeInfoCompat focusSearch(int direction) { argument
2879 return AccessibilityNodeInfoCompat.wrapNonNullInstance(IMPL.focusSearch(mInfo, direction));
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DMultiSelectManager.java1344 final int direction = (int) Math.signum(pixelsPastView);
1354 direction * maxScrollStep * smoothOutOfBoundsRatio(outOfBoundsRatio);
1365 return numPixels != 0 ? numPixels : direction;
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java79 public void onTakeFocus(TextView widget, Spannable text, int direction) { argument

Completed in 773 milliseconds

1234567