/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 58 public PrivateOutputStream(BaseStream p, int maxSize) { argument 61 mMaxPacketSize = maxSize;
|
H A D | ClientOperation.java | 100 * @param maxSize the maximum packet size 107 public ClientOperation(int maxSize, ClientSession p, HeaderSet header, boolean type) argument 114 mMaxPacketSize = maxSize;
|
H A D | ObexHelper.java | 738 * @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 D | ServerOperation.java | 121 * @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/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
H A D | ImageLoader.java | 91 BitmapCache(int maxSize) { argument 92 super(maxSize);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
H A D | ImageLoader.java | 91 BitmapCache(int maxSize) { argument 92 super(maxSize);
|
/frameworks/base/core/java/android/net/http/ |
H A D | HttpResponseCache.java | 176 * @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 D | LruCache.java | 67 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 D | LayerCache.cpp | 57 void LayerCache::setMaxSize(uint32_t maxSize) { argument 59 mMaxSize = maxSize;
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 71 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 D | BranchIsland.cpp | 72 size_t BranchIsland::maxSize() const { function in class:mcld::BranchIsland
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | UnrefedPooledCache.java | 222 public NonPooledCache(int maxSize) { argument 223 super(maxSize);
|
/frameworks/base/core/java/com/android/server/ |
H A D | BootReceiver.java | 243 String headers, String filename, int maxSize, String tag) throws IOException { 244 addFileWithFootersToDropBox(db, timestamps, headers, "", filename, maxSize, tag); 249 String headers, String footers, String filename, int maxSize, 264 db.addText(tag, headers + FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n") + 269 HashMap<String, Long> timestamps, String headers, int maxSize, String tag) 289 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n"); 301 HashMap<String, Long> timestamps, String headers, int maxSize, String tag) 311 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n"); 321 addFileToDropBox(db, timestamps, headers, "/dev/fscklogs/log", maxSize, tag); 241 addFileToDropBox( DropBoxManager db, HashMap<String, Long> timestamps, String headers, String filename, int maxSize, String tag) argument 247 addFileWithFootersToDropBox( DropBoxManager db, HashMap<String, Long> timestamps, String headers, String footers, String filename, int maxSize, String tag) argument 268 addAuditErrorsToDropBox(DropBoxManager db, HashMap<String, Long> timestamps, String headers, int maxSize, String tag) argument 300 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 D | ImageUtils.java | 93 * @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/compat/java/android/support/v4/util/ |
H A D | LruCache.java | 34 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 D | JpegProcessor.cpp | 369 size_t JpegProcessor::findJpegSize(uint8_t* jpegBuffer, size_t maxSize) { argument 373 uint8_t *header = jpegBuffer + (maxSize - sizeof(struct camera2_jpeg_blob)); 377 if (size > 0 && size <= maxSize - sizeof(struct camera2_jpeg_blob)) { 400 while (size <= maxSize - MARKER_LENGTH) { 407 if (type == EOI || size > maxSize - sizeof(segment_t)) { 419 for ( ; size <= maxSize - MARKER_LENGTH; size++) { 431 if (size > maxSize) { 432 ALOGW("JPEG size %zu too large, reducing to maxSize %zu", size, maxSize); 433 size = maxSize; [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 33 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 D | Camera3OutputStream.cpp | 40 /*maxSize*/0, format, dataSpace, rotation, setId), 60 uint32_t width, uint32_t height, size_t maxSize, int format, 63 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize, 94 /*maxSize*/0, format, dataSpace, rotation, setId), 129 /*maxSize*/0, 415 " %d x %d (maxSize %zu) for stream %d", 58 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
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 242 private int makeChildMeasureSpec(int maxSize, int childDimen) { argument 248 size = maxSize; 252 size = maxSize; 256 size = Math.min(maxSize, childDimen);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | PinnerService.java | 269 * maxSize == 0 means infinite 271 private static PinnedFile pinFile(String fileToPin, long offset, long length, long maxSize) { argument 292 if (maxSize > 0 && length > maxSize) { 294 ", size = " + length + ", maxSize = " + maxSize);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 58 AString maxSize; local 59 if (!splitString(sizeRange, "-", &minSize, &maxSize)) {
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioMetadata.java | 493 private Bitmap scaleBitmap(Bitmap bmp, int maxSize) { argument 494 float maxSizeF = maxSize;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadata.java | 794 private Bitmap scaleBitmap(Bitmap bmp, int maxSize) { argument 795 float maxSizeF = maxSize;
|
/frameworks/native/services/sensorservice/ |
H A D | vec.h | 52 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 D | ColorCutQuantizer.java | 170 * @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) {
|