Home
last modified time | relevance | path

Searched refs:getResourceId (Results 1 – 25 of 149) sorted by relevance

123456

/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedComponentUtils.java63 int roundIconVal = useRoundIcon ? array.getResourceId(roundIconAttr, 0) : 0; in parseComponent()
68 int iconVal = array.getResourceId(iconAttr, 0); in parseComponent()
75 int logoVal = array.getResourceId(logoAttr, 0); in parseComponent()
80 int bannerVal = array.getResourceId(bannerAttr, 0); in parseComponent()
86 component.descriptionRes = array.getResourceId(descriptionAttr, 0); in parseComponent()
DParsedPermissionUtils.java83 permission.requestRes = sa.getResourceId( in parsePermission()
196 …permissionGroup.requestDetailResourceId = sa.getResourceId(R.styleable.AndroidManifestPermissionGr… in parsePermissionGroup()
197 …permissionGroup.backgroundRequestResourceId = sa.getResourceId(R.styleable.AndroidManifestPermissi… in parsePermissionGroup()
198 …permissionGroup.backgroundRequestDetailResourceId = sa.getResourceId(R.styleable.AndroidManifestPe… in parsePermissionGroup()
199 …permissionGroup.requestRes = sa.getResourceId(R.styleable.AndroidManifestPermissionGroup_request, … in parsePermissionGroup()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java98 result = resource.getColor(resourceEntry.getResourceId(), null); in getColor()
140 resource.getValue(resourceEntry.getResourceId(), outValue, true); in getColorStateList()
145 result = resource.getColorStateList(resourceEntry.getResourceId(), null); in getColorStateList()
183 resource.getValue(resourceEntry.getResourceId(), outValue, true); in getDrawable()
188 result = resource.getDrawable(resourceEntry.getResourceId(), null); in getDrawable()
223 result = resource.getString(resourceEntry.getResourceId()); in getString()
269 result = resource.getDimension(resourceEntry.getResourceId()); in getDimension()
305 result = resource.getBoolean(resourceEntry.getResourceId()); in getBoolean()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountAuthenticatorCache.java64 final int labelId = sa.getResourceId( in parseServiceAttributes()
66 final int iconId = sa.getResourceId( in parseServiceAttributes()
68 final int smallIconId = sa.getResourceId( in parseServiceAttributes()
70 final int prefId = sa.getResourceId( in parseServiceAttributes()
/frameworks/base/core/java/android/net/
DIpSecTransform.java248 public int getResourceId() { in getResourceId() method in IpSecTransform
419 if (localSocket.getResourceId() == INVALID_RESOURCE_ID) { in setIpv4Encapsulation()
422 mConfig.setEncapSocketResourceId(localSocket.getResourceId()); in setIpv4Encapsulation()
456 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTransportModeTransform()
461 mConfig.setSpiResourceId(spi.getResourceId()); in buildTransportModeTransform()
495 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTunnelModeTransform()
500 mConfig.setSpiResourceId(spi.getResourceId()); in buildTunnelModeTransform()
DIpSecManager.java242 public int getResourceId() { in getResourceId() method in IpSecManager.SecurityParameterIndex
448 mService.applyTransportModeTransform(pfd, direction, transform.getResourceId()); in applyTransportModeTransform()
632 public int getResourceId() { in getResourceId() method in IpSecManager.UdpEncapsulationSocket
853 public int getResourceId() { in getResourceId() method in IpSecManager.IpSecTunnelInterface
924 tunnel.getResourceId(), direction, in applyTunnelModeTransform()
925 transform.getResourceId(), mContext.getOpPackageName()); in applyTunnelModeTransform()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityShortcutInfo.java137 mDescriptionResId = asAttributes.getResourceId( in AccessibilityShortcutInfo()
140 mSummaryResId = asAttributes.getResourceId( in AccessibilityShortcutInfo()
143 mAnimatedImageRes = asAttributes.getResourceId( in AccessibilityShortcutInfo()
147 mHtmlDescriptionRes = asAttributes.getResourceId( in AccessibilityShortcutInfo()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java214 mAlertDialogLayout = a.getResourceId( in AlertController()
216 mButtonPanelSideLayout = a.getResourceId( in AlertController()
218 mListLayout = a.getResourceId( in AlertController()
221 mMultiChoiceItemLayout = a.getResourceId( in AlertController()
224 mSingleChoiceItemLayout = a.getResourceId( in AlertController()
227 mListItemLayout = a.getResourceId( in AlertController()
881 topBright = a.getResourceId(R.styleable.AlertDialog_topBright, topBright); in setBackground()
882 topDark = a.getResourceId(R.styleable.AlertDialog_topDark, topDark); in setBackground()
883 centerBright = a.getResourceId(R.styleable.AlertDialog_centerBright, centerBright); in setBackground()
884 centerDark = a.getResourceId(R.styleable.AlertDialog_centerDark, centerDark); in setBackground()
[all …]
/frameworks/base/core/java/android/app/
DSearchableInfo.java320 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()
DWallpaperInfo.java127 mThumbnailResource = sa.getResourceId( in WallpaperInfo()
130 mAuthorResource = sa.getResourceId( in WallpaperInfo()
133 mDescriptionResource = sa.getResourceId( in WallpaperInfo()
136 mContextUriResource = sa.getResourceId( in WallpaperInfo()
139 mContextDescriptionResource = sa.getResourceId( in WallpaperInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DResizingSpace.java36 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()
/frameworks/base/core/java/android/view/
DViewStub.java114 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()
/frameworks/base/core/java/android/transition/
DTransitionInflater.java255 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()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java128 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()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java168 int certsId = array.getResourceId(R.styleable.FontFamily_fontProviderCerts, 0); in readFamily()
179 boolean isArrayOfArrays = typedArray.getResourceId(0, 0) != 0; in readFamily()
182 int certId = typedArray.getResourceId(i, 0); in readFamily()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailItemView.java71 mRegularStyle = a.getResourceId(attr, 0); in UserDetailItemView()
73 mActivatedStyle = a.getResourceId(attr, 0); in UserDetailItemView()
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java114 … 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlButtonView.java90 setImageResource(typedArray.getResourceId(0, 0)); in PipControlButtonView()
91 setText(typedArray.getResourceId(1, 0)); in PipControlButtonView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java75 template = a.getResourceId(R.styleable.SuwTemplateLayout_android_layout, 0); in init()
78 containerId = a.getResourceId(R.styleable.SuwTemplateLayout_suwContainer, 0); in init()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java266 mIgnoreGravity = a.getResourceId(R.styleable.RelativeLayout_ignoreGravity, View.NO_ID); in initFromAttributes()
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()
1329 rules[ALIGN_BASELINE] = 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()
1341 rules[ALIGN_BOTTOM] = a.getResourceId(attr, 0); in LayoutParams()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java69 int contentRootId = context.getResourceId(resource, 0); in AppCompatActionBar()
76 int parentId = context.getResourceId(parentResource, 0); in AppCompatActionBar()
210 int id = mBridgeContext.getResourceId(menuId, -1); in inflateMenus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java109 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()
/frameworks/layoutlib/bridge/src/android/view/
DLayoutInflater_Delegate.java96 final int themeResId = ta.getResourceId(0, 0); in parseInclude()
170 final int id = a.getResourceId( in parseInclude()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DFood.java40 sIcons[i] = icons.getResourceId(i, 0); in getIcon()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java577 public int getResourceId(int index, int defValue) { in getResourceId() method in BridgeTypedArray
600 return mContext.getResourceId(resValue.asReference(), defValue); in getResourceId()
645 idValue = Bridge.getResourceId(ResourceType.ID, resourceUrl.name); in getResourceId()
653 return mContext.getResourceId(referencedId, defValue); in getResourceId()
748 int id = getResourceId(index, 0); in getTextArray()

123456