/packages/apps/Settings/src/com/android/settings/accessibility/shortcuts/ |
D | ShortcutOptionPreference.java | 48 private int mIntroImageResId = Resources.ID_NULL; 50 private int mIntroImageRawResId = Resources.ID_NULL; 85 if (mIntroImageResId == Resources.ID_NULL && mIntroImageRawResId == Resources.ID_NULL) { in onBindViewHolder() 91 if (mIntroImageRawResId != Resources.ID_NULL) { in onBindViewHolder() 123 mIntroImageRawResId = Resources.ID_NULL; in setIntroImageResId() 134 mIntroImageResId = Resources.ID_NULL; in setIntroImageRawResId()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestConfigs.kt | 145 .setTitleResId(Resources.ID_NULL) 495 .setSummaryResId(Resources.ID_NULL) 504 .setTitleResId(Resources.ID_NULL) 505 .setSummaryResId(Resources.ID_NULL) 574 .setTitleResId(Resources.ID_NULL) 575 .setSummaryResId(Resources.ID_NULL) 582 .setSummaryResId(Resources.ID_NULL) 598 setSummaryResId(Resources.ID_NULL) in <lambda>() 603 .setSummaryResId(Resources.ID_NULL) 656 .setSummaryResId(Resources.ID_NULL) [all …]
|
/packages/modules/Permission/SafetyCenter/ResourcesLib/java/com/android/safetycenter/resources/ |
D | SafetyCenterResourcesApk.java | 229 if (resId == Resources.ID_NULL) { in getSafetyCenterConfig() 253 if (resId == Resources.ID_NULL) { in getStringByName() 262 if (resId == Resources.ID_NULL) { in getStringByName() 276 if (stringId == Resources.ID_NULL) { in getOptionalString() 299 if (resId == Resources.ID_NULL) { in getDrawableByName() 314 if (resId == Resources.ID_NULL) { in getIconByDrawableName() 330 if (resId == Resources.ID_NULL) { in getColorByName() 338 if (resId != Resources.ID_NULL) { in getResIdAndMaybeThrowIfNull()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconProvider.java | 22 import static android.content.res.Resources.ID_NULL; 234 if (id != ID_NULL) { in loadCalendarDrawable() 258 return ID_NULL; in getDynamicIconId() 261 final int arrayId = metadata.getInt(key, ID_NULL); in getDynamicIconId() 262 if (arrayId == ID_NULL) { in getDynamicIconId() 263 return ID_NULL; in getDynamicIconId() 266 return resources.obtainTypedArray(arrayId).getResourceId(getDay(), ID_NULL); in getDynamicIconId() 271 return ID_NULL; in getDynamicIconId() 291 return (CONFIG_ICON_MASK_RES_ID == ID_NULL in getSystemIconState()
|
D | ThemedIconDrawable.java | 20 import static android.content.res.Resources.ID_NULL; 188 if (resId == ID_NULL) { in decode() 234 int id = ta.getResourceId(IconProvider.getDay(), ID_NULL); in wrapDrawable() 236 return id == ID_NULL ? original in wrapDrawable()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | HealthConnectResourcesContext.java | 204 return Resources.ID_NULL; in getStringRes() 209 return Resources.ID_NULL; in getStringRes() 217 if (stringId == Resources.ID_NULL) { in getOptionalString() 226 if (stringId == Resources.ID_NULL) { in getOptionalStringWithArgs() 248 if (resId != Resources.ID_NULL) { in getIconByDrawableName()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | AttributionLabelLiveData.kt | 21 import android.content.res.Resources.ID_NULL 61 postValue(ID_NULL) in loadDataAndPostValue() 116 parser.getAttributeResourceValue(ANDROID_NS, LABEL_ATTR, ID_NULL) in loadDataAndPostValue()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ |
D | ActionRow.kt | 19 import android.content.res.Resources.ID_NULL 30 val id: Int = ID_NULL,
|
D | ResolverDrawerLayout.java | 20 import static android.content.res.Resources.ID_NULL; 108 private int mIgnoreOffsetTopLimitViewId = ID_NULL; 174 R.styleable.ResolverDrawerLayout_ignoreOffsetTopLimit, ID_NULL); in ResolverDrawerLayout() 1119 if (mIgnoreOffsetTopLimitViewId != ID_NULL && !isIgnoreOffsetLimitSet) { 1201 if (mIgnoreOffsetTopLimitViewId == ID_NULL) {
|
/packages/modules/Permission/framework-s/java/android/safetycenter/config/ |
D | BuilderUtils.java | 78 validateAttribute(value, name, required, prohibited, Resources.ID_NULL); in validateResId() 80 return Resources.ID_NULL; in validateResId() 82 if (required && value == Resources.ID_NULL) { in validateResId()
|
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/content/res/ |
D | Resources.java | 24 public static final int ID_NULL = 0; field in Resources 52 return ID_NULL; in getIdentifier()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetSections.java | 18 import static android.content.res.Resources.ID_NULL; 130 mSectionTitle = a.getResourceId(R.styleable.WidgetSections_sectionTitle, ID_NULL); in WidgetSection() 131 mSectionDrawable = a.getResourceId(R.styleable.WidgetSections_sectionDrawable, ID_NULL); in WidgetSection()
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/data/ |
D | AttributionLabelLiveDataTest.kt | 20 import android.content.res.Resources.ID_NULL 53 assertThat(it).isEqualTo(ID_NULL) in getDefaultTag()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | SafetySourcesGroupTest.kt | 89 assertThat(HIDDEN_INFERRED.titleResId).isEqualTo(Resources.ID_NULL) in getTitleResId_returnsTitleResId() 95 assertThat(HIDDEN_BAREBONE.titleResId).isEqualTo(Resources.ID_NULL) in getTitleResId_returnsTitleResId() 103 assertThat(STATEFUL_INFERRED_WITH_ICON.summaryResId).isEqualTo(Resources.ID_NULL) in getSummaryResId_returnsSummaryResId() 105 assertThat(STATELESS_INFERRED.summaryResId).isEqualTo(Resources.ID_NULL) in getSummaryResId_returnsSummaryResId() 107 assertThat(HIDDEN_INFERRED.summaryResId).isEqualTo(Resources.ID_NULL) in getSummaryResId_returnsSummaryResId() 113 assertThat(HIDDEN_BAREBONE.titleResId).isEqualTo(Resources.ID_NULL) in getSummaryResId_returnsSummaryResId()
|
D | SafetySourceTest.kt | 99 assertThat(DYNAMIC_HIDDEN.titleResId).isEqualTo(Resources.ID_NULL) in getTitleResId_returnsTitleResIdOrThrows() 118 assertThat(DYNAMIC_HIDDEN.titleForWorkResId).isEqualTo(Resources.ID_NULL) in getTitleForWorkResId_returnsTitleForWorkResIdOrThrows() 146 assertThat(DYNAMIC_HIDDEN.titleForPrivateProfileResId).isEqualTo(Resources.ID_NULL) in getTitleForPrivateProfileResId_returnsTitleForPrivateProfileResIdOrThrows() 166 assertThat(DYNAMIC_HIDDEN.summaryResId).isEqualTo(Resources.ID_NULL) in getSummaryResId_returnsSummaryResIdOrThrows() 168 assertThat(STATIC_BAREBONE.summaryResId).isEqualTo(Resources.ID_NULL) in getSummaryResId_returnsSummaryResIdOrThrows() 247 assertThat(DYNAMIC_BAREBONE.searchTermsResId).isEqualTo(Resources.ID_NULL) in getSearchTermsResId_returnsSearchTermsResIdOrThrows() 249 assertThat(DYNAMIC_DISABLED.searchTermsResId).isEqualTo(Resources.ID_NULL) in getSearchTermsResId_returnsSearchTermsResIdOrThrows() 250 assertThat(DYNAMIC_HIDDEN.searchTermsResId).isEqualTo(Resources.ID_NULL) in getSearchTermsResId_returnsSearchTermsResIdOrThrows() 252 assertThat(STATIC_BAREBONE.searchTermsResId).isEqualTo(Resources.ID_NULL) in getSearchTermsResId_returnsSearchTermsResIdOrThrows()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/controlbar/ |
D | ControlBarMediaController.java | 106 mView.findViewById(R.id.queue_list), Resources.ID_NULL, in ControlBarMediaController() 107 R.layout.control_bar_media_queue_item, Resources.ID_NULL, getViewLifecycleOwner(), in ControlBarMediaController() 117 Resources.ID_NULL, /* uxrConfigurationId */ 0); in ControlBarMediaController()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/ |
D | PermissionUsageDetailsViewModel.kt | 284 Resources.ID_NULL, in <lambda>() 304 if (tag == NO_ATTRIBUTION_TAG) Resources.ID_NULL in <lambda>() 305 else lightPackageInfo.attributionTagsToLabels[tag] ?: Resources.ID_NULL in <lambda>() 501 if (accessCluster.attributionLabel == Resources.ID_NULL) null in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/ |
D | AttributeResolver.kt | 34 if (resourceId == Resources.ID_NULL) { in getNullableDrawable()
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/ |
D | UtilsTest.kt | 301 .isNotEqualTo(Resources.ID_NULL) in getColorResId_validId_returnsNonZero() 306 assertThat(Utils.getColorResId(context, INVALID_ATTR_ID)).isEqualTo(Resources.ID_NULL) in getColorResId_inValidId_returnsZero()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | TipCardPreference.kt | 91 ?.takeIf { it != Resources.ID_NULL } in buildContent()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetItem.java | 110 return ATLEAST_S && widgetInfo != null && widgetInfo.previewLayout != Resources.ID_NULL; in hasPreviewLayout()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/ |
D | PermissionUsageDetailsViewModelLegacy.kt | 407 if (usage.appPermissionTimelineUsage.label == Resources.ID_NULL) null in <lambda>() 463 AppPermissionTimelineUsage(permissionGroup, app, groupUsage, Resources.ID_NULL) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/ |
D | AppPermissionUsage.java | 295 return Resources.ID_NULL; in getLabel() 352 label = Resources.ID_NULL; in getAttributionLabelledGroupUsages()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | LauncherAppWidgetInfo.java | 236 if (ATLEAST_S && providerInfo.previewLayout != Resources.ID_NULL) { in computeWidgetFeatures()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
D | ChooserActionFactoryTest.kt | 184 Icon.createWithResource("", Resources.ID_NULL), in createFactory()
|