/packages/apps/Car/Radio/src/com/android/car/radio/platform/ |
H A D | ImageMemoryCache.java | 51 public CacheMap(int maxSize) { argument 52 if (maxSize < 0) throw new IllegalArgumentException("maxSize must not be negative"); 53 mMaxSize = maxSize;
|
/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/java/com/android/dialer/util/ |
H A D | ExpirableCache.java | 132 public static <K, V> ExpirableCache<K, V> create(int maxSize) { argument 133 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/Dialer/java/com/android/incallui/autoresizetext/ |
H A D | AutoResizeTextView.java | 252 * @param maxSize the maximum text size to allow, in units of {@link #resizeStepUnit} 254 private float computeTextSize(int minSize, int maxSize, RectF availableSpace) { argument 259 int size = binarySearchSizes(minSize, maxSize, availableSpace); 268 * @param maxSize the maximum text size to allow, in units of {@link #resizeStepUnit} 270 private int binarySearchSizes(int minSize, int maxSize, RectF availableSpace) { argument 273 int high = 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/Launcher3/src/com/android/launcher3/ |
H A D | DeviceProfile.java | 129 Point minSize, Point maxSize, 192 availableWidthPx = maxSize.x; 196 availableHeightPx = maxSize.y; 128 DeviceProfile(Context context, InvariantDeviceProfile inv, Point minSize, Point maxSize, int width, int height, boolean isLandscape, boolean isMultiWindowMode) argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
H A D | AvrcpHelperClasses.java | 405 EvictingQueue(int maxSize) { argument 407 mMaxSize = maxSize; 410 EvictingQueue(int maxSize, int initialElements) { argument 412 mMaxSize = maxSize; 415 EvictingQueue(int maxSize, Collection<? extends E> c) { argument 417 mMaxSize = maxSize;
|
/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/ExactCalculator/src/com/android/calculator2/ |
H A D | CalculatorResult.java | 808 * @param maxSize maximum number of characters (more or less) in result 812 * of treating maxSize as a soft limit. 813 * @param forceSciNotation Force scientific notation, even if not required by maxSize. 816 private String getFormattedResult(int precOffset, int maxSize, int lastDisplayedOffset[], argument 822 maxSize, truncated, negative, this); 823 return formatResult(rawResult, requestedPrecOffset[0], maxSize, truncated[0], negative[0],
|
/packages/apps/Nfc/nci/jni/ |
H A D | NativeNfcTag.cpp | 1057 ** maxSize: Maximum size of NDEF message. 1064 void nativeNfcTag_doCheckNdefResult(tNFA_STATUS status, uint32_t maxSize, argument 1104 sCheckNdefMaxSize = maxSize;
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
H A D | phFriNfc_MifareStdMap.cpp | 4703 uint32_t* maxSize, 4749 *maxSize = (valid_no_of_bytes > 0xFF) ? (valid_no_of_bytes - 4) 4702 phFrinfc_MifareClassic_GetContainerSize(const phFriNfc_NdefMap_t* NdefMap, uint32_t* maxSize, uint32_t* actualSize) argument
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
H A D | genPCLm.cpp | 232 char *maxSize = currBuffPtr + strSize; local 233 assert(maxSize - outBuffPtr < outBuffSize); 241 char *maxSize = currBuffPtr + buffSize; local 242 if (maxSize - outBuffPtr > outBuffSize) {
|
/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/ ... |