Home
last modified time | relevance | path

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

12

/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/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/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/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java184 try (BaseIconFactory li = getIconFactory()) { in makeDefaultIcon() argument
185 return li.makeDefaultIcon(user); in makeDefaultIcon()
393 BaseIconFactory li = getIconFactory(); in cachePackageInstallInfo() local
394 li.createIconBitmap(icon).applyTo(entry); in cachePackageInstallInfo()
395 li.close(); in cachePackageInstallInfo()
432 BaseIconFactory li = getIconFactory(); in getEntryForPackageLocked() local
435 BitmapInfo iconInfo = li.createBadgedIconBitmap( in getEntryForPackageLocked()
438 li.close(); in getEntryForPackageLocked()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherActivtiyCachingLogic.java51 LauncherIcons li = LauncherIcons.obtain(context); in loadIcon() local
52 li.createBadgedIconBitmap(mCache.getFullResIcon(object), in loadIcon()
54 li.recycle(); in loadIcon()
/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.java96 LauncherIcons li = LauncherIcons.obtain(context); in execute() local
97 workspaceItemInfo.applyFrom(li.createShortcutIcon(fullDetails, true, in execute()
99 li.recycle(); in execute()
DUserLockStateChangedTask.java96 LauncherIcons li = LauncherIcons.obtain(context); in execute() local
97 si.applyFrom(li.createShortcutIcon(shortcut, true, () -> si)); in execute()
98 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.java193 LauncherIcons li = LauncherIcons.obtain(context); in execute() local
194 BitmapInfo iconInfo = li.createIconBitmap(si.iconResource); in execute()
195 li.recycle(); in execute()
DLoaderTask.java486 LauncherIcons li = LauncherIcons.obtain(context); in loadWorkspace() local
490 c.loadIcon(finalInfo, li) ? finalInfo : null; in loadWorkspace()
491 info.applyFrom(li.createShortcutIcon(pinnedShortcut, in loadWorkspace()
493 li.recycle(); in loadWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java499 LauncherIcons li = LauncherIcons.obtain(mContext); in getItemInfo() local
500 si.applyFrom(li.createShortcutIcon(shortcutInfo)); in getItemInfo()
501 li.recycle(); in getItemInfo()
646 LauncherIcons li = LauncherIcons.obtain(app.getContext()); in createWorkspaceItemInfo() local
648 iconInfo = li.createIconBitmap((Bitmap) bitmap); in createWorkspaceItemInfo()
653 iconInfo = li.createIconBitmap(info.iconResource); in createWorkspaceItemInfo()
656 li.recycle(); in createWorkspaceItemInfo()
DLauncherModel.java535 LauncherIcons li = LauncherIcons.obtain(mApp.getContext()); in updateAndBindWorkspaceItem() local
536 si.applyFrom(li.createShortcutIcon(info)); in updateAndBindWorkspaceItem()
537 li.recycle(); in updateAndBindWorkspaceItem()
DWidgetPreviewLoader.java479 LauncherIcons li = LauncherIcons.obtain(mContext); in generateShortcutPreview() local
480 Bitmap icon = li.createBadgedIconBitmap( in generateShortcutPreview()
483 li.recycle(); in generateShortcutPreview()
DAutoInstallsLayout.java438 LauncherIcons li = LauncherIcons.obtain(mContext); in parseAndAdd() local
440 li.createBadgedIconBitmap(icon, Process.myUserHandle(), VERSION.SDK_INT).icon)); in parseAndAdd()
441 li.recycle(); in parseAndAdd()
DUtilities.java721 LauncherIcons li = LauncherIcons.obtain(appState.getContext()); in getBadge() local
722 Bitmap badge = li.getShortcutInfoBadge(si, appState.getIconCache()).iconBitmap; in getBadge()
723 li.recycle(); in getBadge()
/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/Email/src/com/android/email/activity/
DInsertQuickResponseDialog.java108 final LayoutInflater li = LayoutInflater.from(builder.getContext()); in onCreateDialog() local
109 final View quickResponsesView = li.inflate(R.layout.quick_responses, null); in onCreateDialog()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java171 try (LauncherIcons li = LauncherIcons.obtain(mContext)) { in loadShortcutWorker() argument
172 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.java616 try (LauncherIcons li = LauncherIcons.obtain(l)) { in getOffsetForIconBounds() argument
617 Utilities.scaleRectAboutCenter(bounds, li.getNormalizer().getScale(drawable, null, in getOffsetForIconBounds()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/
Ddoxygenextra.css58 div.toc li {

12