Lines Matching refs:count
48 public void onInserted(int position, int count) {
51 lastReceivedCount = count;
55 public void onRemoved(int position, int count) {
58 lastReceivedCount = count;
69 public void onChanged(int position, int count) {
72 lastReceivedCount = count;
300 private void assertLast(int type, int position, int count) throws Throwable {
306 if (count >= 0) {
307 assertEquals(lastReceivedCount, count);
310 throw new Throwable("last event: expected=" + log(type, position, count)
316 private void assertPending(int type, int position, int count) throws Throwable {
322 if (count >= 0) {
323 assertEquals(mBatched.mLastEventCount, count);
326 throw new Throwable("pending event: expected=" + log(type, position, count)
332 private String log(int type, int position, int count) {
335 + ", c:" + count;