Home
last modified time | relevance | path

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

12

/frameworks/base/tools/layoutlib/bridge/src/android/view/
DShadowPainter.java360 private static Image loadIcon(String name) { in loadIcon() method in ShadowPainter
399 private static final Image ShadowBottom = loadIcon("/icons/shadow-b.png");
400 private static final Image ShadowBottomLeft = loadIcon("/icons/shadow-bl.png");
401 private static final Image ShadowBottomRight = loadIcon("/icons/shadow-br.png");
402 private static final Image ShadowRight = loadIcon("/icons/shadow-r.png");
403 private static final Image ShadowTopRight = loadIcon("/icons/shadow-tr.png");
404 private static final Image ShadowTopLeft = loadIcon("/icons/shadow-tl.png");
405 private static final Image ShadowLeft = loadIcon("/icons/shadow-l.png");
408 private static final Image Shadow2Bottom = loadIcon("/icons/shadow2-b.png");
409 private static final Image Shadow2BottomLeft = loadIcon("/icons/shadow2-bl.png");
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DNavigationBar.java49 loadIcon(back, "ic_sysbar_back.png", density, isRtl); in NavigationBar()
51 loadIcon(2, "ic_sysbar_home.png", density, isRtl); in NavigationBar()
53 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl); in NavigationBar()
DStatusBar.java60 loadIcon(1, "stat_sys_wifi_signal_4_fully." in StatusBar()
62 loadIcon(2, "stat_sys_battery_100.png", density); in StatusBar()
68 protected void loadIcon(int index, String iconName, Density density) { in loadIcon() method in StatusBar
70 super.loadIcon(index, iconName, density); in loadIcon()
DCustomBar.java93 protected void loadIcon(int index, String iconName, Density density) { in loadIcon() method in CustomBar
94 loadIcon(index, iconName, density, false); in loadIcon()
97 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon() method in CustomBar
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java108 return mActivityInfo.loadIcon(mPm); in getIcon()
169 originalIcon = mActivityInfo.loadIcon(mPm); in getBadgedIcon()
DResolveInfo.java201 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in ResolveInfo
217 return ci.loadIcon(pm); in loadIcon()
DLabeledIntent.java152 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in LabeledIntent
DComponentInfo.java184 return applicationInfo.loadIcon(pm); in loadDefaultIcon()
DPackageItemInfo.java154 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in PackageItemInfo
/frameworks/base/services/core/java/com/android/server/am/
DLaunchWarningWindow.java46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); in LaunchWarningWindow()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandParamsFactory.java340 mIconLoader.loadIcon(iconId.recordNumber, this in processDisplayText()
382 mIconLoader.loadIcon(iconId.recordNumber, this in processSetUpIdleModeText()
439 mIconLoader.loadIcon(iconId.recordNumber, this in processGetInkey()
506 mIconLoader.loadIcon(iconId.recordNumber, this in processGetInput()
618 mIconLoader.loadIcon(titleIconId.recordNumber, this in processSelectItem()
669 mIconLoader.loadIcon(iconId.recordNumber, this in processEventNotify()
792 mIconLoader.loadIcon(iconId.recordNumber, this in processLaunchBrowser()
858 mIconLoader.loadIcon(iconId.recordNumber, this in processPlayTone()
980 mIconLoader.loadIcon(iconId.recordNumber, obtainMessage(MSG_ID_LOAD_ICON_DONE)); in processBIPClient()
/frameworks/base/core/java/android/widget/
DShareActionProvider.java212 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
224 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DShareActionProvider.java230 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
242 .setIcon(activity.loadIcon(packageManager)) in onPrepareSubMenu()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java273 public final Drawable loadIcon(@NonNull Context context, int density) { in loadIcon() method in AppWidgetProviderInfo
378 return loadDefaultIcon ? providerInfo.loadIcon(context.getPackageManager()) : null; in loadDrawable()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java217 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in SpellCheckerInfo
218 return mService.loadIcon(pm); in loadIcon()
/frameworks/base/core/java/android/app/
DWallpaperInfo.java200 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in WallpaperInfo
201 return mService.loadIcon(pm); in loadIcon()
DLauncherActivity.java83 icon = resizer.createIconThumbnail(resolveInfo.loadIcon(pm)); in ListItem()
167 … item.icon = mIconResizer.createIconThumbnail(item.resolveInfo.loadIcon(getPackageManager())); in bindView()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java389 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in DeviceAdminInfo
390 return mReceiver.loadIcon(pm); in loadIcon()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java368 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in InputMethodInfo
369 return mService.loadIcon(pm); in loadIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java98 .setIcon(aInfo.loadIcon(packageManager)) in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java112 appIcon = info.loadIcon(getPackageManager()); in setIconAndText()
/frameworks/base/core/java/android/nfc/cardemulation/
DApduServiceInfo.java349 public Drawable loadIcon(PackageManager pm) { in loadIcon() method in ApduServiceInfo
350 return mService.loadIcon(pm); in loadIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbConfirmActivity.java71 ap.mIcon = mResolveInfo.loadIcon(packageManager); in onCreate()
DUsbPermissionActivity.java84 ap.mIcon = aInfo.loadIcon(packageManager); in onCreate()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java441 public Drawable loadIcon(Context context) { in loadIcon() method in TvInputInfo
513 return mService.serviceInfo.loadIcon(context.getPackageManager()); in loadServiceIcon()

12