/packages/apps/Launcher3/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/services/Car/service/src/com/android/car/ |
D | SlidingWindow.java | 30 private final int mMaxSize; field in SlidingWindow 33 mMaxSize = size; in SlidingWindow() 34 mElements = new ArrayDeque<>(mMaxSize); in SlidingWindow() 38 if (mElements.size() == mMaxSize) { in add()
|
/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/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/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | ObjectCache.java | 38 private final int mMaxSize; field in ObjectCache 47 mMaxSize = maxSize; in ObjectCache() 70 if (mDataStore.size() < mMaxSize) { in release()
|
/packages/apps/Car/Radio/src/com/android/car/radio/platform/ |
D | ImageMemoryCache.java | 50 private final int mMaxSize; field in ImageMemoryCache.CacheMap 54 mMaxSize = maxSize; in CacheMap() 59 return size() > mMaxSize; in removeEldestEntry()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ViewCache.java | 54 if (entry != null && entry.mCurrentSize < entry.mMaxSize) { in recycleView() 62 final int mMaxSize; field in ViewCache.CacheEntry 68 mMaxSize = maxSize; in CacheEntry()
|
/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;
|