Lines Matching refs:startIndex
172 final int startIndex = (remainderIndex + 1) * Long.SIZE;
173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE);
175 notifyCallbacks(sender, arg, arg2, startIndex, endIndex, bits);
180 * Notify callbacks from startIndex to endIndex, using bits as the bit status
182 * mFirst64Removed. bits set to 0 indicates that all callbacks from startIndex to
191 * @param startIndex The index into the mCallbacks to start notifying.
196 private void notifyCallbacks(T sender, int arg, A arg2, final int startIndex,
199 for (int i = startIndex; i < endIndex; i++) {
248 * Removes callbacks from startIndex to startIndex + Long.SIZE, based
251 * @param startIndex The index into the mCallbacks to start removing callbacks.
255 private void removeRemovedCallbacks(int startIndex, long removed) {
257 final int endIndex = startIndex + Long.SIZE;
260 for (int i = endIndex - 1; i >= startIndex; i--) {