Home
last modified time | relevance | path

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

123456

/frameworks/base/services/core/java/com/android/server/accounts/
DAccountAuthenticatorCache.java63 final int labelId = sa.getResourceId( in parseServiceAttributes()
65 final int iconId = sa.getResourceId( in parseServiceAttributes()
67 final int smallIconId = sa.getResourceId( in parseServiceAttributes()
69 final int prefId = sa.getResourceId( in parseServiceAttributes()
/frameworks/support/v4/java/android/support/v4/content/res/
DTypedArrayUtils.java50 public static @AnyRes int getResourceId(TypedArray a, @StyleableRes int index, in getResourceId() method in TypedArrayUtils
52 int val = a.getResourceId(fallbackIndex, defaultValue); in getResourceId()
53 return a.getResourceId(index, val); in getResourceId()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java60 final int resourceId = mWrapped.getResourceId(index, 0); in getDrawable()
70 final int resourceId = mWrapped.getResourceId(index, 0); in getDrawableIfKnown()
154 public int getResourceId(int index, int defValue) { in getResourceId() method in TintTypedArray
155 return mWrapped.getResourceId(index, defValue); in getResourceId()
DViewStubCompat.java57 mInflatedId = a.getResourceId(R.styleable.ViewStubCompat_android_inflatedId, NO_ID); in ViewStubCompat()
58 mLayoutResource = a.getResourceId(R.styleable.ViewStubCompat_android_layout, 0); in ViewStubCompat()
60 setId(a.getResourceId(R.styleable.ViewStubCompat_android_id, NO_ID)); in ViewStubCompat()
DActionBarContextView.java70 mTitleStyleRes = a.getResourceId( in ActionBarContextView()
72 mSubtitleStyleRes = a.getResourceId( in ActionBarContextView()
78 mCloseItemLayout = a.getResourceId( in ActionBarContextView()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java187 mAlertDialogLayout = a.getResourceId( in AlertController()
189 mButtonPanelSideLayout = a.getResourceId( in AlertController()
191 mListLayout = a.getResourceId( in AlertController()
194 mMultiChoiceItemLayout = a.getResourceId( in AlertController()
197 mSingleChoiceItemLayout = a.getResourceId( in AlertController()
200 mListItemLayout = a.getResourceId( in AlertController()
786 topBright = a.getResourceId(R.styleable.AlertDialog_topBright, topBright); in setBackground()
787 topDark = a.getResourceId(R.styleable.AlertDialog_topDark, topDark); in setBackground()
788 centerBright = a.getResourceId(R.styleable.AlertDialog_centerBright, centerBright); in setBackground()
789 centerDark = a.getResourceId(R.styleable.AlertDialog_centerDark, centerDark); in setBackground()
[all …]
/frameworks/base/core/java/android/view/
DViewStub.java111 mInflatedId = a.getResourceId(R.styleable.ViewStub_inflatedId, NO_ID); in ViewStub()
112 mLayoutResource = a.getResourceId(R.styleable.ViewStub_layout, 0); in ViewStub()
113 mID = a.getResourceId(R.styleable.ViewStub_id, NO_ID); in ViewStub()
DMenuInflater.java368 … groupId = a.getResourceId(com.android.internal.R.styleable.MenuGroup_id, defaultGroupId); in readGroup()
386 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId); in readItem()
392 itemIconResId = a.getResourceId(com.android.internal.R.styleable.MenuItem_icon, 0); in readItem()
410 … itemActionViewLayout = a.getResourceId(com.android.internal.R.styleable.MenuItem_actionLayout, 0); in readItem()
/frameworks/base/core/java/android/app/
DSearchableInfo.java316 mLabelId = a.getResourceId(com.android.internal.R.styleable.Searchable_label, 0); in SearchableInfo()
317 mHintId = a.getResourceId(com.android.internal.R.styleable.Searchable_hint, 0); in SearchableInfo()
318 mIconId = a.getResourceId(com.android.internal.R.styleable.Searchable_icon, 0); in SearchableInfo()
319 mSearchButtonText = a.getResourceId( in SearchableInfo()
333 mSettingsDescriptionId = a.getResourceId( in SearchableInfo()
352 a.getResourceId(com.android.internal.R.styleable.Searchable_voiceLanguageModel, 0); in SearchableInfo()
354 a.getResourceId(com.android.internal.R.styleable.Searchable_voicePromptText, 0); in SearchableInfo()
356 a.getResourceId(com.android.internal.R.styleable.Searchable_voiceLanguage, 0); in SearchableInfo()
DWallpaperInfo.java121 thumbnailRes = sa.getResourceId( in WallpaperInfo()
124 authorRes = sa.getResourceId( in WallpaperInfo()
127 descriptionRes = sa.getResourceId( in WallpaperInfo()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java62 Integer v = Bridge.getResourceId(ResourceType.ATTR, name); in getAttributeNameResource()
73 Integer v = mContext.getLayoutlibCallback().getResourceId(ResourceType.ATTR, name); in getAttributeNameResource()
274 id = Bridge.getResourceId(resource.getResourceType(), resource.getName()); in resolveResourceValue()
276 id = mContext.getLayoutlibCallback().getResourceId( in resolveResourceValue()
/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()
323 int transitionId = a.getResourceId(R.styleable.TransitionManager_transition, -1); in loadTransition()
324 int fromId = a.getResourceId(R.styleable.TransitionManager_fromScene, -1); in loadTransition()
326 int toId = a.getResourceId(R.styleable.TransitionManager_toScene, -1); in loadTransition()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java257 mIgnoreGravity = a.getResourceId(R.styleable.RelativeLayout_ignoreGravity, View.NO_ID); in initFromAttributes()
1261 rules[LEFT_OF] = a.getResourceId(attr, 0); in LayoutParams()
1264 rules[RIGHT_OF] = a.getResourceId(attr, 0); in LayoutParams()
1267 rules[ABOVE] = a.getResourceId(attr, 0); in LayoutParams()
1270 rules[BELOW] = a.getResourceId(attr, 0); in LayoutParams()
1273 rules[ALIGN_BASELINE] = a.getResourceId(attr, 0); in LayoutParams()
1276 rules[ALIGN_LEFT] = a.getResourceId(attr, 0); in LayoutParams()
1279 rules[ALIGN_TOP] = a.getResourceId(attr, 0); in LayoutParams()
1282 rules[ALIGN_RIGHT] = a.getResourceId(attr, 0); in LayoutParams()
1285 rules[ALIGN_BOTTOM] = a.getResourceId(attr, 0); in LayoutParams()
[all …]
DViewAnimator.java56 … int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); in ViewAnimator()
61 resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_outAnimation, 0); in ViewAnimator()
/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/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/tools/layoutlib/bridge/src/android/view/
DLayoutInflater_Delegate.java94 final int themeResId = ta.getResourceId(0, 0); in parseInclude()
163 final int id = a.getResourceId( in parseInclude()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DSupportMenuInflater.java350 groupId = a.getResourceId(R.styleable.MenuGroup_android_id, defaultGroupId); in readGroup()
369 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId); in readItem()
376 itemIconResId = a.getResourceId(R.styleable.MenuItem_android_icon, 0); in readItem()
394 itemActionViewLayout = a.getResourceId(R.styleable.MenuItem_actionLayout, 0); in readItem()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java177 mAlertDialogLayout = a.getResourceId(R.styleable.AlertDialog_android_layout, 0); in AlertController()
178 mButtonPanelSideLayout = a.getResourceId(R.styleable.AlertDialog_buttonPanelSideLayout, 0); in AlertController()
180 mListLayout = a.getResourceId(R.styleable.AlertDialog_listLayout, 0); in AlertController()
181 mMultiChoiceItemLayout = a.getResourceId(R.styleable.AlertDialog_multiChoiceItemLayout, 0); in AlertController()
183 .getResourceId(R.styleable.AlertDialog_singleChoiceItemLayout, 0); in AlertController()
184 mListItemLayout = a.getResourceId(R.styleable.AlertDialog_listItemLayout, 0); in AlertController()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DAppCompatViewInflater.java172 themeId = a.getResourceId(R.styleable.View_android_theme, 0); in themifyContext()
176 themeId = a.getResourceId(R.styleable.View_theme, 0); in themifyContext()
/frameworks/support/design/src/android/support/design/widget/
DNavigationView.java127 textAppearance = a.getResourceId(R.styleable.NavigationView_itemTextAppearance, 0); in NavigationView()
164 inflateMenu(a.getResourceId(R.styleable.NavigationView_menu, 0)); in NavigationView()
168 inflateHeaderView(a.getResourceId(R.styleable.NavigationView_headerLayout, 0)); in NavigationView()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java592 public int getResourceId(int index, int defValue) { in getResourceId() method in BridgeTypedArray
666 idValue = Bridge.getResourceId(ResourceType.ID, idName); in getResourceId()
668 … idValue = mContext.getLayoutlibCallback().getResourceId(ResourceType.ID, idName); in getResourceId()
685 idValue = Bridge.getResourceId(resValue.getResourceType(), in getResourceId()
688 idValue = mContext.getLayoutlibCallback().getResourceId( in getResourceId()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java97 label = sa.getResourceId(com.android.internal.R.styleable.SpellChecker_label, 0); in SpellCheckerInfo()
115 a.getResourceId(com.android.internal.R.styleable in SpellCheckerInfo()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java604 int entries = a.getResourceId(R.styleable.RestrictionEntry_entries, 0); in loadRestriction()
605 int entryValues = a.getResourceId(R.styleable.RestrictionEntry_entryValues, 0); in loadRestriction()
639 int resId = a.getResourceId(R.styleable.RestrictionEntry_defaultValue, 0); in loadRestriction()
/frameworks/base/core/java/com/android/internal/view/menu/
DExpandedMenuView.java48 … mAnimations = a.getResourceId(com.android.internal.R.styleable.MenuView_windowAnimationStyle, 0); in ExpandedMenuView()

123456