Lines Matching defs:direction
1796 * @param direction The direction of increment or decrement.
1799 public void moveFocus(int direction, boolean updown) {
1801 if (direction == 0) {
1811 int start = (mCurrentFocusIndex == FOCUS_NONE) ? 0 : (mCurrentFocusIndex + direction);
1815 for (int i = start; (0 <= i) && (i < size); i += direction) {
1842 if ((index < 0) && hasChangedLine && !mHasFocusedArray1st && (0 < direction)) {
1855 if ((mHasFocusedArray1st && (direction < 0))
1856 || (!mHasFocusedArray1st && (0 < direction))) {
1871 if (0 < direction) {
1876 Message m = mHandler.obtainMessage(MSG_MOVE_FOCUS, direction, updown ? 1 : 0);