/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | BitmapPoolTest.java | 48 private Set<Bitmap> fillPoolAndGetPoolContents(final BitmapPool pool, final int width, in fillPoolAndGetPoolContents() argument 52 final Bitmap temp = pool.createOrReuseBitmap(width, height); in fillPoolAndGetPoolContents() 57 pool.reclaimBitmap(b); in fillPoolAndGetPoolContents() 59 assertTrue(pool.isFull(width, height)); in fillPoolAndGetPoolContents() 64 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); in testCreateAndPutBackInPoolTest() local 65 final Bitmap bitmap = pool.createOrReuseBitmap(IMAGE_DIM, IMAGE_DIM); in testCreateAndPutBackInPoolTest() 67 assertFalse(pool.isFull(IMAGE_DIM, IMAGE_DIM)); in testCreateAndPutBackInPoolTest() 68 pool.reclaimBitmap(bitmap); in testCreateAndPutBackInPoolTest() 75 final BitmapPool pool = new BitmapPool(POOL_SIZE, NAME); in testCreateBeyondFullAndCheckReuseTest() local 77 fillPoolAndGetPoolContents(pool, IMAGE_DIM, IMAGE_DIM); in testCreateBeyondFullAndCheckReuseTest() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
D | LruPool.java | 176 final Queue<TValue> pool; in add() local 180 pool = new LinkedList<>(); in add() 181 mValuePool.put(key, pool); in add() 183 pool = mValuePool.get(key); in add() 185 pool.add(value); in add() 233 Queue<TValue> pool = mValuePool.get(key); in unsafeTrimToSize() local 234 TValue value = pool.remove(); in unsafeTrimToSize() 236 if (pool.size() <= 0) { in unsafeTrimToSize()
|
D | SimpleLruResourcePool.java | 94 public SynchronizedResource(SimpleLruResourcePool<TKey, TValue> pool, in SynchronizedResource() argument 96 mPool = pool; in SynchronizedResource()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 117 final ControllerRendererPool pool = mManager.getControllerRendererPool(); in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers() local 119 final List<Integer> actual = pool.getControllers().stream() in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers() 322 final ControllerRendererPool pool = spy(mManager.mControllerRendererPool); in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard() local 323 doReturn(pool).when(manager).getControllerRendererPool(); in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard() 325 pool.getController(mContext, in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard() 328 … doReturn(controller).when(pool).getController(mContext, ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard() 340 final ControllerRendererPool pool = spy(mManager.mControllerRendererPool); in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard() local 341 doReturn(pool).when(manager).getControllerRendererPool(); in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard() 343 pool.getController(mContext, in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard() 346 … doReturn(controller).when(pool).getController(mContext, ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | GalleryBitmapPool.java | 128 SparseArrayBitmapPool pool = getPoolForDimensions(width, height); in get() local 129 if (pool == null) { in get() 132 return pool.get(width, height); in get() 144 SparseArrayBitmapPool pool = getPoolForDimensions(b.getWidth(), b.getHeight()); in put() local 145 if (pool == null) { in put() 149 return pool.put(b); in put()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsRecyclerView.java | 98 RecyclerView.RecycledViewPool pool = getRecycledViewPool(); in updatePoolSize() local 100 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH, 1); in updatePoolSize() 101 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ALL_APPS_DIVIDER, 1); in updatePoolSize() 102 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET, 1); in updatePoolSize() 103 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ICON, approxRows * mNumAppsPerRow); in updatePoolSize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | JobLimiter.java | 131 public JobLimiter(ThreadPool pool, int limit) { in JobLimiter() argument 132 mPool = Utils.checkNotNull(pool); in JobLimiter()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPreviewBitmapTransformation.java | 53 protected Bitmap transform(@NonNull BitmapPool pool, @NonNull Bitmap toTransform, in transform() argument
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | nl_wordlist.combined.gz | 1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ... |
D | nb_wordlist.combined.gz | 1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ... |
D | pt_BR_wordlist.combined.gz | 1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ... |
D | it_wordlist.combined.gz | 1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ... |
D | da_wordlist.combined.gz | 1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ... |
D | pl_wordlist.combined.gz |
|
D | de_wordlist.combined.gz | 1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ... |
D | sv_wordlist.combined.gz | 1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ... |
D | ro_wordlist.combined.gz | 1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ... |