Searched refs:newCount (Results 1 – 6 of 6) sorted by relevance
394 int newCount = adapter.getItemCount(); in onRestrictionsChanged() local396 if (newCount == originalCount) { in onRestrictionsChanged()400 if (newCount < originalCount) { in onRestrictionsChanged()401 adapter.notifyItemRangeRemoved(newCount, originalCount - newCount); in onRestrictionsChanged()403 adapter.notifyItemRangeInserted(originalCount, newCount - originalCount); in onRestrictionsChanged()
318 int newCount = mAdapter.getItemCount(); in updateCarUxRestrictions() local320 if (newCount == originalCount) { in updateCarUxRestrictions()324 if (newCount < originalCount) { in updateCarUxRestrictions()326 newCount, originalCount - newCount); in updateCarUxRestrictions()329 originalCount, newCount - originalCount); in updateCarUxRestrictions()
1389 final int newCount = suggestions.size(); in updateSuggestions() local1391 if (newCount < oldCount) { in updateSuggestions()1393 mSuggestions.removeViews(newCount, oldCount-newCount); in updateSuggestions()1394 } else if (newCount > oldCount) { in updateSuggestions()1396 for (int i = oldCount; i < newCount; i++) { in updateSuggestions()1403 for (int i = 0; i < newCount; i++) { in updateSuggestions()
450 public void onContactChipsChanged(final int oldCount, final int newCount) { in onContactChipsChanged() argument451 Assert.isTrue(oldCount != newCount); in onContactChipsChanged()464 mHost.onParticipantCountChanged(ContactPickerData.getCanAddMoreParticipants(newCount)); in onContactChipsChanged()
54 void onContactChipsChanged(int oldCount, int newCount); in onContactChipsChanged() argument
287 int newCount = 0; in render() local292 if ((r & RENDER_MORE_PASS) != 0) requestedSlot[newCount++] = i; in render()294 requestCount = newCount; in render()