Home
last modified time | relevance | path

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

12

/aosp14/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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserTypeTest.java169 assertEquals(Resources.ID_NULL, type.getBadgeLabel(-1)); in testUserTypeBuilder_createUserType()
175 assertEquals(Resources.ID_NULL, type.getBadgeColor(-100)); in testUserTypeBuilder_createUserType()
191 assertEquals(Resources.ID_NULL, type.getIconBadge()); in testUserTypeBuilder_defaults()
192 assertEquals(Resources.ID_NULL, type.getBadgePlain()); in testUserTypeBuilder_defaults()
193 assertEquals(Resources.ID_NULL, type.getBadgeNoBackground()); in testUserTypeBuilder_defaults()
194 assertEquals(Resources.ID_NULL, type.getBadgeLabel(0)); in testUserTypeBuilder_defaults()
195 assertEquals(Resources.ID_NULL, type.getBadgeColor(0)); in testUserTypeBuilder_defaults()
196 assertEquals(Resources.ID_NULL, type.getLabel()); in testUserTypeBuilder_defaults()
325 assertEquals(Resources.ID_NULL, aospType.getIconBadge()); in testUserTypeFactoryCustomize_profile()
417 assertEquals(Resources.ID_NULL, details.getBadgeColor(0)); in testUserTypeFactoryCustomize_full()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserTypeDetails.java239 return mIconBadge != Resources.ID_NULL; in hasBadge()
264 return Resources.ID_NULL; in getBadgeLabel()
276 return Resources.ID_NULL; in getBadgeColor()
400 private int mLabel = Resources.ID_NULL;
404 private @DrawableRes int mIconBadge = Resources.ID_NULL;
405 private @DrawableRes int mBadgePlain = Resources.ID_NULL;
406 private @DrawableRes int mBadgeNoBackground = Resources.ID_NULL;
564 return mIconBadge != Resources.ID_NULL; in hasBadge()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DWindowDecoration.java329 return Resources.ID_NULL; in getCaptionHeightId()
388 if (resourceId == Resources.ID_NULL) { in loadDimensionPixelSize()
395 if (resourceId == Resources.ID_NULL) { in loadDimension()
451 if (!ViewRootImpl.CAPTION_ON_SHELL || captionHeightId == Resources.ID_NULL) { in addCaptionInset()
476 mLayoutResId = Resources.ID_NULL; in reset()
477 mCaptionHeightId = Resources.ID_NULL; in reset()
478 mCaptionWidthId = Resources.ID_NULL; in reset()
479 mShadowRadiusId = Resources.ID_NULL; in reset()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DSuspendedAppActivity.java23 import static android.content.res.Resources.ID_NULL;
121 : ID_NULL; in resolveIcon()
122 if (iconId != ID_NULL && mSuspendingAppResources != null) { in resolveIcon()
136 if (titleId != ID_NULL && mSuspendingAppResources != null) { in resolveTitle()
154 if (messageId != ID_NULL && mSuspendingAppResources != null) { in resolveDialogMessage()
193 if (buttonTextId != ID_NULL && mSuspendingAppResources != null) { in resolveNeutralButtonText()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
H A DSensorUseDialog.kt38 else -> Resources.ID_NULL
63 else -> Resources.ID_NULL
/aosp14/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()
/aosp14/frameworks/base/core/java/android/view/inspector/
H A DInspectableProperty.java65 int attributeId() default Resources.ID_NULL; in attributeId()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbConfirmActivity.java55 String message = (messageId != Resources.ID_NULL) in onResume()
H A DUsbPermissionActivity.java55 String message = (messageId != Resources.ID_NULL) in onResume()
H A DUsbAudioWarningDialogMessage.java103 return Resources.ID_NULL; in getMessageId()
/aosp14/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
H A DUtils.java108 Resources.ID_NULL, description); in acquireLease()
131 Resources.ID_NULL, description); in acquireLease()
/aosp14/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
H A DBlobStoreUtils.java58 ? Resources.ID_NULL in getDescriptionResourceId()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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) {
/aosp14/frameworks/base/core/java/android/content/res/
H A DResources.java129 public static final @AnyRes int ID_NULL = 0; field in Resources
213 if (curTheme != ID_NULL) { in selectSystemTheme()
1899 return ID_NULL; in getExplicitStyle()
1902 if (styleAttr == ID_NULL) { in getExplicitStyle()
1903 return ID_NULL; in getExplicitStyle()
1915 return ID_NULL; in getExplicitStyle()
H A DXmlBlock.java19 import static android.content.res.Resources.ID_NULL;
87 return newParser(ID_NULL); in newParser()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DParsedAttributionUtils.java66 if (label == Resources.ID_NULL) { in parseAttribution()
/aosp14/frameworks/base/core/java/android/window/
H A DSplashScreen.java185 String themeName = themeId != Resources.ID_NULL in setSplashScreenTheme()
/aosp14/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()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A DBubbleTest.java216 return new Bubble("mockKey", shortcutInfo, 10, Resources.ID_NULL, in createBubbleWithShortcut()
/aosp14/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/
H A DIconPackOverlayTest.java171 if (targetRid == Resources.ID_NULL) { in containsAllOverlayedIcons()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileViewImpl.kt25 import android.content.res.Resources.ID_NULL
289 accessibilityTraversalAfter = previousView?.id ?: ID_NULL
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DTransitionAnimation.java255 int resId = Resources.ID_NULL; in loadAnimationAttr()
273 int resId = Resources.ID_NULL; in getAnimationResId()
286 int resId = Resources.ID_NULL; in getDefaultAnimationResId()
312 int resId = Resources.ID_NULL; in loadAnimationAttr()

12