Home
last modified time | relevance | path

Searched refs:ID_NULL (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/accessibility/shortcuts/
DShortcutOptionPreference.java48 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/
DSafetyCenterTestConfigs.kt145 .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/
DSafetyCenterResourcesApk.java229 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/
DIconProvider.java22 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()
DThemedIconDrawable.java20 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/
DHealthConnectResourcesContext.java204 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/
DAttributionLabelLiveData.kt21 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/
DActionRow.kt19 import android.content.res.Resources.ID_NULL
30 val id: Int = ID_NULL,
DResolverDrawerLayout.java20 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/
DBuilderUtils.java78 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/
DResources.java24 public static final int ID_NULL = 0; field in Resources
52 return ID_NULL; in getIdentifier()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetSections.java18 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/
DAttributionLabelLiveDataTest.kt20 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/
DSafetySourcesGroupTest.kt89 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()
DSafetySourceTest.kt99 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/
DControlBarMediaController.java106 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/
DPermissionUsageDetailsViewModel.kt284 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/
DAttributeResolver.kt34 if (resourceId == Resources.ID_NULL) { in getNullableDrawable()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/
DUtilsTest.kt301 .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/
DTipCardPreference.kt91 ?.takeIf { it != Resources.ID_NULL } in buildContent()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java110 return ATLEAST_S && widgetInfo != null && widgetInfo.previewLayout != Resources.ID_NULL; in hasPreviewLayout()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DPermissionUsageDetailsViewModelLegacy.kt407 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/
DAppPermissionUsage.java295 return Resources.ID_NULL; in getLabel()
352 label = Resources.ID_NULL; in getAttributionLabelledGroupUsages()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java236 if (ATLEAST_S && providerInfo.previewLayout != Resources.ID_NULL) { in computeWidgetFeatures()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DChooserActionFactoryTest.kt184 Icon.createWithResource("", Resources.ID_NULL), in createFactory()

12