Home
last modified time | relevance | path

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

123

/packages/apps/Settings/src/com/android/settings/network/
DInternetPreferenceRepository.kt56 @DrawableRes val iconResId: Int, in <lambda>() constant in com.android.settings.network.InternetPreferenceRepository.DisplayInfo
92 iconResId = R.drawable.ic_wifi_signal_4, in <lambda>()
100 iconResId = R.drawable.ic_network_cell, in <lambda>()
108 iconResId = R.drawable.ic_settings_ethernet, in <lambda>()
120 iconResId = R.drawable.ic_no_internet_unavailable, in <lambda>()
125 iconResId = R.drawable.ic_no_internet_available, in <lambda>()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeBaseFragment.java76 protected void setHeaderIconImageResource(@DrawableRes int iconResId) { in setHeaderIconImageResource() argument
77 mGlifLayout.setIcon(getDrawable(iconResId)); in setHeaderIconImageResource()
80 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
84 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
86 Log.e(TAG, "Resource does not exist: " + iconResId); in getDrawable()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/
DInternetPreferenceRepositoryTest.kt81 iconResId = R.drawable.ic_wifi_signal_4, in <lambda>()
111 iconResId = R.drawable.ic_network_cell, in <lambda>()
135 iconResId = R.drawable.ic_network_cell, in <lambda>()
158 iconResId = R.drawable.ic_settings_ethernet, in <lambda>()
179 iconResId = R.drawable.ic_no_internet_available, in <lambda>()
200 iconResId = R.drawable.ic_no_internet_unavailable, in <lambda>()
221 iconResId = R.drawable.ic_no_internet_available, in <lambda>()
/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/Launcher3/src/com/android/launcher3/util/
DSplitConfigurationOptions.java81 public final int iconResId; field in SplitConfigurationOptions.SplitPositionOption
89 public SplitPositionOption(int iconResId, int textResId, int stagePosition, int stageType) { in SplitPositionOption() argument
90 this.iconResId = iconResId; in SplitPositionOption()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddWifiNetworkPreference.java73 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
77 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
79 Log.e(TAG, "Resource does not exist: " + iconResId); in getDrawable()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DIconLoader.java92 int iconResId) { in loadIcon() argument
93 String cacheKey = pkg + ":" + iconResId; in loadIcon()
103 return context.getDrawable(iconResId); in loadIcon()
106 Drawable appDrawable = AppCompatResources.getDrawable(appContext, iconResId); in loadIcon()
DIconUtil.java66 static Drawable makeIconCircle(@NonNull Context context, @DrawableRes int iconResId) { in makeIconCircle() argument
67 return makeIconCircle(context, checkNotNull(context.getDrawable(iconResId))); in makeIconCircle()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSsidPreference.java108 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
112 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
114 Log.e(TAG, "Resource does not exist: " + iconResId); in getDrawable()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/widget/
DTipCardPreferenceTest.kt214 iconResId: Int? = R.drawable.ic_battery_status_protected_24dp, in buildCardPreference()
227 this.iconResId = iconResId in <lambda>()
/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/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/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/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
109 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/Settings/src/com/android/settings/widget/
DTipCardPreference.kt38 var iconResId: Int? = null variable
90 iconResId in buildContent()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java136 super(option.iconResId, option.textResId, container, taskView.getFirstItemInfo(), in SplitSelectSystemShortcut()
157 int iconResId) { in SaveAppPairSystemShortcut() argument
158 super(iconResId, R.string.save_app_pair, container, taskView.getFirstItemInfo(), in SaveAppPairSystemShortcut()
354 int iconResId = deviceProfile.isLeftRightSplit
360 (GroupedTaskView) taskView, iconResId));
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java67 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo, in SystemShortcut() argument
69 this(iconResId, labelResId, target, itemInfo, originalView, in SystemShortcut()
73 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo, in SystemShortcut() argument
75 mIconResId = iconResId; in SystemShortcut()
/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/password/
DConfirmDeviceCredentialActivity.java221 final int iconResId = intent.getIntExtra(CUSTOM_BIOMETRIC_PROMPT_LOGO_RES_ID_KEY, 0); in onCreate() local
222 if (iconResId != 0) { in onCreate()
223 final Bitmap iconBitmap = toBitmap(mContext.getDrawable(iconResId)); in onCreate()
224 promptInfo.setLogo(iconResId, iconBitmap); in onCreate()

123