/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | AlertController.java | 162 mAlertDialogLayout = a.getResourceId( in AlertController() 164 mButtonPanelSideLayout = a.getResourceId( in AlertController() 166 mListLayout = a.getResourceId( in AlertController() 169 mMultiChoiceItemLayout = a.getResourceId( in AlertController() 172 mSingleChoiceItemLayout = a.getResourceId( in AlertController() 175 mListItemLayout = a.getResourceId( in AlertController() 601 topBright = a.getResourceId(R.styleable.AlertDialog_topBright, topBright); in setBackground() 602 topDark = a.getResourceId(R.styleable.AlertDialog_topDark, topDark); in setBackground() 603 centerBright = a.getResourceId(R.styleable.AlertDialog_centerBright, centerBright); in setBackground() 604 centerDark = a.getResourceId(R.styleable.AlertDialog_centerDark, centerDark); in setBackground() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/ |
H A D | ParsedComponentUtils.java | 62 int roundIconVal = useRoundIcon ? array.getResourceId(roundIconAttr, 0) : 0; in parseComponent() 67 int iconVal = array.getResourceId(iconAttr, 0); in parseComponent() 74 int logoVal = array.getResourceId(logoAttr, 0); in parseComponent() 79 int bannerVal = array.getResourceId(bannerAttr, 0); in parseComponent() 85 component.setDescriptionRes(array.getResourceId(descriptionAttr, 0)); in parseComponent()
|
H A D | ParsedPermissionUtils.java | 93 .setRequestRes(sa.getResourceId( in parsePermission() 101 final int knownCertsResource = sa.getResourceId( in parsePermission() 238 …permissionGroup.setRequestDetailRes(sa.getResourceId(R.styleable.AndroidManifestPermissionGroup_re… in parsePermissionGroup() 239 ….setBackgroundRequestRes(sa.getResourceId(R.styleable.AndroidManifestPermissionGroup_backgroundReq… in parsePermissionGroup() 240 ….setBackgroundRequestDetailRes(sa.getResourceId(R.styleable.AndroidManifestPermissionGroup_backgro… in parsePermissionGroup() 241 … .setRequestRes(sa.getResourceId(R.styleable.AndroidManifestPermissionGroup_request, 0)) in parsePermissionGroup()
|
/aosp14/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountAuthenticatorCache.java | 65 final int labelId = sa.getResourceId( in parseServiceAttributes() 67 final int iconId = sa.getResourceId( in parseServiceAttributes() 69 final int smallIconId = sa.getResourceId( in parseServiceAttributes() 71 final int prefId = sa.getResourceId( in parseServiceAttributes()
|
/aosp14/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityShortcutInfo.java | 149 mDescriptionResId = asAttributes.getResourceId( in AccessibilityShortcutInfo() 152 mSummaryResId = asAttributes.getResourceId( in AccessibilityShortcutInfo() 155 mAnimatedImageRes = asAttributes.getResourceId( in AccessibilityShortcutInfo() 159 mHtmlDescriptionRes = asAttributes.getResourceId( in AccessibilityShortcutInfo() 169 mIntroResId = asAttributes.getResourceId( in AccessibilityShortcutInfo()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerPropertyTests.java | 51 assertEquals(0, p.getResourceId()); in testBooleanProperty() 76 assertEquals(0, p.getResourceId()); in testFloatProperty() 101 assertEquals(0, p.getResourceId()); in testIntegerProperty() 126 assertEquals(0x7f010001, p.getResourceId()); in testResourceProperty() 151 assertEquals(0, p.getResourceId()); in testStringProperty()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
H A D | FeatureFlagsRelease.java | 133 return isEnabledInternal(flag.getName(), mResources.getBoolean(flag.getResourceId())); in isEnabled() 171 requireNonNull(mResources.getString(flag.getResourceId()))); in getString() 197 return mResources.getInteger(flag.getResourceId()); in getInt() 234 def = mResources.getBoolean(f.getResourceId()); in dump() 257 def = mResources.getString(f.getResourceId()); in dump()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 215 mAlertDialogLayout = a.getResourceId( in AlertController() 217 mButtonPanelSideLayout = a.getResourceId( in AlertController() 219 mListLayout = a.getResourceId( in AlertController() 222 mMultiChoiceItemLayout = a.getResourceId( in AlertController() 225 mSingleChoiceItemLayout = a.getResourceId( in AlertController() 228 mListItemLayout = a.getResourceId( in AlertController() 882 topBright = a.getResourceId(R.styleable.AlertDialog_topBright, topBright); in setBackground() 883 topDark = a.getResourceId(R.styleable.AlertDialog_topDark, topDark); in setBackground() 884 centerBright = a.getResourceId(R.styleable.AlertDialog_centerBright, centerBright); in setBackground() 885 centerDark = a.getResourceId(R.styleable.AlertDialog_centerDark, centerDark); in setBackground() [all …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | SearchableInfo.java | 320 mLabelId = a.getResourceId(com.android.internal.R.styleable.Searchable_label, 0); in SearchableInfo() 321 mHintId = a.getResourceId(com.android.internal.R.styleable.Searchable_hint, 0); in SearchableInfo() 322 mIconId = a.getResourceId(com.android.internal.R.styleable.Searchable_icon, 0); in SearchableInfo() 323 mSearchButtonText = a.getResourceId( in SearchableInfo() 337 mSettingsDescriptionId = a.getResourceId( in SearchableInfo() 356 a.getResourceId(com.android.internal.R.styleable.Searchable_voiceLanguageModel, 0); in SearchableInfo() 358 a.getResourceId(com.android.internal.R.styleable.Searchable_voicePromptText, 0); in SearchableInfo() 360 a.getResourceId(com.android.internal.R.styleable.Searchable_voiceLanguage, 0); in SearchableInfo()
|
H A D | WallpaperInfo.java | 128 mThumbnailResource = sa.getResourceId( in WallpaperInfo() 131 mAuthorResource = sa.getResourceId( in WallpaperInfo() 134 mDescriptionResource = sa.getResourceId( in WallpaperInfo() 137 mContextUriResource = sa.getResourceId( in WallpaperInfo() 140 mContextDescriptionResource = sa.getResourceId( in WallpaperInfo()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | ViewStub.java | 114 mInflatedId = a.getResourceId(R.styleable.ViewStub_inflatedId, NO_ID); in ViewStub() 115 mLayoutResource = a.getResourceId(R.styleable.ViewStub_layout, 0); in ViewStub() 116 mID = a.getResourceId(R.styleable.ViewStub_id, NO_ID); in ViewStub()
|
H A D | MenuInflater.java | 378 … groupId = a.getResourceId(com.android.internal.R.styleable.MenuGroup_id, defaultGroupId); in readGroup() 396 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId); in readItem() 402 itemIconResId = a.getResourceId(com.android.internal.R.styleable.MenuItem_icon, 0); in readItem() 442 … itemActionViewLayout = a.getResourceId(com.android.internal.R.styleable.MenuItem_actionLayout, 0); in readItem()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ResizingSpace.java | 36 mWidth = a.getResourceId(android.R.styleable.ViewGroup_Layout_layout_width, 0); in ResizingSpace() 37 mHeight = a.getResourceId(android.R.styleable.ViewGroup_Layout_layout_height, 0); in ResizingSpace()
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A D | TransitionInflater.java | 255 int id = a.getResourceId(R.styleable.TransitionTarget_targetId, 0); in getTargetIds() 259 } else if ((id = a.getResourceId(R.styleable.TransitionTarget_excludeId, 0)) != 0) { in getTargetIds() 325 int transitionId = a.getResourceId(R.styleable.TransitionManager_transition, -1); in loadTransition() 326 int fromId = a.getResourceId(R.styleable.TransitionManager_fromScene, -1); in loadTransition() 328 int toId = a.getResourceId(R.styleable.TransitionManager_toScene, -1); in loadTransition()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | TvWindowMenuActionButton.java | 67 setImageResource(typedArray.getResourceId(0, 0)); in TvWindowMenuActionButton() 68 final int textResId = typedArray.getResourceId(1, 0); in TvWindowMenuActionButton()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/ |
H A D | SeekBarWithIconButtonsView.java | 98 int iconStartFrameContentDescriptionId = typedArray.getResourceId( in SeekBarWithIconButtonsView() 101 int iconEndFrameContentDescriptionId = typedArray.getResourceId( in SeekBarWithIconButtonsView() 114 int tickMarkId = typedArray.getResourceId( in SeekBarWithIconButtonsView()
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | FontResourcesParser.java | 175 int certsId = array.getResourceId(R.styleable.FontFamily_fontProviderCerts, 0); in readFamily() 188 boolean isArrayOfArrays = typedArray.getResourceId(0, 0) != 0; in readFamily() 191 int certId = typedArray.getResourceId(i, 0); in readFamily()
|
/aosp14/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | SimpleInflater.java | 128 int itemId = a.getResourceId(R.styleable.MenuItem_android_id, 0); in readItem() 133 int itemIconResId = a.getResourceId(R.styleable.MenuItem_android_icon, 0); in readItem()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailItemView.java | 73 mRegularStyle = a.getResourceId(attr, 0); in UserDetailItemView() 75 mActivatedStyle = a.getResourceId(attr, 0); in UserDetailItemView()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 1317 rules[LEFT_OF] = a.getResourceId(attr, 0); in LayoutParams() 1320 rules[RIGHT_OF] = a.getResourceId(attr, 0); in LayoutParams() 1323 rules[ABOVE] = a.getResourceId(attr, 0); in LayoutParams() 1326 rules[BELOW] = a.getResourceId(attr, 0); in LayoutParams() 1332 rules[ALIGN_LEFT] = a.getResourceId(attr, 0); in LayoutParams() 1335 rules[ALIGN_TOP] = a.getResourceId(attr, 0); in LayoutParams() 1338 rules[ALIGN_RIGHT] = a.getResourceId(attr, 0); in LayoutParams() 1365 rules[START_OF] = a.getResourceId(attr, 0); in LayoutParams() 1368 rules[END_OF] = a.getResourceId(attr, 0); in LayoutParams() 1371 rules[ALIGN_START] = a.getResourceId(attr, 0); in LayoutParams() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutParser.java | 381 final int iconResId = sa.getResourceId(R.styleable.Shortcut_icon, 0); in parseShortcutAttributes() 382 final int titleResId = sa.getResourceId(R.styleable.Shortcut_shortcutShortLabel, 0); in parseShortcutAttributes() 383 final int textResId = sa.getResourceId(R.styleable.Shortcut_shortcutLongLabel, 0); in parseShortcutAttributes() 384 final int disabledMessageResId = sa.getResourceId( in parseShortcutAttributes() 386 final int splashScreenThemeResId = sa.getResourceId( in parseShortcutAttributes()
|
/aosp14/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 114 … int resource = a.getResourceId(com.android.internal.R.styleable.LayoutAnimation_animation, 0); in LayoutAnimationController() 119 … resource = a.getResourceId(com.android.internal.R.styleable.LayoutAnimation_interpolator, 0); in LayoutAnimationController()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | PinShapeAdapter.kt | 31 val shape = availableShapes.getResourceId(i, 0)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | ShortcutParser.java | 109 final int iconResId = sa.getResourceId(R.styleable.Shortcut_icon, 0); in parseShortcut() 110 final int titleResId = sa.getResourceId(R.styleable.Shortcut_shortcutShortLabel, 0); in parseShortcut()
|
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | Food.java | 40 sIcons[i] = icons.getResourceId(i, 0); in getIcon()
|