/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 | 77 * @param maxSize the maximum packet size 84 public ClientOperation(int maxSize, ClientSession p, HeaderSet header, boolean type) argument 91 mMaxPacketSize = maxSize;
|
H A D | ObexHelper.java | 688 * @param maxSize the maximum size of a packet 692 public static int findHeaderEnd(byte[] headerArray, int start, int maxSize) { argument 699 while ((fullLength < maxSize) && (index < headerArray.length)) { 745 * header is less then maxSize. If it is, return the length of the 749 if (fullLength < maxSize) {
|
H A D | ServerOperation.java | 99 * @param maxSize the max packet size that the client will accept 103 public ServerOperation(ServerSession p, InputStream in, int request, int maxSize, argument 109 mMaxPacketLength = maxSize;
|
/frameworks/base/core/java/android/net/http/ |
H A D | HttpResponseCache.java | 181 * @param maxSize the maximum size of the cache in bytes. 187 public static HttpResponseCache install(File directory, long maxSize) throws IOException { argument 194 && installedCache.getMaxSize() == maxSize 204 new com.android.okhttp.HttpResponseCache(directory, maxSize); 220 * this cache. This may be greater than the {@link #maxSize} if a background 231 public long maxSize() { method in class:HttpResponseCache
|
/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; 90 * @param maxSize The new maximum size. 94 public void resize(int maxSize) { argument 95 if (maxSize < 195 trimToSize(int maxSize) argument 326 public synchronized final int maxSize() { method in class:LruCache [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BootReceiver.java | 161 String headers, String filename, int maxSize, String tag) throws IOException { 177 db.addText(tag, headers + FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n")); 181 String headers, int maxSize, String tag) throws IOException { 197 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n"); 209 String headers, int maxSize, String tag) throws IOException { 218 String log = FileUtils.readTextFile(file, maxSize, "[[TRUNCATED]]\n"); 228 addFileToDropBox(db, prefs, headers, "/dev/fscklogs/log", maxSize, tag); 159 addFileToDropBox( DropBoxManager db, SharedPreferences prefs, String headers, String filename, int maxSize, String tag) argument 180 addAuditErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, String headers, int maxSize, String tag) argument 208 addFsckErrorsToDropBox(DropBoxManager db, SharedPreferences prefs, String headers, int maxSize, String tag) argument
|
/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 | 81 size_t BranchIsland::maxSize() const function in class:BranchIsland
|
/frameworks/ex/variablespeed/jni/ |
H A D | decode_buffer.cc | 25 DecodeBuffer::DecodeBuffer(size_t sizeOfOneBuffer, size_t maxSize) argument 26 : sizeOfOneBuffer_(sizeOfOneBuffer), maxSize_(maxSize),
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 34 uint32_t width, uint32_t height, size_t maxSize, int format) : 36 width, height, maxSize, format), 44 if (maxSize > 0 && format != HAL_PIXEL_FORMAT_BLOB) { 33 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format) argument
|
H A D | Camera3OutputStream.cpp | 38 /*maxSize*/0, format), 50 uint32_t width, uint32_t height, size_t maxSize, int format) : 51 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize, 72 /*maxSize*/0, 48 Camera3OutputStream(int id, sp<ANativeWindow> consumer, uint32_t width, uint32_t height, size_t maxSize, int format) argument
|
H A D | Camera3Stream.cpp | 47 uint32_t width, uint32_t height, size_t maxSize, int format) : 51 mMaxSize(maxSize), 63 if (format == HAL_PIXEL_FORMAT_BLOB && maxSize == 0) { 45 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format) argument
|
/frameworks/base/libs/hwui/ |
H A D | LayerCache.cpp | 60 void LayerCache::setMaxSize(uint32_t maxSize) { argument 62 mMaxSize = maxSize;
|
H A D | RenderBufferCache.cpp | 70 void RenderBufferCache::setMaxSize(uint32_t maxSize) { argument 72 mMaxSize = maxSize;
|
H A D | TextDropShadowCache.cpp | 139 void TextDropShadowCache::setMaxSize(uint32_t maxSize) { argument 140 mMaxSize = maxSize;
|
H A D | GradientCache.cpp | 107 void GradientCache::setMaxSize(uint32_t maxSize) { argument 108 mMaxSize = maxSize;
|
H A D | TextureCache.cpp | 91 void TextureCache::setMaxSize(uint32_t maxSize) { argument 92 mMaxSize = maxSize;
|
H A D | PathCache.cpp | 195 void PathCache::setMaxSize(uint32_t maxSize) { argument 196 mMaxSize = maxSize;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 96 * @param maxSize The maximum size (either width or height) 100 final int maxSize) { 111 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 99 createLocalBitmap(final ContentResolver resolver, final Uri uri, final int maxSize) argument
|
/frameworks/support/v4/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; 104 trimToSize(maxSize); 134 trimToSize(maxSize); 142 * @param maxSize th 145 trimToSize(int maxSize) argument 272 public synchronized final int maxSize() { method in class:LruCache [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegProcessor.cpp | 325 size_t JpegProcessor::findJpegSize(uint8_t* jpegBuffer, size_t maxSize) { argument 329 uint8_t *header = jpegBuffer + (maxSize - sizeof(struct camera2_jpeg_blob)); 333 if (size > 0 && size <= maxSize - sizeof(struct camera2_jpeg_blob)) { 356 while (size <= maxSize - MARKER_LENGTH) { 363 if (type == EOI || size > maxSize - sizeof(segment_t)) { 375 for ( ; size <= maxSize - MARKER_LENGTH; size++) { 387 if (size > maxSize) { 388 ALOGW("JPEG size %d too large, reducing to maxSize %d", size, maxSize); 389 size = maxSize; [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 228 private int makeChildMeasureSpec(int maxSize, int childDimen) { argument 234 size = maxSize; 238 size = maxSize; 242 size = Math.min(maxSize, childDimen);
|
/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/base/core/java/android/widget/ |
H A D | ImageView.java | 878 private int resolveAdjustedSize(int desiredSize, int maxSize, argument 888 result = Math.min(desiredSize, maxSize); 894 result = Math.min(Math.min(desiredSize, specSize), maxSize);
|