Home
last modified time | relevance | path

Searched refs:iconId (Results 1 – 16 of 16) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardIconsSet.java65 int iconId = ICON_UNDEFINED;
70 ATTR_ID_TO_ICON_ID.put(attrId, iconId); in ATTR_ID_TO_ICON_ID.put() argument
72 sNameToIdsMap.put(name, iconId); in sNameToIdsMap.put() argument
73 ICON_NAMES[iconId] = name;
74 iconId++;
83 final Integer iconId = ATTR_ID_TO_ICON_ID.get(attrId); in loadIcons() local
84 mIcons[iconId] = icon; in loadIcons()
93 private static boolean isValidIconId(final int iconId) { in isValidIconId() argument
94 return iconId >= 0 && iconId < ICON_NAMES.length; in isValidIconId()
97 public static String getIconName(final int iconId) { in getIconName() argument
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DIconCache.java71 public Drawable getFullResIcon(Resources resources, int iconId) { in getFullResIcon() argument
74 d = resources.getDrawableForDensity(iconId, mIconDpi); in getFullResIcon()
82 public Drawable getFullResIcon(String packageName, int iconId) { in getFullResIcon() argument
90 if (iconId != 0) { in getFullResIcon()
91 return getFullResIcon(resources, iconId); in getFullResIcon()
111 int iconId = info.getIconResource(); in getFullResIcon() local
112 if (iconId != 0) { in getFullResIcon()
113 return getFullResIcon(resources, iconId); in getFullResIcon()
DAppsCustomizePagedView.java1270 int iconId, int cellHSpan, int cellVSpan, int maxWidth, in getWidgetPreview() argument
1329 if (iconId > 0) in getWidgetPreview()
1330 icon = mIconCache.getFullResIcon(packageName, iconId); in getWidgetPreview()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatterySipper.java40 int iconId; // For passing to the detail screen. field in BatterySipper
65 int iconId, Uid uid, double[] values) { in BatterySipper() argument
72 if (iconId > 0) { in BatterySipper()
73 icon = mContext.getResources().getDrawable(iconId); in BatterySipper()
76 if ((label == null || iconId == 0) && uid != null) { in BatterySipper()
120 iconId = R.drawable.ic_power_system; in getQuickNameIconForUid()
121 icon = mContext.getResources().getDrawable(iconId); in getQuickNameIconForUid()
DPowerUsageSummary.java196 args.putInt(PowerUsageDetail.EXTRA_ICON_ID, sipper.iconId); in onPreferenceTreeClick()
758 private BatterySipper addEntry(String label, DrainType drainType, long time, int iconId, in addEntry() argument
763 label, drainType, iconId, null, new double[] {power}); in addEntry()
765 bs.iconId = iconId; in addEntry()
DPowerUsageDetail.java169 int iconId = args.getInt(EXTRA_ICON_ID, 0); in createDetails() local
180 } else if (iconId != 0) { in createDetails()
181 mAppIcon = getActivity().getResources().getDrawable(iconId); in createDetails()
/packages/apps/LegacyCamera/src/com/android/camera/
DMenuHelper.java52 int labelId, iconId; in addSwitchModeMenuItem() local
56 iconId = R.drawable.ic_menu_camera_video_view; in addSwitchModeMenuItem()
60 iconId = android.R.drawable.ic_menu_camera; in addSwitchModeMenuItem()
64 iconId = R.drawable.btn_ic_panorama; in addSwitchModeMenuItem()
77 item.setIcon(iconId); in addSwitchModeMenuItem()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DAlertDialogs.java56 public static AlertDialog createAlert(Context context, String title, int iconId, in createAlert() argument
62 if (iconId != 0) { in createAlert()
63 builder.setIcon(context.getResources().getDrawable(iconId)); in createAlert()
/packages/apps/Browser/src/com/android/browser/
DPageDialogsHandler.java350 int iconId; in createSslCertificateDialog() local
353 iconId = R.drawable.ic_dialog_browser_certificate_secure; in createSslCertificateDialog()
358 iconId = R.drawable.ic_dialog_browser_certificate_partially_secure; in createSslCertificateDialog()
389 .setIcon(iconId) in createSslCertificateDialog()
/packages/apps/Settings/src/com/android/settings/
DMasterClear.java213 if (desc.iconId != 0) { in loadAccountList()
215 icon = authContext.getResources().getDrawable(desc.iconId); in loadAccountList()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java165 public Key(Keyboard.Params params, String label, String hintLabel, int iconId, in Key() argument
183 mIconId = iconId; in Key()
575 final int iconId = mEnabled ? mIconId : mDisabledIconId; in getIcon() local
576 final Drawable icon = iconSet.getIconDrawable(iconId); in getIcon()
/packages/apps/Settings/src/com/android/settings/accounts/
DAuthenticatorHelper.java62 icon = authContext.getResources().getDrawable(desc.iconId); in getDrawableForType()
DChooseAccountActivity.java200 icon = authContext.getResources().getDrawable(desc.iconId); in getDrawableForType()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DSources.java222 source.iconRes = auth.iconId; in queryAccounts()
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DPinyinIME.java1085 private void updateIcon(int iconId) { in updateIcon() argument
1086 if (iconId > 0) { in updateIcon()
1087 showStatusIcon(iconId); in updateIcon()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java427 accountType.iconRes = auth.iconId; in loadAccountsInBackground()