Searched defs:maxSize (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java58 public PrivateOutputStream(BaseStream p, int maxSize) { argument
61 mMaxPacketSize = maxSize;
H A DClientOperation.java100 * @param maxSize the maximum packet size
107 public ClientOperation(int maxSize, ClientSession p, HeaderSet header, boolean type) argument
114 mMaxPacketSize = maxSize;
H A DObexHelper.java738 * @param maxSize the maximum size of a packet
742 public static int findHeaderEnd(byte[] headerArray, int start, int maxSize) { argument
751 while ((fullLength < maxSize) && (index < headerArray.length)) {
797 * header is less then maxSize. If it is, return the length of the
801 if (fullLength < maxSize) {
H A DServerOperation.java121 * @param maxSize the max packet size that the client will accept
125 public ServerOperation(ServerSession p, InputStream in, int request, int maxSize, argument
131 mMaxPacketLength = maxSize;
/frameworks/base/core/java/android/net/http/
H A DHttpResponseCache.java176 * @param maxSize the maximum size of the cache in bytes.
182 public static synchronized HttpResponseCache install(File directory, long maxSize) argument
189 if (trueResponseCache.isEquivalent(directory, maxSize)) {
198 AndroidShimResponseCache.create(directory, maxSize);
215 * this cache. This may be greater than the {@link #maxSize} if a background
231 public long maxSize() { method in class:HttpResponseCache
232 return delegate.maxSize();
/frameworks/base/core/java/android/util/
H A DLruCache.java67 private int maxSize; field in class:LruCache
76 * @param maxSize for caches that do not override {@link #sizeOf}, this is
80 public LruCache(int maxSize) { argument
81 if (maxSize <= 0) {
82 throw new IllegalArgumentException("maxSize <= 0");
84 this.maxSize = maxSize;
91 * @param maxSize The new maximum size.
93 public void resize(int maxSize) { argument
94 if (maxSize <
194 trimToSize(int maxSize) argument
325 public synchronized final int maxSize() { method in class:LruCache
[all...]
/frameworks/base/libs/hwui/
H A DLayerCache.cpp57 void LayerCache::setMaxSize(uint32_t maxSize) { argument
59 mMaxSize = maxSize;
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DLruCache.java71 private int maxSize; field in class:LruCache
80 * @param maxSize for caches that do not override {@link #sizeOf}, this is
84 public LruCache(int maxSize) { argument
85 if (maxSize <= 0) {
86 throw new IllegalArgumentException("maxSize <= 0");
88 this.maxSize = maxSize;
94 * @param maxSize The new maximum size.
98 public void resize(int maxSize) { argument
99 if (maxSize <
196 trimToSize(int maxSize) argument
336 public synchronized final int maxSize() { method in class:LruCache
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp72 size_t BranchIsland::maxSize() const { function in class:mcld::BranchIsland
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedPooledCache.java222 public NonPooledCache(int maxSize) { argument
223 super(maxSize);
/frameworks/base/core/java/com/android/server/
H A DBootReceiver.java207 String headers, String filename, int maxSize, String tag) throws IOException {
208 addFileWithFootersToDropBox(db, timestamps, headers, "", filename, maxSize, tag);
213 String headers, String footers, String filename, int maxSize,
228 db.addText(tag, headers + FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n") +
233 HashMap<String, Long> timestamps, String headers, int maxSize, String tag)
253 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n");
265 HashMap<String, Long> timestamps, String headers, int maxSize, String tag)
275 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n");
285 addFileToDropBox(db, timestamps, headers, "/dev/fscklogs/log", maxSize, tag);
205 addFileToDropBox( DropBoxManager db, HashMap<String, Long> timestamps, String headers, String filename, int maxSize, String tag) argument
211 addFileWithFootersToDropBox( DropBoxManager db, HashMap<String, Long> timestamps, String headers, String footers, String filename, int maxSize, String tag) argument
232 addAuditErrorsToDropBox(DropBoxManager db, HashMap<String, Long> timestamps, String headers, int maxSize, String tag) argument
264 addFsckErrorsToDropBox(DropBoxManager db, HashMap<String, Long> timestamps, String headers, int maxSize, String tag) argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java93 * @param maxSize The maximum size (either width or height)
97 final int maxSize) {
108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize);
96 createLocalBitmap(final ContentResolver resolver, final Uri uri, final int maxSize) argument
/frameworks/support/v4/java/android/support/v4/util/
H A DLruCache.java34 private int maxSize; field in class:LruCache
43 * @param maxSize for caches that do not override {@link #sizeOf}, this is
47 public LruCache(int maxSize) { argument
48 if (maxSize <= 0) {
49 throw new IllegalArgumentException("maxSize <= 0");
51 this.maxSize = maxSize;
58 * @param maxSize The new maximum size.
60 public void resize(int maxSize) { argument
61 if (maxSize <
161 trimToSize(int maxSize) argument
288 public synchronized final int maxSize() { method in class:LruCache
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp364 size_t JpegProcessor::findJpegSize(uint8_t* jpegBuffer, size_t maxSize) { argument
368 uint8_t *header = jpegBuffer + (maxSize - sizeof(struct camera2_jpeg_blob));
372 if (size > 0 && size <= maxSize - sizeof(struct camera2_jpeg_blob)) {
395 while (size <= maxSize - MARKER_LENGTH) {
402 if (type == EOI || size > maxSize - sizeof(segment_t)) {
414 for ( ; size <= maxSize - MARKER_LENGTH; size++) {
426 if (size > maxSize) {
427 ALOGW("JPEG size %zu too large, reducing to maxSize %zu", size, maxSize);
428 size = maxSize;
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp33 uint32_t width, uint32_t height, size_t maxSize, int format,
36 width, height, maxSize, format, dataSpace, rotation, setId),
45 if (maxSize > 0 &&
32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
H A DCamera3OutputStream.cpp40 /*maxSize*/0, format, dataSpace, rotation, setId),
59 uint32_t width, uint32_t height, size_t maxSize, int format,
62 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize,
94 /*maxSize*/0,
378 " %d x %d (maxSize %zu) for stream %d",
57 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, nsecs_t timestampOffset, int setId) argument
H A DCamera3Stream.cpp49 uint32_t width, uint32_t height, size_t maxSize, int format,
55 mMaxSize(maxSize),
76 maxSize == 0) {
47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java242 private int makeChildMeasureSpec(int maxSize, int childDimen) { argument
248 size = maxSize;
252 size = maxSize;
256 size = Math.min(maxSize, childDimen);
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp58 AString maxSize; local
59 if (!splitString(sizeRange, "-", &minSize, &maxSize)) {
/frameworks/base/core/java/android/hardware/radio/
H A DRadioMetadata.java493 private Bitmap scaleBitmap(Bitmap bmp, int maxSize) { argument
494 float maxSizeF = maxSize;
/frameworks/base/media/java/android/media/
H A DMediaMetadata.java794 private Bitmap scaleBitmap(Bitmap bmp, int maxSize) { argument
795 float maxSizeF = maxSize;
/frameworks/native/services/sensorservice/
H A Dvec.h52 const size_t maxSize = max(SIZE, S); local
55 for (size_t i=minSize ; i<maxSize ; i++)
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DColorCutQuantizer.java170 * @param maxSize Maximum amount of boxes to split
172 private void splitBoxes(final PriorityQueue<Vbox> queue, final int maxSize) { argument
173 while (queue.size() < maxSize) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatDrawableManager.java608 public ColorFilterLruCache(int maxSize) { argument
609 super(maxSize);
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java593 * @param maxSize number of records to maintain at anyone time.
595 synchronized void setSize(int maxSize) { argument
599 mMaxSize = maxSize;
1435 * @param maxSize number of messages to maintain at anyone time.
1437 public final void setLogRecSize(int maxSize) { argument
1438 mSmHandler.mLogRecords.setSize(maxSize);

Completed in 1050 milliseconds

12