Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/java/android/content/pm/
H A DSuspendDialogInfo.java19 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 DPermissionGroupInfo.java19 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 DUserManagerServiceUserTypeTest.java141 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 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()
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserTypeDetails.java236 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 DSuspendedAppActivity.java23 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 DAttributionLabelLiveData.kt21 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 DScreenRecordingAdapter.java58 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 DDetailAdapter.java51 return Resources.ID_NULL; in getSettingsText()
60 return Resources.ID_NULL; in getDoneText()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A 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()
/aosp12/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/data/
H A DAttributionLabelLiveDataTest.kt20 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 DSensorUseDialog.kt38 else -> Resources.ID_NULL
63 else -> Resources.ID_NULL
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetail.java157 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 DInspectionCompanionGenerator.java98 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 DUtils.java105 Resources.ID_NULL, description); in acquireLease()
128 Resources.ID_NULL, description); in acquireLease()
/aosp12/frameworks/base/core/java/android/view/inspector/
H A DInspectableProperty.java65 int attributeId() default Resources.ID_NULL; in attributeId()
/aosp12/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
H A DBlobStoreUtils.java58 ? Resources.ID_NULL in getDescriptionResourceId()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DWidgetItem.java70 return ATLEAST_S && widgetInfo != null && widgetInfo.previewLayout != Resources.ID_NULL; in hasPreviewLayout()
/aosp12/frameworks/base/core/java/android/content/res/
H A DResources.java122 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 DXmlBlock.java19 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 DParsedAttributionUtils.java64 if (label == Resources.ID_NULL) { in parseAttribution()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationHistoryProtoHelper.java165 int imageResourceId = Resources.ID_NULL; in loadIcon()
208 if (imageResourceId != Resources.ID_NULL) { in loadIcon()
/aosp12/frameworks/base/core/java/android/window/
H A DSplashScreen.java180 String themeName = themeId != Resources.ID_NULL in setSplashScreenTheme()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/data/
H A DLauncherAppWidgetInfo.java250 if (ATLEAST_S && providerInfo.previewLayout != Resources.ID_NULL) { in computeWidgetFeatures()

12