/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardIconsSet.java | 98 int iconId = ICON_UNDEFINED; 103 ATTR_ID_TO_ICON_ID.put(attrId, iconId); in ATTR_ID_TO_ICON_ID.put() argument 105 sNameToIdsMap.put(name, iconId); in sNameToIdsMap.put() argument 106 ICON_NAMES[iconId] = name; 107 iconId++; 118 final Integer iconId = ATTR_ID_TO_ICON_ID.get(attrId); in loadIcons() local 119 mIcons[iconId] = icon; in loadIcons() 120 mIconResourceIds[iconId] = keyboardAttrs.getResourceId(attrId, 0); in loadIcons() 129 private static boolean isValidIconId(final int iconId) { in isValidIconId() argument 130 return iconId >= 0 && iconId < ICON_NAMES.length; in isValidIconId() [all …]
|
D | KeyPreviewView.java | 57 final int iconId = key.getIconId(); in setPreviewVisual() local 58 if (iconId != KeyboardIconsSet.ICON_UNDEFINED) { in setPreviewVisual()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 290 int iconId = R.drawable.quantum_ic_call_received_white_24; in Resources() local 291 Drawable drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources() 296 iconId = R.drawable.quantum_ic_call_made_white_24; in Resources() 297 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources() 303 iconId = R.drawable.quantum_ic_call_missed_white_24; in Resources() 304 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources() 309 iconId = R.drawable.quantum_ic_voicemail_white_24; in Resources() 310 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources() 314 iconId = R.drawable.quantum_ic_block_white_24; in Resources() 315 drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryEntry.java | 128 public int iconId; // For passing to the detail screen. field in BatteryEntry 144 iconId = R.drawable.ic_settings_phone_idle; in BatteryEntry() 148 iconId = R.drawable.ic_cellular_1_bar; in BatteryEntry() 152 iconId = R.drawable.ic_settings_voice_calls; in BatteryEntry() 156 iconId = R.drawable.ic_settings_wireless; in BatteryEntry() 160 iconId = com.android.internal.R.drawable.ic_settings_bluetooth; in BatteryEntry() 164 iconId = R.drawable.ic_settings_display; in BatteryEntry() 168 iconId = R.drawable.ic_settings_display; in BatteryEntry() 202 iconId = R.drawable.ic_android; in BatteryEntry() 206 iconId = R.drawable.ic_android; in BatteryEntry() [all …]
|
D | AdvancedPowerUsageDetail.java | 124 args.putInt(EXTRA_ICON_ID, entry.iconId); in startBatteryDetailPage() 227 final int iconId = bundle.getInt(EXTRA_ICON_ID, 0); in initHeader() local 228 if (iconId == 0) { in initHeader()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryEntry.java | 128 public int iconId; // For passing to the detail screen. field in BatteryEntry 144 iconId = R.drawable.ic_settings_phone_idle; in BatteryEntry() 148 iconId = R.drawable.ic_cellular_1_bar; in BatteryEntry() 152 iconId = R.drawable.ic_settings_voice_calls; in BatteryEntry() 156 iconId = R.drawable.ic_settings_wireless; in BatteryEntry() 160 iconId = com.android.internal.R.drawable.ic_settings_bluetooth; in BatteryEntry() 164 iconId = R.drawable.ic_settings_display; in BatteryEntry() 168 iconId = R.drawable.ic_settings_display; in BatteryEntry() 202 iconId = R.drawable.ic_android; in BatteryEntry() 206 iconId = R.drawable.ic_android; in BatteryEntry() [all …]
|
D | AdvancedPowerUsageDetail.java | 124 args.putInt(EXTRA_ICON_ID, entry.iconId); in startBatteryDetailPage() 227 final int iconId = bundle.getInt(EXTRA_ICON_ID, 0); in initHeader() local 228 if (iconId == 0) { in initHeader()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | WearableDialogHelper.java | 172 public DialogBuilder setPositiveIcon(@DrawableRes int iconId) { in setPositiveIcon() argument 173 mHelper.setPositiveIcon(iconId); in setPositiveIcon() 182 public DialogBuilder setNegativeIcon(@DrawableRes int iconId) { in setNegativeIcon() argument 183 mHelper.setNegativeIcon(iconId); in setNegativeIcon() 192 public DialogBuilder setNeutralIcon(@DrawableRes int iconId) { in setNeutralIcon() argument 193 mHelper.setNeutralIcon(iconId); in setNeutralIcon()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | AbstractLayoutBase.java | 48 public static ExpectedKey key(final int iconId, final String outputText, in key() argument 50 return ExpectedKey.newInstance(iconId, outputText, moreKeys); in key() 54 public static ExpectedKey key(final int iconId, final int code, in key() argument 56 return ExpectedKey.newInstance(iconId, code, moreKeys); in key() 92 public static ExpectedKey moreKey(final int iconId, final String outputText) { in moreKey() argument 93 return ExpectedKey.newInstance(iconId, outputText); in moreKey()
|
D | ExpectedKeyVisual.java | 36 public static ExpectedKeyVisual newInstance(final int iconId) { in newInstance() argument 37 return new Icon(iconId); in newInstance() 56 Icon(final int iconId) { in Icon() argument 57 mIconId = iconId; in Icon()
|
D | ExpectedKey.java | 52 static ExpectedKey newInstance(final int iconId, final String outputText, in newInstance() argument 54 return newInstance(ExpectedKeyVisual.newInstance(iconId), in newInstance() 59 static ExpectedKey newInstance(final int iconId, final int code, in newInstance() argument 61 return newInstance(ExpectedKeyVisual.newInstance(iconId), in newInstance()
|
D | ActualKeyboardBuilder.java | 111 static String toString(final String label, final int iconId, final String outputText, in toString() argument 113 final String visual = (iconId != KeyboardIconsSet.ICON_UNDEFINED) in toString() 114 ? KeyboardIconsSet.getIconName(iconId) : label; in toString()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | MenuHelper.java | 52 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/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | ActionSlider.java | 63 int iconId = ((ParameterActionAndInt) mParameter).getLeftIcon(); in updateUI() local 64 mLeftButton.setImageResource(iconId); in updateUI() 67 int iconId = ((ParameterActionAndInt) mParameter).getRightIcon(); in updateUI() local 68 mRightButton.setImageResource(iconId); in updateUI()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | CustomShortcutConfigActivity.java | 50 Context context, String uniqueId, String name, int iconId, Intent launchIntent) { in createShortcutResultIntent() argument 52 createShortcutInfo(context, uniqueId, name, iconId, launchIntent); in createShortcutResultIntent() 58 Context context, String uniqueId, String name, int iconId, Intent launchIntent) { in createShortcutInfo() argument 62 .setIcon(Icon.createWithResource(context, iconId)) in createShortcutInfo()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | CursorToSearchResultConverter.java | 160 final int iconId = TextUtils.isEmpty(iconResStr) ? 0 : Integer.parseInt(iconResStr); in getIconForPackage() local 161 if (iconId == 0) { in getIconForPackage() 179 final Drawable drawable = packageContext.getDrawable(iconId); in getIconForPackage() 180 Log.d(TAG, "Returning icon, id :" + iconId); in getIconForPackage() 183 Log.w(TAG, "Cannot get icon, pkg/id :" + pkgName + "/" + iconId); in getIconForPackage()
|
/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | FloatingActionButtonController.java | 87 public void changeIcon(Context context, @DrawableRes int iconId, String description) { in changeIcon() argument 88 if (this.fabIconId != iconId) { in changeIcon() 89 fab.setImageResource(iconId); in changeIcon() 92 this.fabIconId = iconId; in changeIcon()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ShortcutServicePickerFragment.java | 85 final int iconId; in getCandidates() local 87 iconId = R.drawable.ic_color_inversion; in getCandidates() 89 iconId = R.drawable.ic_daltonizer; in getCandidates() 91 iconId = R.drawable.empty_icon; in getCandidates() 94 iconId, componentName.flattenToString())); in getCandidates()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ShortcutServicePickerFragment.java | 83 final int iconId; in getCandidates() local 85 iconId = R.drawable.ic_color_inversion; in getCandidates() 87 iconId = R.drawable.ic_daltonizer; in getCandidates() 89 iconId = R.drawable.empty_icon; in getCandidates() 92 iconId, componentName.flattenToString())); in getCandidates()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | InputMethodSubtypeCompatUtils.java | 62 public static InputMethodSubtype newInputMethodSubtype(int nameId, int iconId, String locale, in newInputMethodSubtype() argument 67 return new InputMethodSubtype(nameId, iconId, locale, mode, extraValue, isAuxiliary, in newInputMethodSubtype() 71 nameId, iconId, locale, mode, extraValue, isAuxiliary, in newInputMethodSubtype()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 214 public Key(@Nullable final String label, final int iconId, final int code, in Key() argument 234 mIconId = iconId; in Key() 541 final int iconId = getIconId(); in toLongString() local 542 final String topVisual = (iconId == KeyboardIconsSet.ICON_UNDEFINED) in toLongString() 543 ? KeyboardIconsSet.PREFIX_ICON + KeyboardIconsSet.getIconName(iconId) : getLabel(); in toLongString() 816 final int iconId = mEnabled ? getIconId() : disabledIconId; in getIcon() local 817 final Drawable icon = iconSet.getIconDrawable(iconId); in getIcon()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootItem.java | 90 protected final void bindAction(View view, int visibility, int iconId, String description) { in bindAction() argument 101 if (iconId > 0) { in bindAction() 102 actionIcon.setImageDrawable(IconUtils.applyTintColor(view.getContext(), iconId, in bindAction() local
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 162 private Drawable getFullResIcon(Resources resources, int iconId) { in getFullResIcon() argument 163 if (resources != null && iconId != 0) { in getFullResIcon() 165 return resources.getDrawableForDensity(iconId, mIconDpi); in getFullResIcon() 171 public Drawable getFullResIcon(String packageName, int iconId) { in getFullResIcon() argument 173 return getFullResIcon(mPackageManager.getResourcesForApplication(packageName), iconId); in getFullResIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 428 final int iconId = getAttributeResourceValue(parser, ATTR_ICON, 0); in parseAndAdd() local 430 if (titleResId == 0 || iconId == 0) { in parseAndAdd() 440 Drawable icon = mIconRes.getDrawable(iconId); in parseAndAdd() 452 mValues.put(Favorites.ICON_PACKAGE, mIconRes.getResourcePackageName(iconId)); in parseAndAdd() 453 mValues.put(Favorites.ICON_RESOURCE, mIconRes.getResourceName(iconId)); in parseAndAdd()
|
/packages/apps/Contacts/src/com/android/contacts/drawer/ |
D | DrawerAdapter.java | 381 public PrimaryItem(int id, int pageName, int iconId, ContactsView contactsView) { in PrimaryItem() argument 382 super(VIEW_TYPE_PRIMARY_ITEM, id, pageName, iconId); in PrimaryItem() 389 public MiscItem(int id, int textId, int iconId) { in MiscItem() argument 390 super(VIEW_TYPE_MISC_ITEM, id, textId, iconId); in MiscItem()
|