Home
last modified time | relevance | path

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

123456

/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/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java94 result = resource.getColor(resourceEntry.getResourceId(), null); in getColor()
132 resource.getValue(resourceEntry.getResourceId(), outValue, true); in getDrawable()
137 result = resource.getDrawable(resourceEntry.getResourceId(), null); in getDrawable()
172 result = resource.getString(resourceEntry.getResourceId()); in getString()
218 result = resource.getDimension(resourceEntry.getResourceId()); in getDimension()
254 result = resource.getBoolean(resourceEntry.getResourceId()); in getBoolean()
/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()
850 topBright = a.getResourceId(R.styleable.AlertDialog_topBright, topBright); in setBackground()
851 topDark = a.getResourceId(R.styleable.AlertDialog_topDark, topDark); in setBackground()
852 centerBright = a.getResourceId(R.styleable.AlertDialog_centerBright, centerBright); in setBackground()
853 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/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()
DMenuInflater.java378 … 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()
/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/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/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/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/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationButton.java69 mSelectedIconResourceId = typedArray.getResourceId( in CarNavigationButton()
76 mIconResourceId = a.getResourceId(com.android.internal.R.styleable.ImageView_src, 0); in CarNavigationButton()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java265 mIgnoreGravity = a.getResourceId(R.styleable.RelativeLayout_ignoreGravity, View.NO_ID); in initFromAttributes()
1316 rules[LEFT_OF] = a.getResourceId(attr, 0); in LayoutParams()
1319 rules[RIGHT_OF] = a.getResourceId(attr, 0); in LayoutParams()
1322 rules[ABOVE] = a.getResourceId(attr, 0); in LayoutParams()
1325 rules[BELOW] = a.getResourceId(attr, 0); in LayoutParams()
1328 rules[ALIGN_BASELINE] = a.getResourceId(attr, 0); in LayoutParams()
1331 rules[ALIGN_LEFT] = a.getResourceId(attr, 0); in LayoutParams()
1334 rules[ALIGN_TOP] = a.getResourceId(attr, 0); in LayoutParams()
1337 rules[ALIGN_RIGHT] = a.getResourceId(attr, 0); in LayoutParams()
1340 rules[ALIGN_BOTTOM] = a.getResourceId(attr, 0); in LayoutParams()
[all …]
DViewAnimator.java60 … int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); in ViewAnimator()
65 resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_outAnimation, 0); in ViewAnimator()
/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/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/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/packages/SystemUI/tests/src/com/android/systemui/
DIconPackOverlayTest.java99 int sysuiRid = mOverlayableIcons.getResourceId(i, 0); in testIconPack_containAllOverlayedIcons()
135 int sysuiRid = mOverlayableIcons.getResourceId(i, 0); in testIconPacks_haveEqualVectorDrawableAttributes()
/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/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java554 public int getResourceId(int index, int defValue) { in getResourceId() method in BridgeTypedArray
577 return mContext.getResourceId(resValue.asReference(), defValue); in getResourceId()
622 idValue = Bridge.getResourceId(ResourceType.ID, resourceUrl.name); in getResourceId()
630 return mContext.getResourceId(referencedId, defValue); in getResourceId()
725 int id = getResourceId(index, 0); in getTextArray()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutParser.java381 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()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java609 int entries = a.getResourceId(R.styleable.RestrictionEntry_entries, 0); in loadRestriction()
610 int entryValues = a.getResourceId(R.styleable.RestrictionEntry_entryValues, 0); in loadRestriction()
644 int resId = a.getResourceId(R.styleable.RestrictionEntry_defaultValue, 0); in loadRestriction()

123456