Home
last modified time | relevance | path

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

12

/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DLoadingFrameLayout.java133 public void showError(@DrawableRes int iconResId, @StringRes int messageResId, in showError() argument
135 showError(iconResId, messageResId, secondaryMessageResId, Constants.INVALID_RES_ID, null, in showError()
153 @DrawableRes int iconResId, in showError()
159 mErrorView.setIcon(iconResId); in showError()
178 public void showEmpty(@DrawableRes int iconResId, @StringRes int messageResId, in showEmpty() argument
180 showEmpty(iconResId, messageResId, secondaryMessageResId, Constants.INVALID_RES_ID, null, in showEmpty()
198 @DrawableRes int iconResId, in showEmpty()
204 mEmptyView.setIcon(iconResId); in showEmpty()
378 private void setIcon(@DrawableRes int iconResId) { in setIcon() argument
379 if (iconResId > Constants.INVALID_RES_ID) { in setIcon()
[all …]
/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/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerListBaseFragment.java97 protected void showEmpty(@DrawableRes int iconResId, @StringRes int messageResId, in showEmpty() argument
99 mLoadingFrameLayout.showEmpty(iconResId, messageResId, secondaryMessageResId); in showEmpty()
105 protected void showEmpty(@DrawableRes int iconResId, @StringRes int messageResId, in showEmpty() argument
109 mLoadingFrameLayout.showEmpty(iconResId, messageResId, secondaryMessageResId, in showEmpty()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddWifiNetworkPreference.java66 private Drawable getDrawable(@DrawableRes int iconResId) { in getDrawable() argument
70 buttonIcon = getContext().getDrawable(iconResId); in getDrawable()
72 Log.e(TAG, "Resource does not exist: " + iconResId); in getDrawable()
DLongPressAccessPointPreference.java37 UserBadgeCache cache, boolean forSavedNetworks, int iconResId, Fragment fragment) { in LongPressAccessPointPreference() argument
38 super(accessPoint, context, cache, iconResId, forSavedNetworks); in LongPressAccessPointPreference()
DConnectedAccessPointPreference.java42 UserBadgeCache cache, @DrawableRes int iconResId, boolean forSavedNetworks, in ConnectedAccessPointPreference() argument
44 super(accessPoint, context, cache, forSavedNetworks, iconResId, fragment); in ConnectedAccessPointPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()
DLongPressAccessPointPreference.java31 UserBadgeCache cache, boolean forSavedNetworks, int iconResId, Fragment fragment) { in LongPressAccessPointPreference() argument
32 super(accessPoint, context, cache, iconResId, forSavedNetworks); in LongPressAccessPointPreference()
DConnectedAccessPointPreference.java39 UserBadgeCache cache, @DrawableRes int iconResId, boolean forSavedNetworks) { in ConnectedAccessPointPreference() argument
40 super(accessPoint, context, cache, iconResId, forSavedNetworks); in ConnectedAccessPointPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSsidPreference.java110 private void setButtonIcon(@DrawableRes int iconResId) { in setButtonIcon() argument
112 mButtonIcon = getContext().getDrawable(iconResId); in setButtonIcon()
114 Log.e(TAG, "Resource does not exist: " + iconResId); in setButtonIcon()
/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
87 iconResId = builder.mIconResId; in IndexData()
236 public Builder setIconResId(int iconResId) { in setIconResId() argument
237 mIconResId = iconResId; in setIconResId()
DIndexDataConverter.java175 .setIconResId(raw.iconResId) in convertRaw()
230 @DrawableRes int iconResId; in convertResource() local
283 iconResId = XmlParserUtils.getDataIcon(context, attrs); in convertResource()
294 .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/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/Settings/src/com/android/settings/display/
DAppGridView.java77 public AppsAdapter(Context context, int layout, int textResId, int iconResId) { in AppsAdapter() argument
80 mIconResId = iconResId; in AppsAdapter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DAppGridView.java77 public AppsAdapter(Context context, int layout, int textResId, int iconResId) { in AppsAdapter() argument
80 mIconResId = iconResId; in AppsAdapter()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DUiDataModel.java51 Tab(Class fragmentClass, @DrawableRes int iconResId, @StringRes int labelResId) { in Tab() argument
53 mIconResId = iconResId; in Tab()
/packages/apps/Car/Settings/src/com/android/car/settings/search/
DCarSettingsSearchIndexablesProvider.java79 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = val.iconResId; in queryXmlResources()
114 ref[COLUMN_INDEX_RAW_ICON_RESID] = raw.iconResId; in createIndexableRawColumnObjects()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java180 int volumeGroupId, int usage, @DrawableRes int iconResId, in createVolumeSeekBarPreference() argument
184 preference.setIcon(getContext().getDrawable(iconResId)); in createVolumeSeekBarPreference()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java50 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo) { in SystemShortcut() argument
51 mIconResId = iconResId; in SystemShortcut()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java201 ToggleableFrameworkFeatureInfo frameworkFeatureInfo, int iconResId, String key) { in FrameworkCandidateInfo() argument
204 mIconResId = iconResId; in FrameworkCandidateInfo()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java210 final int iconResId = bundle.getInt(METADATA_ICON); in getSliceDataFromXML() local
222 .setIcon(iconResId) in getSliceDataFromXML()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceDataConverter.java198 final int iconResId = bundle.getInt(METADATA_ICON); in getSliceDataFromXML() local
209 .setIcon(iconResId) in getSliceDataFromXML()

12