Lines Matching refs:SIZE
100 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits);
113 * Notify up to the first Long.SIZE callbacks that don't have a bit set in <code>removed</code>.
123 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size());
129 * This part captures the callbacks beyond Long.SIZE that have no bits allocated for
152 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE;
175 final int startIndex = (remainderIndex + 1) * Long.SIZE;
176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE);
229 if (index < Long.SIZE) {
237 final int maskIndex = (index / Long.SIZE) - 1;
244 final long bitMask = 1L << (index % Long.SIZE);
251 * Removes callbacks from startIndex to startIndex + Long.SIZE, based
259 final int endIndex = startIndex + Long.SIZE;
261 long bitMask = 1L << (Long.SIZE - 1);
286 if (index < Long.SIZE) {
291 final int remainderIndex = (index / Long.SIZE) - 1;
293 mRemainderRemoved = new long[mCallbacks.size() / Long.SIZE];
296 long[] newRemainders = new long[mCallbacks.size() / Long.SIZE];
300 final long bitMask = 1L << (index % Long.SIZE);