Lines Matching defs:direction
934 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) {
943 return v.requestFocus(direction, previouslyFocusedRect);
949 public boolean dispatchUnhandledMove(View focused, int direction) {
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) {
967 getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode);
969 if (direction == View.FOCUS_LEFT) {
971 getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMode);
973 } else if (direction == View.FOCUS_RIGHT){
975 getPageAt(mCurrentPage + 1).addFocusables(views, direction, focusableMode);
1495 // In the case that the page is moved far to one direction and then is flung
1496 // in the opposite direction, we use a threshold to determine whether we should