Lines Matching refs:SIZE
98 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits);
111 * Notify up to the first Long.SIZE callbacks that don't have a bit set in <code>removed</code>.
121 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size());
127 * This part captures the callbacks beyond Long.SIZE that have no bits allocated for
149 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE;
172 final int startIndex = (remainderIndex + 1) * Long.SIZE;
173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE);
226 if (index < Long.SIZE) {
234 final int maskIndex = (index / Long.SIZE) - 1;
241 final long bitMask = 1L << (index % Long.SIZE);
248 * Removes callbacks from startIndex to startIndex + Long.SIZE, based
257 final int endIndex = startIndex + Long.SIZE;
259 long bitMask = 1L << (Long.SIZE - 1);
285 if (index < Long.SIZE) {
290 final int remainderIndex = (index / Long.SIZE) - 1;
292 mRemainderRemoved = new long[mCallbacks.size() / Long.SIZE];
295 long[] newRemainders = new long[mCallbacks.size() / Long.SIZE];
299 final long bitMask = 1L << (index % Long.SIZE);