Lines Matching refs:playerIndex
369 private void thump(int playerIndex, long ms) {
374 if (playerIndex < mGameControllers.size()) {
375 int controllerId = mGameControllers.get(playerIndex);
835 int playerIndex = (int) (getNumPlayers() * (x / getWidth()));
836 if (mFlipped) playerIndex = getNumPlayers() - 1 - playerIndex;
840 poke(playerIndex, x, y);
844 unpoke(playerIndex);
902 private void poke(int playerIndex) {
903 poke(playerIndex, -1, -1);
906 private void poke(int playerIndex, float x, float y) {
907 L("poke(%d)", playerIndex);
915 final Player p = getPlayer(playerIndex);
926 private void unpoke(int playerIndex) {
927 L("unboost(%d)", playerIndex);
929 final Player p = getPlayer(playerIndex);