/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | ObjectCache.java | 45 public ObjectCache(Callback<T> callbacks, int maxSize) { argument 47 mMaxSize = maxSize;
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
H A D | LruPool.java | 114 * @param maxSize Sets the size of the Lru Pool. 116 public LruPool(int maxSize) { argument 117 this(maxSize, new Configuration<TKey, TValue>()); 120 public LruPool(int maxSize, Configuration<TKey, TValue> configuration) { argument 121 Preconditions.checkArgument(maxSize > 0, "maxSize must be > 0."); 123 mMaxSize = maxSize;
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | ExpirableCache.java | 263 public static <K, V> ExpirableCache<K, V> create(int maxSize) { argument 264 return create(new LruCache<K, CachedValue<V>>(maxSize));
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
H A D | SendRequest.java | 95 * @param maxSize maximum number of bytes to read 99 final int maxSize) { 110 // Request one extra byte to make sure file not bigger than maxSize 111 final byte[] readBuf = new byte[maxSize+1]; 112 final int bytesRead = inStream.read(readBuf, 0, maxSize+1); 117 if (bytesRead > maxSize) { 98 readPduFromContentUri(final Context context, final Uri contentUri, final int maxSize) argument
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | MediaCache.java | 46 public MediaCache(final int maxSize, final int id, final String name) { argument 47 super(maxSize);
|
H A D | PoolableImageCache.java | 47 public PoolableImageCache(final int maxSize, final int id, final String name) { argument 48 super(maxSize, id, name);
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A D | LevelTrackingMediaRecorder.java | 92 final MediaRecorder.OnInfoListener infoListener, int maxSize) { 104 maxSize *= MAX_SIZE_RATIO; 111 mRecorder.setMaxFileSize(maxSize); 91 startRecording(final MediaRecorder.OnErrorListener errorListener, final MediaRecorder.OnInfoListener infoListener, int maxSize) argument
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | GlideFilmstripManager.java | 187 * to fit within the maxSize bounding box and to be less than the provided area. 191 private static Size clampSize(Size original, double maxArea, Size maxSize) { argument 193 original.getWidth() < maxSize.getWidth() && 194 original.getHeight() < maxSize.getHeight()) { 208 if (width > maxSize.width() || height > maxSize.height()) { 209 return computeFitWithinSize(original, maxSize); 215 private static Size computeFitWithinSize(Size original, Size maxSize) { argument 216 double widthRatio = (double) maxSize.width() / original.width(); 217 double heightRatio = (double) maxSize [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
H A D | dic_node_priority_queue.h | 48 AK_FORCE_INLINE void setMaxSize(const int maxSize) { argument 49 mMaxSize = maxSize; 56 AK_FORCE_INLINE void clearAndResize(const int maxSize) { argument 57 mMaxSize = maxSize;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | BitmapPool.java | 81 * @param maxSize The overall max size of the pool. When the pool exceeds this size, all calls 85 BitmapPool(final int maxSize, @NonNull final String name) { argument 86 Assert.isTrue(maxSize > 0); 89 mMaxSize = maxSize;
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | AsyncImageView.java | 357 private static int resolveSize(int desiredSize, int maxSize, int measureSpec) { argument 362 return Math.min(desiredSize, maxSize); 365 return Math.min(Math.min(desiredSize, specSize), maxSize);
|
/packages/services/Mms/src/com/android/mms/service/ |
H A D | MmsRequest.java | 58 * Read pdu (up to maxSize bytes) from supplied content uri 60 * @param maxSize maximum number of bytes to read 63 public byte[] readPduFromContentUri(final Uri contentUri, final int maxSize); argument
|
H A D | MmsService.java | 783 * @param maxSize maximum number of bytes to read 786 public byte[] readPduFromContentUri(final Uri contentUri, final int maxSize) { argument 797 // Request one extra byte to make sure file not bigger than maxSize 798 byte[] tempBody = new byte[maxSize+1]; 799 int bytesRead = inStream.read(tempBody, 0, maxSize+1); 804 if (bytesRead <= maxSize) {
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | CalculatorResult.java | 446 * @param maxSize Maximum number of characters (more or less) in result. 450 * of treating maxSize as a soft limit. 452 private String getFormattedResult(int precOffset, int maxSize, int lastDisplayedOffset[], argument 458 maxSize, truncated, negative); 459 return formatResult(rawResult, requestedPrecOffset[0], maxSize, truncated[0], negative[0],
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DeviceProfile.java | 101 Point minSize, Point maxSize, 151 availableWidthPx = maxSize.x; 155 availableHeightPx = maxSize.y; 100 DeviceProfile(Context context, InvariantDeviceProfile inv, Point minSize, Point maxSize, int width, int height, boolean isLandscape) argument
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | ContentCache.java | 122 /*package*/ CounterMap(int maxSize) { argument 123 mMap = new HashMap<T, Integer>(maxSize); 409 * @param maxSize the maximum number of content cursors to cache 411 public ContentCache(String name, String[] baseProjection, int maxSize) { argument 413 mLruCache = new LruCache<String, Cursor>(maxSize) {
|
/packages/apps/Nfc/nci/jni/ |
H A D | NativeNfcTag.cpp | 1120 ** maxSize: Maximum size of NDEF message. 1127 void nativeNfcTag_doCheckNdefResult (tNFA_STATUS status, uint32_t maxSize, uint32_t currentSize, uint8_t flags) argument 1162 sCheckNdefMaxSize = maxSize;
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
H A D | phFriNfc_MifareStdMap.c | 5394 uint32_t *maxSize, uint32_t *actualSize) 5443 *maxSize = (valid_no_of_bytes > 0xFF) ? (valid_no_of_bytes - 4) : (valid_no_of_bytes - 2); 5393 phFrinfc_MifareClassic_GetContainerSize(const phFriNfc_NdefMap_t *NdefMap, uint32_t *maxSize, uint32_t *actualSize) argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | ScrollAdapterView.java | 1253 int maxSize = 0; 1261 maxSize = Math.max(maxSize, mOrientation == HORIZONTAL ? child.getMeasuredWidth() : 1269 left = left - maxSize; 1271 top = top - maxSize; 1277 h.mMaxSize = maxSize; 1281 child.layout(left + maxSize / 2 - child.getMeasuredWidth() / 2, top, 1282 left + maxSize / 2 + child.getMeasuredWidth() / 2, 1290 child.layout(left + maxSize - child.getMeasuredWidth(), top, left + maxSize, 2554 hasScrollPosition(int scrollCenter, int maxSize, int scrollPosInMain) argument [all...] |
/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |