Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/content/pm/
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()
209 if (mNeutralButtonTextResId != ID_NULL) { in saveToXml()
223 final int iconId = in.getAttributeInt(null, XML_ATTR_ICON_RES_ID, ID_NULL); in restoreFromXml()
224 final int titleId = in.getAttributeInt(null, XML_ATTR_TITLE_RES_ID, ID_NULL); in restoreFromXml()
227 in.getAttributeInt(null, XML_ATTR_BUTTON_TEXT_RES_ID, ID_NULL); in restoreFromXml()
232 in.getAttributeInt(null, XML_ATTR_DIALOG_MESSAGE_RES_ID, ID_NULL); in restoreFromXml()
235 if (iconId != ID_NULL) { in restoreFromXml()
[all …]
DPermissionGroupInfo.java19 import static android.content.res.Resources.ID_NULL;
139 this(ID_NULL, ID_NULL, ID_NULL); in PermissionGroupInfo()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java22 import static android.content.res.Resources.ID_NULL;
176 if (id != ID_NULL) { in loadCalendarDrawable()
186 int monoId = ta.getResourceId(IconProvider.getDay(), ID_NULL); in loadCalendarDrawable()
188 return monoId == ID_NULL ? drawable in loadCalendarDrawable()
211 return ID_NULL; in getDynamicIconId()
214 final int arrayId = metadata.getInt(key, ID_NULL); in getDynamicIconId()
215 if (arrayId == ID_NULL) { in getDynamicIconId()
216 return ID_NULL; in getDynamicIconId()
219 return resources.obtainTypedArray(arrayId).getResourceId(getDay(), ID_NULL); in getDynamicIconId()
224 return ID_NULL; in getDynamicIconId()
[all …]
DGraphicsUtils.java107 if (IconProvider.CONFIG_ICON_MASK_RES_ID != Resources.ID_NULL) { in getShapePath()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeDetails.java258 return Resources.ID_NULL; in getLabel()
265 return mIconBadge != Resources.ID_NULL; in hasBadge()
295 return Resources.ID_NULL; in getBadgeLabel()
307 return Resources.ID_NULL; in getBadgeColor()
441 private @DrawableRes int mIconBadge = Resources.ID_NULL;
442 private @DrawableRes int mBadgePlain = Resources.ID_NULL;
443 private @DrawableRes int mBadgeNoBackground = Resources.ID_NULL;
444 private @DrawableRes int mStatusBarIcon = Resources.ID_NULL;
445 private @StringRes int mAccessibilityString = Resources.ID_NULL;
618 return mIconBadge != Resources.ID_NULL; in hasBadge()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java192 assertEquals(Resources.ID_NULL, type.getBadgeLabel(-1)); in testUserTypeBuilder_createUserType()
198 assertEquals(Resources.ID_NULL, type.getBadgeColor(-100)); in testUserTypeBuilder_createUserType()
214 assertEquals(Resources.ID_NULL, type.getIconBadge()); in testUserTypeBuilder_defaults()
215 assertEquals(Resources.ID_NULL, type.getBadgePlain()); in testUserTypeBuilder_defaults()
216 assertEquals(Resources.ID_NULL, type.getBadgeNoBackground()); in testUserTypeBuilder_defaults()
217 assertEquals(Resources.ID_NULL, type.getStatusBarIcon()); in testUserTypeBuilder_defaults()
218 assertEquals(Resources.ID_NULL, type.getBadgeLabel(0)); in testUserTypeBuilder_defaults()
219 assertEquals(Resources.ID_NULL, type.getBadgeColor(0)); in testUserTypeBuilder_defaults()
220 assertEquals(Resources.ID_NULL, type.getLabel(0)); in testUserTypeBuilder_defaults()
366 assertEquals(Resources.ID_NULL, aospType.getIconBadge()); in testUserTypeFactoryCustomize_profile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordingAdapter.java60 if (description != Resources.ID_NULL) { in getOption()
85 R.string.screenrecord_device_audio_and_mic_label, Resources.ID_NULL); in getDropDownView()
87 return getOption(R.string.screenrecord_mic_label, Resources.ID_NULL); in getDropDownView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileConfig.kt50 get() = Resources.ID_NULL
52 get() = Resources.ID_NULL
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java24 import static android.content.res.Resources.ID_NULL;
135 : ID_NULL; in resolveIcon()
136 if (iconId != ID_NULL && mSuspendingAppResources != null) { in resolveIcon()
150 if (titleId != ID_NULL && mSuspendingAppResources != null) { in resolveTitle()
168 if (messageId != ID_NULL && mSuspendingAppResources != null) { in resolveDialogMessage()
207 if (buttonTextId != ID_NULL && mSuspendingAppResources != null) { in resolveNeutralButtonText()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DWindowDecoration.java239 outResult.mCaptionWidth = params.mCaptionWidthId != Resources.ID_NULL in updateViewsAndSurfaces()
519 return Resources.ID_NULL; in getCaptionHeightId()
523 return Resources.ID_NULL; in getCaptionViewId()
585 if (resourceId == Resources.ID_NULL) { in loadDimensionPixelSize()
592 if (resourceId == Resources.ID_NULL) { in loadDimension()
652 if (captionHeightId == Resources.ID_NULL || !mIsCaptionVisible) { in addCaptionInset()
683 mLayoutResId = Resources.ID_NULL; in reset()
684 mCaptionHeightId = Resources.ID_NULL; in reset()
685 mCaptionWidthId = Resources.ID_NULL; in reset()
689 mShadowRadiusId = Resources.ID_NULL; in reset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseDialog.kt38 else -> Resources.ID_NULL
63 else -> Resources.ID_NULL
/frameworks/base/core/java/android/view/inspector/
DInspectableProperty.java65 int attributeId() default Resources.ID_NULL; in attributeId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbConfirmActivity.java55 String message = (messageId != Resources.ID_NULL) in onResume()
DUsbPermissionActivity.java55 String message = (messageId != Resources.ID_NULL) in onResume()
DUsbAudioWarningDialogMessage.java103 return Resources.ID_NULL; in getMessageId()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
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()
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DUtils.java108 Resources.ID_NULL, description); in acquireLease()
131 Resources.ID_NULL, description); in acquireLease()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreUtils.java60 ? Resources.ID_NULL in getDescriptionResourceId()
/frameworks/base/core/java/android/view/
DDisplayCutout.java19 import static android.content.res.Resources.ID_NULL;
1133 ? array.getResourceId(index, ID_NULL) in getWaterfallInsets()
1134 : ID_NULL; in getWaterfallInsets()
1135 if (resourceId != ID_NULL) { in getWaterfallInsets()
1159 ? array.getResourceId(index, ID_NULL)
1160 : ID_NULL;
1161 final int[] rawOverrides = resourceId != ID_NULL
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubbleEducationControllerTest.kt121 Resources.ID_NULL, in createFakeBubble()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java20 import static android.content.res.Resources.ID_NULL;
107 private int mIgnoreOffsetTopLimitViewId = ID_NULL;
171 R.styleable.ResolverDrawerLayout_ignoreOffsetTopLimit, ID_NULL); in ResolverDrawerLayout()
1087 if (mIgnoreOffsetTopLimitViewId != ID_NULL && !isIgnoreOffsetLimitSet) {
1169 if (mIgnoreOffsetTopLimitViewId == ID_NULL) {
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedAttributionUtils.java66 if (label == Resources.ID_NULL) { in parseAttribution()
/frameworks/base/core/java/android/window/
DSplashScreen.java188 String themeName = themeId != Resources.ID_NULL in setSplashScreenTheme()
/frameworks/base/core/java/android/content/res/
DResources.java132 public static final @AnyRes int ID_NULL = 0; field in Resources
221 if (curTheme != ID_NULL) { in selectSystemTheme()
1910 return ID_NULL; in getExplicitStyle()
1913 if (styleAttr == ID_NULL) { in getExplicitStyle()
1914 return ID_NULL; in getExplicitStyle()
1926 return ID_NULL; in getExplicitStyle()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java165 int imageResourceId = Resources.ID_NULL; in loadIcon()
208 if (imageResourceId != Resources.ID_NULL) { in loadIcon()

123