Home
last modified time | relevance | path

Searched refs:iconResId (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeBaseFragment.java77 protected void setHeaderIconImageResource(@DrawableRes int iconResId) { in setHeaderIconImageResource() argument
78 mGlifLayout.setIcon(getDrawable(iconResId)); in setHeaderIconImageResource()
81 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
85 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
87 Log.e(TAG, "Resource does not exist: " + iconResId); in getDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSplitConfigurationOptions.java86 public final int iconResId; field in SplitConfigurationOptions.SplitPositionOption
94 public SplitPositionOption(int iconResId, int textResId, int stagePosition, int stageType) { in SplitPositionOption() argument
95 this.iconResId = iconResId; in SplitPositionOption()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DActionButtonInfo.java88 public ActionButtonInfo setIcon(@DrawableRes int iconResId) { in setIcon() argument
89 if (iconResId == 0) { in setIcon()
95 icon = mContext.getDrawable(iconResId); in setIcon()
99 LOG.e("Resource does not exist: " + iconResId); in setIcon()
DToggleButtonActionItem.java163 public void setDrawable(Context context, @DrawableRes int iconResId) { in setDrawable() argument
164 Drawable drawable = context.getDrawable(iconResId); in setDrawable()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddWifiNetworkPreference.java68 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
72 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
74 Log.e(TAG, "Resource does not exist: " + iconResId); in getDrawable()
DWifiEntryPreference.java321 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
325 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSsidPreference.java107 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
111 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
113 Log.e(TAG, "Resource does not exist: " + iconResId); in getDrawable()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexData.java51 public final int iconResId; field in IndexData
90 iconResId = builder.mIconResId; in IndexData()
249 public Builder setIconResId(int iconResId) { in setIconResId() argument
250 mIconResId = iconResId; in setIconResId()
DIndexDataConverter.java200 .setIconResId(raw.iconResId) in convertRaw()
256 @DrawableRes int iconResId; in convertResource() local
309 iconResId = XmlParserUtils.getDataIcon(context, attrs); in convertResource()
325 .setIconResId(iconResId) in convertResource()
DPreIndexDataCollector.java152 sir.iconResId = cursor.getInt(COLUMN_INDEX_XML_RES_ICON_RESID); in getIndexablesForXmlResourceUri()
239 final int iconResId = cursor.getInt(COLUMN_INDEX_RAW_ICON_RESID); in getIndexablesForRawDataUri() local
259 data.iconResId = iconResId; in getIndexablesForRawDataUri()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/search/
DCarSettingsSearchIndexablesProviderTest.java302 int iconResId = seed + 2; in makeResource() local
308 iconResId); in makeResource()
320 assertThat(c.getInt(COLUMN_INDEX_XML_RES_ICON_RESID)).isEqualTo(res.iconResId); in assertEqual()
337 rawData.iconResId = seed; in makeRawData()
354 assertThat(c.getInt(COLUMN_INDEX_RAW_ICON_RESID)).isEqualTo(raw.iconResId); in assertEqual()
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java386 int iconResId = 0; in updateIcons() local
389 iconResId = R.drawable.quantum_ic_warning_white_18; in updateIcons()
393 iconResId = R.drawable.ic_scheduled_recording; in updateIcons()
396 iconResId = R.drawable.ic_recording_program; in updateIcons()
403 setCompoundDrawablePadding(iconResId != 0 ? sCompoundDrawablePadding : 0); in updateIcons()
404 setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, iconResId, 0); in updateIcons()
DProgramTableAdapter.java621 int iconResId = 0;
624 iconResId = R.drawable.ic_warning_white_12dp;
629 iconResId = R.drawable.ic_recording_program;
633 iconResId = R.drawable.ic_scheduled_white;
637 iconResId = R.drawable.ic_warning_white_12dp;
641 iconResId = 0;
645 if (iconResId == 0) {
650 mDvrIconView.setImageResource(iconResId);
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DBaseVolumeSlider.java102 int iconResId = volumeItem.getIcon(); in getQCItem() local
105 iconResId = volumeItem.getMuteIcon(); in getQCItem()
110 ? Icon.createWithResource(getContext(), iconResId) : null) in getQCItem()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DAccessPointPreference.java93 int iconResId, boolean forSavedNetworks) { in AccessPointPreference() argument
94 this(accessPoint, context, cache, iconResId, forSavedNetworks, in AccessPointPreference()
100 int iconResId, boolean forSavedNetworks, StateListDrawable frictionSld, in AccessPointPreference() argument
110 mDefaultIconResId = iconResId; in AccessPointPreference()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/splitscreen/
DSplitShortcut.kt39 iconResId: Int,
45 ) : SystemShortcut<T>(iconResId, labelResId, target, itemInfo, originalView) where
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DVolumeSliderTestCase.java80 protected void verifyIconSet(QCRow row, int iconResId) { in verifyIconSet() argument
81 assertThat(row.getStartIcon().getResId()).isEqualTo(iconResId); in verifyIconSet()
/packages/apps/Settings/src/com/android/settings/display/
DAppGridView.java104 public AppsAdapter(Context context, int layout, int textResId, int iconResId, in AppsAdapter() argument
108 mIconResId = iconResId; in AppsAdapter()
/packages/apps/Car/Settings/src/com/android/car/settings/search/
DCarSettingsSearchIndexablesProvider.java80 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = val.iconResId; in queryXmlResources()
117 ref[COLUMN_INDEX_RAW_ICON_RESID] = raw.iconResId; in createIndexableRawColumnObjects()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothActionFragment.java62 public static void prepareArgs(Bundle args, String key, int iconResId, int titleResId, in prepareArgs() argument
65 args.putInt(ARG_ICON, iconResId); in prepareArgs()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleDismissViewExt.kt39 iconResId = R.drawable.ic_bubble_dismiss_white in setup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/popup/
DQuickstepSystemShortcut.java41 super(position.iconResId, position.textResId, launcher, itemInfo, originalView, in SplitSelectSystemShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java57 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo, in SystemShortcut() argument
59 mIconResId = iconResId; in SystemShortcut()
/packages/services/Car/tests/UserSwitchMonitorApp/src/com/google/android/car/userswitchmonitor/
DUserSwitchMonitorService.java163 int iconResId = getApplicationInfo().icon; in onStartCommand() local
168 .setSmallIcon(iconResId) in onStartCommand()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java214 final int iconResId = bundle.getInt(METADATA_ICON); in getSliceDataFromXML() local
227 .setIcon(iconResId) in getSliceDataFromXML()

12