Move by key

@param right {boolean} direction to move
12602
function (right) {
            var p = this.coords.p_pointer;
            var p_step = (this.options.max - this.options.min) / 100;
            p_step = this.options.step / p_step;

            if (right) {
                p += p_step;
            } else {
                p -= p_step;
            }

            this.coords.x_pointer = this.toFixed(this.coords.w_rs / 100 * p);
            this.is_key = true;
            this.calc();
        }
984985
private void moveHorizontally(int offset) {
        if (offset < 0) {
            moveLeft(Math.abs(offset));
        } else if (offset > 0) {
            moveRight(offset);
        }
    }
265590
public void moveDataRight()
    {
        for (int i = 1; i < m_rgiFldLeft.length; i++)
        {
            if (this.getRightField(i) == null)
                break;
            if (this.getLeftField(i) == null)
                this.getRightField(i).setString(this.getLeftFieldNameOrValue(i, true, true), DBConstants.DONT_DISPLAY, DBConstants.SCREEN_MOVE);
            else
                this.getRightField(i).moveFieldToThis(this.getLeftField(i), DBConstants.DONT_DISPLAY, DBConstants.SCREEN_MOVE);
        }
    }
639509
def find_prekeyed(self, value, key):
        

        while self is not NULL:
            direction = cmp(value, key(self.value))
            if direction < 0:
                self = self.left
            elif direction > 0:
                self = self.right
            elif direction == 0:
                return self.value
721211
def _right_click(self, event):
        """"""
        iid = self.current_iid
        if iid is None:
            if self._menu is not None:
                self._menu.post(event.x, event.y)
            return
        args = (iid, (event.x_root, event.y_root))
        self.call_callbacks(iid, "right_callback", args)
        tags = list(self.marker_tags(iid))
        if len(tags) == 0:
            return
        menu = self._tags[tags[-1]].get("menu", None)
        if menu is None or not isinstance(menu, tk.Menu):
            return
        menu.post(event.x_root, event.y_root)
397822
public static void moveDirection (Point p, int direction, int dx, int dy)
    {
        if (direction >= DIRECTION_COUNT) {
            throw new IllegalArgumentException("Fine coordinates not supported.");
        }

        switch (direction) {
            case NORTH: case NORTHWEST: case NORTHEAST: p.y -= dy;
        }
        switch (direction) {
            case SOUTH: case SOUTHWEST: case SOUTHEAST: p.y += dy;
        }
        switch (direction) {
            case WEST: case SOUTHWEST: case NORTHWEST: p.x -= dx;
        }
        switch (direction) {
            case EAST: case SOUTHEAST: case NORTHEAST: p.x += dx;
        }
    }
1058328
private RedBlackTreeNode<Key, Value> moveRedLeft(RedBlackTreeNode<Key, Value> h) {
	// assert (h != null);
	// assert isRed(h) && !h.getLeft().isRed() && !isRed(h.left.left);

	flipColors(h);
	if (isRed(h.getRight().getLeft())) {
	    h.setRight(rotateRight(h.getRight()));
	    h = rotateLeft(h);
	    flipColors(h);
	}
	return h;
    }
1366311
private final boolean addSlot(final int slot, final int key) {
		if (slot < allocated) {
			moveElementsRight(keys, slot);
		}
		allocated++;
		keys[slot] = key;
		return true;
	}
639024
function move(key, index, req) {
  var val = this.getKey(key)
    , db = this.store.getDatabase(index, this.options);
  //console.dir(val);
  if(!val || db.keyExists(key)) return 0;
  db.setKey(key, val);
  this.delKey(key);
  return 1;
}
331743
function( options ) {
			var direction = new TouchableDirection( options);
			direction.id = this.touchableAreas.push( direction);
			this.touchableAreasCount++;
			this.boundingSet(options);
		}
882565
def left_to_right(self):
        """"""
        self._entry_mode |= Command.MODE_INCREMENT
        self.command(self._entry_mode)
1325786
function canMove(game, move) {
    if (!Game.isMyTurn(game, move.from))
        return false;
    const positionsWhereCanIGo = Board.getPositionsWhereCanIGo(game.board, move.from);
    return positionsWhereCanIGo.some(position => Position.hasSameXY(position, move.to));
}
983904
def bisect_key_right(self, key):
        
        _maxes = self._maxes

        if not _maxes:
            return 0

        pos = bisect_right(_maxes, key)

        if pos == len(_maxes):
            return self._len

        idx = bisect_right(self._keys[pos], key)

        return self._loc(pos, idx)
1262109
def rotate_right(self, seconds=None):
        """"""
        self._move(speed=0, steering=-STEER_MAX, seconds=seconds)
1086286
def shift_right(self, times=1):
        
        try:
            return Location(self._rank, self._file + times)
        except IndexError as e:
            raise IndexError(e)
146953
def onRightUp(self, event=None):
        
        if event is None:
            return
        self.cursor_mode_action('rightup', event=event)
        self.ForwardEvent(event=event.guiEvent)
88292
public function moveRight() //#777C
    {
        $sArticleId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('aid');
        if ($sArticleId && ($aItems = $this->getCompareItems())) {
            $sNextArticleId = 0;

            $blFound = false;
            foreach ($aItems as $sOxid => $sVal) {
                if ($blFound) {
                    $sNextArticleId = $sOxid;
                    $blFound = false;
                }
                if ($sOxid == $sArticleId) {
                    $blFound = true;
                }
            }

            if ($sNextArticleId) {
                $aNewItems = [];
                foreach ($aItems as $sOxid => $sVal) {
                    if ($sOxid == $sArticleId) {
                        $aNewItems[$sNextArticleId] = true;
                    } elseif ($sOxid == $sNextArticleId) {
                        $aNewItems[$sArticleId] = true;
                    } else {
                        $aNewItems[$sOxid] = true;
                    }
                }
                $this->setCompareItems($aNewItems);
            }
        }
    }