Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DRegulatoryInfoDisplayActivityTest.java48 final int expectedResId = getResourceId("regulatory_info"); in getResourceId_noSkuProperty_shouldReturnDefaultLabel()
49 assertThat(mRegulatoryInfoDisplayActivity.getResourceId()).isEqualTo(expectedResId); in getResourceId_noSkuProperty_shouldReturnDefaultLabel()
57 final int expectedResId = getResourceId("regulatory_info_sku"); in getResourceId_noCooProperty_shouldReturnSkuLabel()
58 assertThat(mRegulatoryInfoDisplayActivity.getResourceId()).isEqualTo(expectedResId); in getResourceId_noCooProperty_shouldReturnSkuLabel()
66 final int expectedResId = getResourceId("regulatory_info_sku1_coo"); in getResourceId_hasSkuAndCooProperties_shouldReturnCooLabel()
67 assertThat(mRegulatoryInfoDisplayActivity.getResourceId()).isEqualTo(expectedResId); in getResourceId_hasSkuAndCooProperties_shouldReturnCooLabel()
75 final int expectedResId = getResourceId("regulatory_info_sku"); in getResourceId_noCorrespondingCooLabel_shouldReturnSkuLabel()
76 assertThat(mRegulatoryInfoDisplayActivity.getResourceId()).isEqualTo(expectedResId); in getResourceId_noCorrespondingCooLabel_shouldReturnSkuLabel()
79 private int getResourceId(String resourceName) { in getResourceId() method in RegulatoryInfoDisplayActivityTest
/packages/apps/LegacyCamera/src/com/android/camera/
DIconListPreference.java40 mSingleIconId = a.getResourceId( in IconListPreference()
42 mIconIds = getIds(res, a.getResourceId( in IconListPreference()
44 mLargeIconIds = getIds(res, a.getResourceId( in IconListPreference()
46 mImageIds = getIds(res, a.getResourceId( in IconListPreference()
81 ids[i] = array.getResourceId(i, 0); in getIds()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java286 int imageIds = a.getResourceId(R.styleable.MultiToggleImageButton_imageIds, 0); in parseAttributes()
290 int descIds = a.getResourceId(R.styleable.MultiToggleImageButton_contentDescriptionIds, 0); in parseAttributes()
306 mImageIds[i] = ids.getResourceId(i, 0); in overrideImageIds()
328 mDescIds[i] = ids.getResourceId(i, 0); in overrideContentDescriptions()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewDrawParams.java77 mPreviewBackgroundResId = mainKeyboardViewAttr.getResourceId( in KeyPreviewDrawParams()
81 mShowUpAnimatorResId = mainKeyboardViewAttr.getResourceId( in KeyPreviewDrawParams()
83 mDismissAnimatorResId = mainKeyboardViewAttr.getResourceId( in KeyPreviewDrawParams()
DKeyboardBuilder.java277 params.mMoreKeysTemplate = keyboardAttr.getResourceId( in parseKeyboardAttributes()
286 final int resourceId = keyboardAttr.getResourceId( in parseKeyboardAttributes()
403 final int codesArrayId = gridRowAttr.getResourceId( in parseGridRows()
405 final int textsArrayId = gridRowAttr.getResourceId( in parseGridRows()
537 keyboardLayout = keyboardAttr.getResourceId( in parseIncludeInternal()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java102 final int keyBackgroundId = keyboardViewAttr.getResourceId( in EmojiPalettesView()
104 mFunctionalKeyBackgroundId = keyboardViewAttr.getResourceId( in EmojiPalettesView()
106 mSpacebarBackgroundId = keyboardViewAttr.getResourceId( in EmojiPalettesView()
123 mCategoryIndicatorDrawableResId = emojiPalettesViewAttr.getResourceId( in EmojiPalettesView()
125 mCategoryIndicatorBackgroundResId = emojiPalettesViewAttr.getResourceId( in EmojiPalettesView()
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomWidgetParser.java131 …info.initialLayout = a.getResourceId(R.styleable.CustomAppWidgetProviderInfo_android_initialLayout… in newInfo()
132 info.icon = a.getResourceId(R.styleable.CustomAppWidgetProviderInfo_android_icon, 0); in newInfo()
133 …info.previewImage = a.getResourceId(R.styleable.CustomAppWidgetProviderInfo_android_previewImage, … in newInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMainKeyboardView.java227 final int languageOnSpacebarFadeoutAnimatorResId = mainKeyboardViewAttr.getResourceId( in MainKeyboardView()
229 final int altCodeKeyWhileTypingFadeoutAnimatorResId = mainKeyboardViewAttr.getResourceId( in MainKeyboardView()
231 final int altCodeKeyWhileTypingFadeinAnimatorResId = mainKeyboardViewAttr.getResourceId( in MainKeyboardView()
237 final int moreKeysKeyboardLayoutId = mainKeyboardViewAttr.getResourceId( in MainKeyboardView()
239 final int moreKeysKeyboardForActionLayoutId = mainKeyboardViewAttr.getResourceId( in MainKeyboardView()
/packages/apps/Settings/src/com/android/settings/widget/
DTwoStateButtonPreference.java51 final int textOnId = styledAttrs.getResourceId( in TwoStateButtonPreference()
54 final int textOffId = styledAttrs.getResourceId( in TwoStateButtonPreference()
DVideoPreference.java84 ? attributes.getResourceId(R.styleable.VideoPreference_animation, 0) in initialize()
91 ? attributes.getResourceId(R.styleable.VideoPreference_preview, 0) in initialize()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DTwoStateButtonPreference.java51 final int textOnId = styledAttrs.getResourceId( in TwoStateButtonPreference()
54 final int textOffId = styledAttrs.getResourceId( in TwoStateButtonPreference()
DVideoPreference.java81 ? attributes.getResourceId(R.styleable.VideoPreference_animation, 0) in initialize()
88 ? attributes.getResourceId(R.styleable.VideoPreference_preview, 0) in initialize()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeItemParser.java81 item.getResourceId(R.styleable.carVolumeItems_item_titleText, 0), in loadAudioUsageItems()
82 item.getResourceId(R.styleable.carVolumeItems_item_icon, 0))); in loadAudioUsageItems()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRegulatoryInfoDisplayActivity.java84 resId = getResourceId(); in onCreate()
122 private int getResourceId() { in getResourceId() method in RegulatoryInfoDisplayActivity
/packages/apps/Settings/src/com/android/settings/
DRegulatoryInfoDisplayActivity.java84 resId = getResourceId(); in onCreate()
123 int getResourceId() { in getResourceId() method in RegulatoryInfoDisplayActivity
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DSubRatingsFragment.java147 protected int getResourceId() { in getResourceId() method in SubRatingsFragment.RatingItem
192 protected int getResourceId() { in getResourceId() method in SubRatingsFragment.SubRatingItem
DRatingsFragment.java318 protected int getResourceId() { in getResourceId() method in RatingsFragment.RatingItem
377 protected int getResourceId() { in getResourceId() method in RatingsFragment.AttributionItem
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DPackageIconLoader.java147 OpenResourceIdResult r = getResourceId(uri); in getDrawable()
186 private OpenResourceIdResult getResourceId(Uri uri) throws FileNotFoundException { in getResourceId() method in PackageIconLoader
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java1129 return colorRes.getResourceId(modeIndex, 0); in getCameraThemeColorId()
1148 return cameraModesIcons.getResourceId(modeIndex, 0); in getCameraModeIconResId()
1202 return shutterIcons.getResourceId(modeIndex, 0); in getCameraShutterIconId()
1239 return cameraModesIcons.getResourceId(modeIndex, 0); in getCameraModeCoverIconResId()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DFrameLayoutWithShadows.java165 setDefaultShadowResourceId(a.getResourceId( in initFromAttributes()
167 setDrawableBottomResourceId(a.getResourceId( in initFromAttributes()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DRadioButtonItem.java31 protected int getResourceId() { in getResourceId() method in RadioButtonItem
DSwitchItem.java40 protected int getResourceId() { in getResourceId() method in SwitchItem
DDividerItem.java34 protected int getResourceId() { in getResourceId() method in DividerItem
DActionItem.java37 protected int getResourceId() { in getResourceId() method in ActionItem
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentsSwipeRefreshLayout.java48 @ColorRes int colorId = a.getResourceId(0, -1); in DocumentsSwipeRefreshLayout()

123