Searched refs:capacityToRelease (Results 1 – 1 of 1) sorted by relevance
241 public void releaseCapacity(int capacityToRelease) { in releaseCapacity() argument242 if (capacityToRelease <= 0) { in releaseCapacity()249 if (capacityToRelease > mCapacity) { in releaseCapacity()250 capacityToRelease = mCapacity; in releaseCapacity()253 mCapacity -= capacityToRelease; in releaseCapacity()256 int numParentTicketsToRelease = Math.min(mParentTickets.size(), capacityToRelease); in releaseCapacity()