Lines Matching refs:position
73 int position = index << 1 | ((location != index) ? 1 : 0);
74 if (DEBUG) Log.d(TAG, "setLocation " + location + " " + index + " " + position);
80 if (position == lastPosition) return;
82 if (DEBUG) Log.d(TAG, "Queueing transition to " + Integer.toHexString(position));
83 mQueuedPositions.add(position);
87 setPosition(position);
90 private void setPosition(int position) {
91 if (isVisibleToUser() && Math.abs(mPosition - position) == 1) {
92 animate(mPosition, position);
95 + " " + position);
96 setIndex(position >> 1);
98 mPosition = position;
118 // Set the position of everything, then we will manually control the two views involved