/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTypedArrayTest.java | 29 assertNotNull(context.obtainStyledAttributes(new int[]{}).getResources()); in getResources() 34 …assertThat(context.obtainStyledAttributes(new int[]{android.R.attr.alpha}).getInt(0, -1)).isEqualT… in getInt_shouldReturnDefaultValue() 39 …assertThat(context.obtainStyledAttributes(new int[]{android.R.attr.alpha}).getInteger(0, -1)).isEq… in getInteger_shouldReturnDefaultValue() 44 TypedArray typedArray = context.obtainStyledAttributes( in getInt_withFlags_shouldReturnValue() 54 …assertThat(context.obtainStyledAttributes(new int[]{android.R.attr.alpha}).getResourceId(0, -1)).i… in getResourceId_shouldReturnDefaultValue() 59 TypedArray typedArray = context.obtainStyledAttributes( in getResourceId_shouldReturnActualValue() 69 assertThat(context.obtainStyledAttributes(new int[]{android.R.attr.width}).getDimension(0, -1f)) in getFraction_shouldReturnDefaultValue() 75 TypedArray typedArray = context.obtainStyledAttributes( in getFraction_shouldReturnGivenValue() 86 …assertThat(context.obtainStyledAttributes(new int[]{android.R.attr.width}).getDimension(0, -1f)).i… in getDimension_shouldReturnDefaultValue() 91 TypedArray typedArray = context.obtainStyledAttributes( in getDimension_shouldReturnGivenValue() [all …]
|
D | ShadowThemeTest.java | 84 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.string1}).hasValue(0)).isFalse(); in forStylesWithImplicitParents_shouldInheritValuesNotDefinedInChild() 90 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in shouldApplyParentStylesFromAttrs() 97 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in applyStyle_shouldOverrideParentAttrs() 104 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in applyStyle_shouldOverrideImplicitParentAttrs() 111 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.child_string}).getString(0)) in applyStyle_shouldInheritParentAttrs() 113 assertThat(theme.obtainStyledAttributes(new int[] {R.attr.parent_string}).getString(0)) in applyStyle_shouldInheritParentAttrs() 121 assertThat(theme1.obtainStyledAttributes(new int[]{R.attr.string1}).getString(0)) in setTo_shouldCopyAllAttributesToEmptyTheme() 127 assertThat(theme2.obtainStyledAttributes(new int[]{R.attr.string1}).getString(0)) in setTo_shouldCopyAllAttributesToEmptyTheme() 140 assertThat(destTheme.obtainStyledAttributes(new int[]{R.attr.string1}).getString(0)) in setTo_whenDestThemeIsModified_sourceThemeShouldNotMutate() 142 assertThat(sourceTheme.obtainStyledAttributes(new int[]{R.attr.string1}).getString(0)) in setTo_whenDestThemeIsModified_sourceThemeShouldNotMutate() [all …]
|
D | ShadowContextTest.java | 69 assertThat(context.obtainStyledAttributes(new int[0])).isNotNull(); in shouldStubThemeStuff() 70 assertThat(context.obtainStyledAttributes(0, new int[0])).isNotNull(); in shouldStubThemeStuff() 71 assertThat(context.obtainStyledAttributes(null, new int[0])).isNotNull(); in shouldStubThemeStuff() 72 assertThat(context.obtainStyledAttributes(null, new int[0], 0, 0)).isNotNull(); in shouldStubThemeStuff() 258 TypedArray a = context.obtainStyledAttributes(roboAttributeSet, R.styleable.CustomView); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() 266 …TypedArray typedArray = context.obtainStyledAttributes(roboAttributeSet, new int[]{R.attr.quitKeyC… in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()
|
D | ShadowResourcesTest.java | 178 .obtainStyledAttributes( in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder() 207 .obtainStyledAttributes( in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowResources.java | 290 protected TypedArray obtainStyledAttributes(int[] attrs) { in obtainStyledAttributes() method in ShadowResources.ShadowLegacyTheme 291 return obtainStyledAttributes(0, attrs); in obtainStyledAttributes() 295 protected TypedArray obtainStyledAttributes(int resid, int[] attrs) in obtainStyledAttributes() method in ShadowResources.ShadowLegacyTheme 297 return obtainStyledAttributes(null, attrs, 0, resid); in obtainStyledAttributes() 301 protected TypedArray obtainStyledAttributes( in obtainStyledAttributes() method in ShadowResources.ShadowLegacyTheme
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | ExpandableSwitchItem.java | 76 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudExpandableSwitchItem); in ExpandableSwitchItem() 175 view.getContext().obtainStyledAttributes(new int[] {android.R.attr.textColorPrimary}); in tintCompoundDrawables()
|
D | SwitchItem.java | 62 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudSwitchItem); in SwitchItem()
|
D | AbstractItemHierarchy.java | 41 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudAbstractItem); in AbstractItemHierarchy()
|
D | ButtonItem.java | 53 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudButtonItem); in ButtonItem()
|
D | Item.java | 55 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudItem); in Item()
|
/external/setupcompat/main/java/com/google/android/setupcompat/template/ |
D | SystemNavBarMixin.java | 79 .obtainStyledAttributes(attrs, R.styleable.SucSystemNavBarMixin, defStyleAttr, 0); in applyPartnerCustomizations() 204 context.obtainStyledAttributes( in showSystemBars()
|
D | StatusBarMixin.java | 89 .obtainStyledAttributes(attrs, R.styleable.SucStatusBarMixin, defStyleAttr, 0); in StatusBarMixin()
|
/external/setupcompat/main/java/com/google/android/setupcompat/ |
D | PartnerCustomizationLayout.java | 89 .obtainStyledAttributes( in init() 147 .obtainStyledAttributes( in onBeforeTemplateInflated()
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | IntrinsicSizeFrameLayout.java | 58 context.obtainStyledAttributes( in init()
|
D | FillContentLayout.java | 62 context.obtainStyledAttributes(attrs, R.styleable.SudFillContentLayout, defStyleAttr, 0); in init()
|
D | NavigationBar.java | 55 context.obtainStyledAttributes( in getNavbarTheme()
|
D | StickyHeaderListView.java | 78 .obtainStyledAttributes(attrs, R.styleable.SudStickyHeaderListView, defStyleAttr, 0); in init()
|
D | Illustration.java | 75 getContext().obtainStyledAttributes(attrs, R.styleable.SudIllustration, defStyleAttr, 0); in init()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SliderPreference.java | 52 TypedArray a = context.obtainStyledAttributes(attrs, in SliderPreference()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | NumberPickerPreference.java | 43 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumberPickerPreference); in NumberPickerPreference()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | DividerItemDecoration.java | 86 final TypedArray a = context.obtainStyledAttributes(R.styleable.SudDividerItemDecoration); in DividerItemDecoration()
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | ListMixin.java | 60 context.obtainStyledAttributes(attrs, R.styleable.SudListMixin, defStyleAttr, 0); in ListMixin()
|
D | RecyclerMixin.java | 104 context.obtainStyledAttributes(attrs, R.styleable.SudRecyclerMixin, defStyleAttr, 0); in parseAttributes()
|
D | IconMixin.java | 70 context.obtainStyledAttributes(attrs, R.styleable.SudIconMixin, defStyleAttr, 0); in IconMixin()
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | TemplateLayout.java | 75 getContext().obtainStyledAttributes(attrs, R.styleable.SucTemplateLayout, defStyleAttr, 0); in init()
|