/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 68 private final int mMaxSize; field in IconNormalizer 90 mMaxSize = iconBitmapSize * 2; in IconNormalizer() 91 mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8); in IconNormalizer() 93 mPixels = new byte[mMaxSize * mMaxSize]; in IconNormalizer() 94 mLeftBorder = new float[mMaxSize]; in IconNormalizer() 95 mRightBorder = new float[mMaxSize]; in IconNormalizer() 205 int index = y * mMaxSize; in isTransparentBitmap() 207 int rowSizeDiff = mMaxSize - mBounds.right; in isTransparentBitmap() 243 mAdaptiveIconScale = normalizeAdaptiveIcon(d, mMaxSize, mAdaptiveIconBounds); in getScale() 253 width = width <= 0 || width > mMaxSize ? mMaxSize : width; in getScale() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_node_priority_queue.h | 33 : mMaxSize(capacity), mDicNodesQueue(), mDicNodePool(capacity) { in DicNodePriorityQueue() 45 return mMaxSize; in getMaxSize() 49 mMaxSize = maxSize; in setMaxSize() 53 clearAndResize(mMaxSize); in clear() 57 mMaxSize = maxSize; in clearAndResize() 61 mDicNodePool.reset(mMaxSize + 1); in clearAndResize() 69 if (getSize() < mMaxSize) { in copyPush() 114 int mMaxSize; variable
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TaskKeyByLastActiveTimeCache.java | 41 private final AtomicInteger mMaxSize; field in TaskKeyByLastActiveTimeCache 49 mMaxSize = new AtomicInteger(maxSize); in TaskKeyByLastActiveTimeCache() 121 removeExcessIfNeeded(mMaxSize.get() - 1); in put() 146 mMaxSize.compareAndSet(mMaxSize.get(), cacheSize); in updateCacheSizeAndRemoveExcess() 147 removeExcessIfNeeded(mMaxSize.get()); in updateCacheSizeAndRemoveExcess() 162 return mMaxSize.get(); in getMaxSize()
|
D | TaskKeyLruCache.java | 97 return mMap.mMaxSize; in getMaxSize() 107 private final int mMaxSize; field in TaskKeyLruCache.MyLinkedHashMap 111 mMaxSize = maxSize; in MyLinkedHashMap() 116 return size() > mMaxSize; in removeEldestEntry()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | SimpleIconFactory.java | 171 mMaxSize = iconBitmapSize * 2; in SimpleIconFactory() 172 mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8); in SimpleIconFactory() 174 mPixels = new byte[mMaxSize * mMaxSize]; in SimpleIconFactory() 175 mLeftBorder = new float[mMaxSize]; in SimpleIconFactory() 176 mRightBorder = new float[mMaxSize]; in SimpleIconFactory() 466 private final int mMaxSize; field in SimpleIconFactory 499 width = width <= 0 || width > mMaxSize ? mMaxSize : width; in getScale() 500 height = height <= 0 || height > mMaxSize ? mMaxSize : height; in getScale() 501 } else if (width > mMaxSize || height > mMaxSize) { in getScale() 503 width = mMaxSize * width / max; in getScale() [all …]
|
/packages/services/Car/service/src/com/android/car/util/ |
D | SlidingWindow.java | 32 private final int mMaxSize; field in SlidingWindow 36 mMaxSize = size; in SlidingWindow() 37 mElements = new ArrayDeque<>(mMaxSize); in SlidingWindow() 42 if (mElements.size() == mMaxSize) { in add()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormat.java | 101 private final int mMaxSize; field in BipImageFormat 115 mMaxSize = maxSize; in BipImageFormat() 130 mMaxSize = parseInt(maxSize); in BipImageFormat() 164 return mMaxSize; in getMaxSize() 215 if (mMaxSize > -1) { in toString() 216 sb.append(" maxsize=\"" + mMaxSize + "\""); in toString()
|
D | BipImageDescriptor.java | 134 mImageDescriptor.mMaxSize = size; in setMaxFileSize() 168 private int mMaxSize = -1; field in BipImageDescriptor 189 mMaxSize = parseInt(xpp.getAttributeValue(null, "maxsize")); in parse() 238 return mMaxSize; in getMaxSize() 291 if (mMaxSize != -1) { in toString() 292 xmlMsgElement.attribute(null, "maxsize", Integer.toString(mMaxSize)); in toString()
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
D | LruPool.java | 101 private final int mMaxSize; field in LruPool 123 mMaxSize = maxSize; in LruPool() 188 unsafeTrimToSize(mMaxSize); in add() 222 return mMaxSize; in getMaxSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ViewCache.java | 64 if (entry != null && entry.mCurrentSize < entry.mMaxSize) { in recycleView() 72 final int mMaxSize; field in ViewCache.CacheEntry 78 mMaxSize = maxSize; in CacheEntry()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
D | DynamicRingBuffer.java | 66 private final AtomicInteger mMaxSize; field in DynamicRingBuffer 80 mMaxSize = new AtomicInteger(Integer.MAX_VALUE); in DynamicRingBuffer() 193 mMaxSize.set(newMaxSize); in setMaxSize() 207 while (mQueueSize.get() > mMaxSize.get()) { in shrinkToFitMaxSize()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 856 private int mMaxSize = MAX_PULL_PAYLOAD_SIZE; field in StatsEvent.Buffer 881 if (mMaxSize <= MAX_PUSH_PAYLOAD_SIZE) { in release() 892 mMaxSize = MAX_PULL_PAYLOAD_SIZE; in reset() 896 mMaxSize = maxSize; in setMaxSize() 916 if (totalBytesNeeded > mMaxSize) { in hasEnoughSpace() 922 if (mBytes.length < mMaxSize && totalBytesNeeded > mBytes.length) { in hasEnoughSpace() 928 if (newSize > mMaxSize) { in hasEnoughSpace() 929 newSize = mMaxSize; in hasEnoughSpace()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanDetailCache.java | 40 private final int mMaxSize; field in ScanDetailCache 57 mMaxSize = maxSize; in ScanDetailCache() 64 if (mMap.size() >= mMaxSize) { in put()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BitmapPool.java | 61 private final int mMaxSize; field in BitmapPool 89 mMaxSize = maxSize; in BitmapPool() 338 singleSizePool = new SingleSizePool(mMaxSize); in reclaimBitmap()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 275 int mMaxSize; // max size in mainAxis of the same offaxis field in ScrollAdapterView.ChildViewHolder 1277 h.mMaxSize = maxSize; 2094 return ((ChildViewHolder) v.getTag(R.id.ScrollAdapterViewChild)).mMaxSize; 2382 h.mMaxSize = maxSize; 2633 return scrollCenter - holder.mMaxSize / 2; 2637 return scrollCenter - holder.mMaxSize; 2646 return scrollCenter + holder.mMaxSize / 2; 2648 return scrollCenter + holder.mMaxSize;
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 9751 private final int mMaxSize; 9754 this.mMaxSize = maxSize; 9759 return size() > mMaxSize;
|