/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | SuspendDialogInfo.java | 19 import static android.content.res.Resources.ID_NULL; 196 if (mIconResId != ID_NULL) { in saveToXml() 199 if (mTitleResId != ID_NULL) { in saveToXml() 204 if (mDialogMessageResId != ID_NULL) { in saveToXml() 235 if (iconId != ID_NULL) { in restoreFromXml() 238 if (titleId != ID_NULL) { in restoreFromXml() 243 if (buttonTextId != ID_NULL) { in restoreFromXml() 296 if (mIconResId != ID_NULL) { in toString() 301 if (mTitleResId != ID_NULL) { in toString() 392 private int mTitleResId = ID_NULL; [all …]
|
H A D | PermissionGroupInfo.java | 19 import static android.content.res.Resources.ID_NULL; 139 this(ID_NULL, ID_NULL, ID_NULL); in PermissionGroupInfo()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceUserTypeTest.java | 141 assertEquals(Resources.ID_NULL, type.getBadgeLabel(-1)); in testUserTypeBuilder_createUserType() 147 assertEquals(Resources.ID_NULL, type.getBadgeColor(-100)); in testUserTypeBuilder_createUserType() 163 assertEquals(Resources.ID_NULL, type.getIconBadge()); in testUserTypeBuilder_defaults() 164 assertEquals(Resources.ID_NULL, type.getBadgePlain()); in testUserTypeBuilder_defaults() 165 assertEquals(Resources.ID_NULL, type.getBadgeNoBackground()); in testUserTypeBuilder_defaults() 166 assertEquals(Resources.ID_NULL, type.getBadgeLabel(0)); in testUserTypeBuilder_defaults() 167 assertEquals(Resources.ID_NULL, type.getBadgeColor(0)); in testUserTypeBuilder_defaults() 168 assertEquals(Resources.ID_NULL, type.getLabel()); in testUserTypeBuilder_defaults() 271 assertEquals(Resources.ID_NULL, aospType.getIconBadge()); in testUserTypeFactoryCustomize_profile() 329 assertEquals(Resources.ID_NULL, details.getBadgeColor(0)); in testUserTypeFactoryCustomize_full() [all …]
|
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserTypeDetails.java | 236 return mIconBadge != Resources.ID_NULL; in hasBadge() 261 return Resources.ID_NULL; in getBadgeLabel() 273 return Resources.ID_NULL; in getBadgeColor() 394 private int mLabel = Resources.ID_NULL; 398 private @DrawableRes int mIconBadge = Resources.ID_NULL; 399 private @DrawableRes int mBadgePlain = Resources.ID_NULL; 400 private @DrawableRes int mBadgeNoBackground = Resources.ID_NULL; 534 return mIconBadge != Resources.ID_NULL; in hasBadge()
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | SuspendedAppActivity.java | 23 import static android.content.res.Resources.ID_NULL; 120 : ID_NULL; in resolveIcon() 121 if (iconId != ID_NULL && mSuspendingAppResources != null) { in resolveIcon() 135 if (titleId != ID_NULL && mSuspendingAppResources != null) { in resolveTitle() 153 if (messageId != ID_NULL && mSuspendingAppResources != null) { in resolveDialogMessage() 192 if (buttonTextId != ID_NULL && mSuspendingAppResources != null) { in resolveNeutralButtonText()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
H A D | AttributionLabelLiveData.kt | 21 import android.content.res.Resources.ID_NULL 60 postValue(ID_NULL) 113 ID_NULL))
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
H A D | ScreenRecordingAdapter.java | 58 mMicOption = getOption(R.string.screenrecord_mic_label, Resources.ID_NULL); in initViews() 62 R.string.screenrecord_device_audio_and_mic_label, Resources.ID_NULL); in initViews() 76 if (description != Resources.ID_NULL) in getOption()
|
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | DetailAdapter.java | 51 return Resources.ID_NULL; in getSettingsText() 60 return Resources.ID_NULL; in getDoneText()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A 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()
|
/aosp12/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/data/ |
H A D | AttributionLabelLiveDataTest.kt | 20 import android.content.res.Resources.ID_NULL 54 assertThat(it).isEqualTo(ID_NULL)
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/ |
H A D | SensorUseDialog.kt | 38 else -> Resources.ID_NULL 63 else -> Resources.ID_NULL
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDetail.java | 157 int resId = mDetailAdapter != null ? mDetailAdapter.getDoneText() : Resources.ID_NULL; in updateDetailText() 159 (resId != Resources.ID_NULL) ? resId : R.string.quick_settings_done); in updateDetailText() 160 resId = mDetailAdapter != null ? mDetailAdapter.getSettingsText() : Resources.ID_NULL; in updateDetailText() 162 (resId != Resources.ID_NULL) ? resId : R.string.quick_settings_more_settings); in updateDetailText()
|
/aosp12/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
H A D | InspectionCompanionGenerator.java | 98 private static final int ID_NULL = 0; field in InspectionCompanionGenerator 395 if (property.getAttributeId() == ID_NULL) { in generateAttributeId() 396 return CodeBlock.of("$L", ID_NULL); in generateAttributeId()
|
/aosp12/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
H A D | Utils.java | 105 Resources.ID_NULL, description); in acquireLease() 128 Resources.ID_NULL, description); in acquireLease()
|
/aosp12/frameworks/base/core/java/android/view/inspector/ |
H A D | InspectableProperty.java | 65 int attributeId() default Resources.ID_NULL; in attributeId()
|
/aosp12/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
H A D | BlobStoreUtils.java | 58 ? Resources.ID_NULL in getDescriptionResourceId()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | WidgetItem.java | 70 return ATLEAST_S && widgetInfo != null && widgetInfo.previewLayout != Resources.ID_NULL; in hasPreviewLayout()
|
/aosp12/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 122 public static final @AnyRes int ID_NULL = 0; field in Resources 203 if (curTheme != ID_NULL) { in selectSystemTheme() 1869 return ID_NULL; in getExplicitStyle() 1872 if (styleAttr == ID_NULL) { in getExplicitStyle() 1873 return ID_NULL; in getExplicitStyle() 1885 return ID_NULL; in getExplicitStyle()
|
H A D | XmlBlock.java | 19 import static android.content.res.Resources.ID_NULL; 83 return newParser(ID_NULL); in newParser()
|
/aosp12/frameworks/base/core/java/android/content/pm/parsing/component/ |
H A D | ParsedAttributionUtils.java | 64 if (label == Resources.ID_NULL) { in parseAttribution()
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationHistoryProtoHelper.java | 165 int imageResourceId = Resources.ID_NULL; in loadIcon() 208 if (imageResourceId != Resources.ID_NULL) { in loadIcon()
|
/aosp12/frameworks/base/core/java/android/window/ |
H A D | SplashScreen.java | 180 String themeName = themeId != Resources.ID_NULL in setSplashScreenTheme()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
H A D | LauncherAppWidgetInfo.java | 250 if (ATLEAST_S && providerInfo.previewLayout != Resources.ID_NULL) { in computeWidgetFeatures()
|