Lines Matching defs:maxImages
44 * {@code maxImages} constructor parameter. New images sent to an ImageReader
64 * because the consumer has already acquired {@maxImages} and cannot
72 * <p>The {@code maxImages} parameter determines the maximum number of {@link Image}
89 * @param maxImages
92 * memory use. Once maxImages Images are obtained by the user, one of them
99 public static ImageReader newInstance(int width, int height, int format, int maxImages) {
100 return new ImageReader(width, height, format, maxImages);
106 protected ImageReader(int width, int height, int format, int maxImages) {
110 mMaxImages = maxImages;
128 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages);
186 * <p>Attempting to acquire more than {@code maxImages} concurrently will result in the
227 * Note that {@link #getMaxImages maxImages} should be at least 2 for
232 * {@code (maxImages - currentAcquiredImages < 2)} will not discard as expected.
236 * {@code maxImages} have been acquired with {@link #acquireLatestImage} or
330 * {@code maxImages} have been acquired with {@link #acquireNextImage} or
332 * {@link #acquireLatestImage} calls greater than {@link #getMaxImages maxImages} without
339 * @throws IllegalStateException if {@code maxImages} images are currently acquired
354 "maxImages (%d) has already been acquired, " +