Home
last modified time | relevance | path

Searched refs:iconResourceId (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DResolveInfo.java182 public int iconResourceId; field in ResolveInfo
312 if (resolvePackageName != null && iconResourceId != 0) { in loadIcon()
313 dr = pm.getDrawable(resolvePackageName, iconResourceId, null); in loadIcon()
316 if (dr == null && iconResourceId != 0) { in loadIcon()
318 dr = pm.getDrawable(ci.packageName, iconResourceId, ai); in loadIcon()
335 if (iconResourceId != 0) return iconResourceId; in getIconResourceInternal()
436 iconResourceId = orig.iconResourceId; in ResolveInfo()
508 dest.writeInt(iconResourceId); in writeToParcel()
558 iconResourceId = source.readInt(); in ResolveInfo()
DShortcutInfo.java2128 public void setIconResourceId(int iconResourceId) { in setIconResourceId() argument
2129 if (mIconResId != iconResourceId) { in setIconResourceId()
2132 mIconResId = iconResourceId; in setIconResourceId()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/
DFakeCustomizationProviderClient.kt45 iconResourceId = 1, in <lambda>()
50 iconResourceId = 2, in <lambda>()
55 iconResourceId = 3, in <lambda>()
133 override suspend fun getAffordanceIcon(iconResourceId: Int, tintColor: Int): Drawable { in <lambda>()
134 return when (iconResourceId) { in <lambda>()
DCustomizationProviderClient.kt115 @DrawableRes iconResourceId: Int, in <lambda>()
143 val iconResourceId: Int, in <lambda>() constant in com.android.systemui.shared.customization.data.content.CustomizationProviderClient.Affordance
369 iconResourceId = cursor.getInt(iconColumnIndex), in queryAffordances()
491 @DrawableRes iconResourceId: Int, in getAffordanceIcon()
497 .getDrawable(iconResourceId, context.theme) in getAffordanceIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfig.kt160 iconResourceId = component.getTileImageId(), in <lambda>()
180 @DrawableRes iconResourceId: Int?, in <lambda>()
186 iconResourceId != null && in <lambda>()
192 res = iconResourceId, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/viewmodel/
DUserActionViewModel.kt30 @DrawableRes val iconResourceId: Int, constant in com.android.systemui.user.ui.viewmodel.UserActionViewModel
DUserSwitcherViewModel.kt160 iconResourceId = in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DKeyguardQuickAffordancePickerRepresentation.kt30 @DrawableRes val iconResourceId: Int, constant in com.android.systemui.keyguard.shared.model.KeyguardQuickAffordancePickerRepresentation
/frameworks/base/core/java/android/print/
DPrinterInfo.java97 int iconResourceId, boolean hasCustomPrinterIcon, String description, in PrinterInfo() argument
103 mIconResourceId = iconResourceId; in PrinterInfo()
468 public @NonNull Builder setIconResourceId(@DrawableRes int iconResourceId) { in setIconResourceId() argument
469 mIconResourceId = Preconditions.checkArgumentNonnegative(iconResourceId, in setIconResourceId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardQuickAffordanceViewBinder.kt147 (viewModel.icon as? Icon.Resource)?.res?.let { iconResourceId -> in <lambda>() method
151 if (view.tag != iconResourceId) { in <lambda>()
156 view.tag = iconResourceId in <lambda>()
DKeyguardBottomAreaViewBinder.kt363 (viewModel.icon as? Icon.Resource)?.res?.let { iconResourceId -> in <lambda>() method
367 if (view.tag != iconResourceId) { in <lambda>()
372 view.tag = iconResourceId in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorTest.kt484 iconResourceId = homeControls.pickerIconResourceId, in select()
518 iconResourceId = quickAccessWallet.pickerIconResourceId, in select()
555 iconResourceId = quickAccessWallet.pickerIconResourceId, in select()
563 iconResourceId = qrCodeScanner.pickerIconResourceId, in select()
618 iconResourceId = quickAccessWallet.pickerIconResourceId, in unselect_one()
709 iconResourceId = quickAccessWallet.pickerIconResourceId, in unselect_all()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DCustomizationProviderTest.kt331 iconResourceId = 1, in <lambda>()
336 iconResourceId = 2, in <lambda>()
556 iconResourceId = cursor.getInt(iconColumnIndex), in <lambda>()
573 val iconResourceId: Int, in <lambda>() constant in com.android.systemui.keyguard.CustomizationProviderTest.Affordance
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DKeyguardQuickAffordanceRepositoryTest.kt192 iconResourceId = config1.pickerIconResourceId, in <lambda>()
197 iconResourceId = config2.pickerIconResourceId, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/binder/
DUserSwitcherViewBinder.kt235 .setImageResource(viewModel.iconResourceId) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardQuickAffordanceRepository.kt175 iconResourceId = config.pickerIconResourceId, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DCustomizationProvider.kt300 representation.iconResourceId, in <lambda>()
/frameworks/base/core/java/android/service/autofill/
DFillResponse.java173 int[] cancelIds, boolean supportsInlineSuggestions, int iconResourceId, in FillResponse() argument
198 mIconResourceId = iconResourceId; in FillResponse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt119 icon = Icon.Resource(action.iconResourceId, contentDescription = null), in <lambda>()
/frameworks/base/core/java/com/android/internal/app/
DChooserListAdapter.java204 ri.iconResourceId = ri.icon; in ChooserListAdapter()
DResolverListAdapter.java449 ri.iconResourceId = ri.icon;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageArchiver.java551 int iconResourceId = mainActivity.getActivityInfo().getIconResource(); in storeIcon() local
552 if (iconResourceId == 0) { in storeIcon()
DResolveIntentHelper.java230 ri.iconResourceId = appi.icon; in chooseBestActivity()
/frameworks/base/core/java/android/app/
DActivityManager.java2435 final int iconResourceId = in.getAttributeInt(null, in restoreFromXml() local
2439 if (iconResourceId != Resources.ID_NULL && iconResourcePackage != null) { in restoreFromXml()
2441 iconResourceId)); in restoreFromXml()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java5118 int iconResourceId = response.getIconResourceId(); in getServiceIcon() local
5119 if (iconResourceId != 0) { in getServiceIcon()
5123 iconResourceId, in getServiceIcon()

12