Home
last modified time | relevance | path

Searched refs:li (Results 1 – 25 of 46) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleDragAndDropAdapter.java246 for (LocaleStore.LocaleInfo li : mFeedItemList) { in getCheckedCount()
247 if (li.getChecked()) { in getCheckedCount()
254 void addLocale(LocaleStore.LocaleInfo li) { in addLocale() argument
255 mFeedItemList.add(li); in addLocale()
265 final LocaleStore.LocaleInfo li = mFeedItemList.get(i); in doTheUpdate() local
266 newList[i] = li.getLocale(); in doTheUpdate()
318 for (LocaleStore.LocaleInfo li : mFeedItemList) { in saveState()
319 if (li.getChecked()) { in saveState()
320 selectedLocales.add(li.getId()); in saveState()
339 for (LocaleStore.LocaleInfo li : mFeedItemList) { in restoreState()
[all …]
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java246 for (LocaleStore.LocaleInfo li : mFeedItemList) { in getCheckedCount()
247 if (li.getChecked()) { in getCheckedCount()
254 void addLocale(LocaleStore.LocaleInfo li) { in addLocale() argument
255 mFeedItemList.add(li); in addLocale()
265 final LocaleStore.LocaleInfo li = mFeedItemList.get(i); in doTheUpdate() local
266 newList[i] = li.getLocale(); in doTheUpdate()
318 for (LocaleStore.LocaleInfo li : mFeedItemList) { in saveState()
319 if (li.getChecked()) { in saveState()
320 selectedLocales.add(li.getId()); in saveState()
339 for (LocaleStore.LocaleInfo li : mFeedItemList) { in restoreState()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java393 shutdownWrites.forEach(li -> in computeShutdownCost()
394 shutdownLifetimeWrites.put(li.partition, li.writtenBytes)); in computeShutdownCost()
398 LifetimeWriteInfo li = currentWrites.get(i); in computeShutdownCost() local
402 shutdownLifetimeWrites.getOrDefault(li.partition, li.writtenBytes); in computeShutdownCost()
403 final long costDelta = li.writtenBytes - writtenAtShutdown; in computeShutdownCost()
405 Log.d(TAG, "partition " + li.partition + " had " + costDelta + in computeShutdownCost()
413 mShutdownCostMissingReason = li.partition + " has a negative write amount (" + in computeShutdownCost()
415 Log.e(TAG, "partition " + li.partition + " reported " + costDelta + in computeShutdownCost()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherActivityCachingLogic.java60 LauncherIcons li = LauncherIcons.obtain(context); in loadIcon() local
61 li.createBadgedIconBitmap( in loadIcon()
63 .getIcon(object, li.mFillResIconDpi, true /* flattenDrawable */), in loadIcon()
65 li.recycle(); in loadIcon()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java187 try (BaseIconFactory li = getIconFactory()) { in makeDefaultIcon() argument
188 return li.makeDefaultIcon(user); in makeDefaultIcon()
392 BaseIconFactory li = getIconFactory(); in cachePackageInstallInfo() local
393 li.createIconBitmap(icon).applyTo(entry); in cachePackageInstallInfo()
394 li.close(); in cachePackageInstallInfo()
431 BaseIconFactory li = getIconFactory(); in getEntryForPackageLocked() local
434 BitmapInfo iconInfo = li.createBadgedIconBitmap( in getEntryForPackageLocked()
437 li.close(); in getEntryForPackageLocked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java208 ListItem li = (ListItem) o; in equals() local
209 if (mScanResult == null && li.mScanResult == null) { in equals()
210 return TextUtils.equals(mName, li.mName); in equals()
212 return (mScanResult != null && li.mScanResult != null in equals()
213 && TextUtils.equals(mName, li.mName) in equals()
215 == WifiSecurityUtil.getSecurity(li.mScanResult)); in equals()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DShortcutsChangedTask.java95 LauncherIcons li = LauncherIcons.obtain(context); in execute() local
96 workspaceItemInfo.applyFrom(li.createShortcutIcon(fullDetails, true, in execute()
98 li.recycle(); in execute()
DUserLockStateChangedTask.java94 LauncherIcons li = LauncherIcons.obtain(context); in execute() local
95 si.applyFrom(li.createShortcutIcon(shortcut, true, () -> si)); in execute()
96 li.recycle(); in execute()
DLoaderCursor.java168 try (LauncherIcons li = LauncherIcons.obtain(mContext)) { in loadIcon() argument
169 return loadIcon(info, li); in loadIcon()
176 protected boolean loadIcon(WorkspaceItemInfo info, LauncherIcons li) { in loadIcon() argument
184 BitmapInfo iconInfo = li.createIconBitmap(info.iconResource); in loadIcon()
195 … info.applyFrom(li.createIconBitmap(BitmapFactory.decodeByteArray(data, 0, data.length))); in loadIcon()
DPackageUpdatedTask.java190 LauncherIcons li = LauncherIcons.obtain(context); in execute() local
191 BitmapInfo iconInfo = li.createIconBitmap(si.iconResource); in execute()
192 li.recycle(); in execute()
DLoaderTask.java494 LauncherIcons li = LauncherIcons.obtain(context); in loadWorkspace() local
498 c.loadIcon(finalInfo, li) ? finalInfo : null; in loadWorkspace()
499 info.applyFrom(li.createShortcutIcon(pinnedShortcut, in loadWorkspace()
501 li.recycle(); in loadWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java493 LauncherIcons li = LauncherIcons.obtain(mContext); in getItemInfo() local
494 itemInfo.applyFrom(li.createShortcutIcon(shortcutInfo)); in getItemInfo()
495 li.recycle(); in getItemInfo()
650 LauncherIcons li = LauncherIcons.obtain(app.getContext()); in createWorkspaceItemInfo() local
652 iconInfo = li.createIconBitmap((Bitmap) bitmap); in createWorkspaceItemInfo()
657 iconInfo = li.createIconBitmap(info.iconResource); in createWorkspaceItemInfo()
660 li.recycle(); in createWorkspaceItemInfo()
DLauncherModel.java506 LauncherIcons li = LauncherIcons.obtain(mApp.getContext()); in updateAndBindWorkspaceItem() local
507 si.applyFrom(li.createShortcutIcon(info)); in updateAndBindWorkspaceItem()
508 li.recycle(); in updateAndBindWorkspaceItem()
DUtilities.java584 LauncherIcons li = LauncherIcons.obtain(appState.getContext()); in getBadge() local
585 Bitmap badge = li.getShortcutInfoBadge(si, appState.getIconCache()).iconBitmap; in getBadge()
586 li.recycle(); in getBadge()
DAutoInstallsLayout.java447 LauncherIcons li = LauncherIcons.obtain(mContext); in parseAndAdd() local
449 li.createBadgedIconBitmap(icon, Process.myUserHandle(), VERSION.SDK_INT).icon)); in parseAndAdd()
450 li.recycle(); in parseAndAdd()
DWidgetPreviewLoader.java476 LauncherIcons li = LauncherIcons.obtain(mContext); in generateShortcutPreview() local
477 Bitmap icon = li.createBadgedIconBitmap( in generateShortcutPreview()
480 li.recycle(); in generateShortcutPreview()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVO.java141 LauncherIcons li = LauncherIcons.obtain(context); in createWorkspaceItemFromPinItemRequest() local
142 info.applyFrom(li.createShortcutIcon(si, false /* badged */)); in createWorkspaceItemFromPinItemRequest()
143 li.recycle(); in createWorkspaceItemFromPinItemRequest()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupPopulator.java152 LauncherIcons li = LauncherIcons.obtain(launcher); in createUpdateRunnable()
153 si.applyFrom(li.createShortcutIcon(shortcut, false /* badged */)); in createUpdateRunnable()
154 li.recycle(); in createUpdateRunnable()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java116 LauncherIcons li = LauncherIcons.obtain(launcher); in startDrag() local
117 preview = li.createScaledBitmapWithoutShadow(icon, 0); in startDrag()
118 li.recycle(); in startDrag()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java689 li -> li.equals(expected_ext4_part1))); in testLifetimeWriteInfo()
691 li -> li.equals(expected_ext4_part2))); in testLifetimeWriteInfo()
693 li -> li.equals(expected_f2fs_part1))); in testLifetimeWriteInfo()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java172 try (LauncherIcons li = LauncherIcons.obtain(mContext)) { in loadShortcutWorker() argument
173 si.applyFrom(li.createShortcutIcon(details.get(0), true /* badged */, null)); in loadShortcutWorker()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java237 try (LauncherIcons li = LauncherIcons.obtain(mLauncher)) { in setItemInfo()
246 li.getNormalizer().getScale(nDr, null, null, null)); in setItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java627 try (LauncherIcons li = LauncherIcons.obtain(l)) { in getOffsetForIconBounds() argument
628 Utilities.scaleRectAboutCenter(bounds, li.getNormalizer().getScale(drawable, null, in getOffsetForIconBounds()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/
Ddoxygenextra.css58 div.toc li {
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...

12