Home
last modified time | relevance | path

Searched refs:TypedArray (Results 1 – 25 of 98) sorted by relevance

1234

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypedArray.java14 import android.content.res.TypedArray;
29 @Implements(TypedArray.class)
31 @RealObject private TypedArray realTypedArray;
35 …public static TypedArray create(Resources realResources, int[] attrs, int[] data, int[] indices, i… in create()
36 TypedArray typedArray; in create()
38 typedArray = ReflectionHelpers.callConstructor(TypedArray.class, in create()
44 typedArray = ReflectionHelpers.callConstructor(TypedArray.class, in create()
61 return directlyOn(realTypedArray, TypedArray.class, "loadStringValueAt", in loadStringValueAt()
68 return directlyOn(realTypedArray, TypedArray.class).getString(index); in getNonResourceString()
73 return directlyOn(realTypedArray, TypedArray.class).getString(index); in getNonConfigurationString()
[all …]
DShadowResources.java17 import android.content.res.TypedArray;
85 protected TypedArray obtainAttributes(AttributeSet set, int[] attrs) { in obtainAttributes()
185 protected TypedArray obtainTypedArray(int id) throws Resources.NotFoundException { in obtainTypedArray()
188 TypedArray typedArray = shadowAssetManager.getTypedArrayResource(realResources, id); in obtainTypedArray()
290 protected TypedArray obtainStyledAttributes(int[] attrs) { in obtainStyledAttributes()
295 protected TypedArray obtainStyledAttributes(int resid, int[] attrs) in obtainStyledAttributes()
301 protected TypedArray obtainStyledAttributes( in obtainStyledAttributes()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypedArrayTest.java7 import android.content.res.TypedArray;
44 TypedArray typedArray = context.obtainStyledAttributes( in getInt_withFlags_shouldReturnValue()
59 TypedArray typedArray = context.obtainStyledAttributes( in getResourceId_shouldReturnActualValue()
75 TypedArray typedArray = context.obtainStyledAttributes( in getFraction_shouldReturnGivenValue()
91 TypedArray typedArray = context.obtainStyledAttributes( in getDimension_shouldReturnGivenValue()
101 TypedArray typedArray = context.obtainStyledAttributes( in getDrawable_withExplicitColorValue_shouldReturnColorDrawable()
112 TypedArray typedArray = context.obtainStyledAttributes( in getTextArray_whenNoSuchAttribute_shouldReturnNull()
126 TypedArray typedArray = context.obtainStyledAttributes( in getTextArray_shouldReturnValues()
135 TypedArray typedArray = context.obtainStyledAttributes( in hasValue_withValue()
144 TypedArray typedArray = context.obtainStyledAttributes( in hasValue_withoutValue()
[all …]
DShadowResourcesTest.java8 import android.content.res.TypedArray;
114 TypedArray typedArray = resources.obtainAttributes(attributeSet, new int[]{android.R.attr.id}); in obtainAttributes_shouldUseReferencedIdFromAttributeSet()
121 TypedArray typedArray = resources.obtainAttributes(Robolectric.buildAttributeSet() in obtainAttributes()
136 TypedArray typedArray = resources in obtainAttributes_shouldReturnValuesFromAttributeSet()
154 TypedArray typedArray = resources in obtainAttributes_shouldReturnValuesFromResources()
175 TypedArray typedArray = in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder()
204 TypedArray typedArray = in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
DShadowAssetManagerTest.java13 import android.content.res.TypedArray;
136 TypedArray typedArray = in multiFormatAttributes_integerDecimalValue()
148 TypedArray typedArray = in multiFormatAttributes_integerHexValue()
160 TypedArray typedArray = in multiFormatAttributes_stringValue()
172 TypedArray typedArray = in multiFormatAttributes_booleanValue()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypedArrayTest.java7 import android.content.res.TypedArray;
44 TypedArray typedArray = context.obtainStyledAttributes( in getInt_withFlags_shouldReturnValue()
59 TypedArray typedArray = context.obtainStyledAttributes( in getResourceId_shouldReturnActualValue()
75 TypedArray typedArray = context.obtainStyledAttributes( in getFraction_shouldReturnGivenValue()
91 TypedArray typedArray = context.obtainStyledAttributes( in getDimension_shouldReturnGivenValue()
101 TypedArray typedArray = context.obtainStyledAttributes( in getDrawable_withExplicitColorValue_shouldReturnColorDrawable()
112 TypedArray typedArray = context.obtainStyledAttributes( in getTextArray_whenNoSuchAttribute_shouldReturnNull()
126 TypedArray typedArray = context.obtainStyledAttributes( in getTextArray_shouldReturnValues()
136 TypedArray typedArray = context.obtainStyledAttributes( in hasValue_withValue()
146 TypedArray typedArray = context.obtainStyledAttributes( in hasValue_withoutValue()
[all …]
DShadowAssetManagerTest.java13 import android.content.res.TypedArray;
136 TypedArray typedArray = in multiFormatAttributes_integerDecimalValue()
148 TypedArray typedArray = in multiFormatAttributes_integerHexValue()
160 TypedArray typedArray = in multiFormatAttributes_stringValue()
172 TypedArray typedArray = in multiFormatAttributes_booleanValue()
DShadowResourcesTest.java13 import android.content.res.TypedArray;
146 TypedArray typedArray = in obtainStyledAttributes_shouldCheckXmlFirst_fromAttributeSetBuilder()
175 TypedArray typedArray = in obtainAttributes()
192 TypedArray typedArray = resources.obtainAttributes(attributeSet, new int[] {android.R.attr.id}); in obtainAttributes_shouldUseReferencedIdFromAttributeSet()
204 TypedArray typedArray = in obtainAttributes_shouldReturnValuesFromAttributeSet()
228 TypedArray typedArray = in obtainStyledAttributesShouldCheckXmlFirst_andFollowReferences()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypedArray.java14 import android.content.res.TypedArray;
31 @Implements(value = TypedArray.class, shadowPicker = ShadowTypedArray.Picker.class)
39 @RealObject private TypedArray realTypedArray;
43 …public static TypedArray create(Resources realResources, int[] attrs, int[] data, int[] indices, i… in create()
44 TypedArray typedArray; in create()
48 TypedArray.class, ClassParameter.from(Resources.class, realResources)); in create()
55 TypedArray.class, in create()
88 public static void dump(TypedArray typedArray) { in dump()
150 @ForType(TypedArray.class)
DShadowResources.java19 import android.content.res.TypedArray;
93 protected TypedArray obtainAttributes(AttributeSet set, int[] attrs) { in obtainAttributes()
197 protected TypedArray obtainTypedArray(int id) throws Resources.NotFoundException { in obtainTypedArray()
200 TypedArray typedArray = shadowAssetManager.getTypedArrayResource(realResources, id); in obtainTypedArray()
373 protected TypedArray obtainStyledAttributes(int[] attrs) { in obtainStyledAttributes()
378 protected TypedArray obtainStyledAttributes(int resid, int[] attrs) in obtainStyledAttributes()
384 protected TypedArray obtainStyledAttributes( in obtainStyledAttributes()
461 TypedArray obtainAttributes(AttributeSet set, int[] attrs); in obtainAttributes()
476 TypedArray obtainTypedArray(int id); in obtainTypedArray()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DPartnerStyleHelper.java21 import android.content.res.TypedArray;
116 TypedArray a = context.obtainStyledAttributes(new int[] {R.attr.sucUsePartnerResource}); in shouldApplyPartnerResource()
150 TypedArray a = context.obtainStyledAttributes(new int[] {R.attr.sudUsePartnerHeavyTheme}); in shouldApplyPartnerHeavyThemeResource()
183 TypedArray a = context.obtainStyledAttributes(new int[] {R.attr.sucFullDynamicColor}); in getDynamicColorAttributeFromTheme()
/external/replicaisland/src/com/replica/replicaisland/
DSliderPreference.java25 import android.content.res.TypedArray;
52 TypedArray a = context.obtainStyledAttributes(attrs, in SliderPreference()
97 protected Object onGetDefaultValue(TypedArray ta,int index) { in onGetDefaultValue()
/external/skia/experimental/tskit/interface/
Dmemory.ts8 export const copy1dArray = (arr: number[] | public_api.TypedArray | null,
19 export const freeIfNecessary = (ptr: number, arr: any[] | public_api.TypedArray): void => {
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DNumberPickerPreference.java20 import android.content.res.TypedArray;
45 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumberPickerPreference); in NumberPickerPreference()
77 protected Object onGetDefaultValue(TypedArray a, int index) { in onGetDefaultValue()
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DSystemNavBarMixin.java22 import android.content.res.TypedArray;
81 TypedArray a = in applyPartnerCustomizations()
96 TypedArray typedArray = in applyPartnerCustomizations()
248 TypedArray typedArray = in showSystemBars()
DStatusBarMixin.java22 import android.content.res.TypedArray;
86 TypedArray a = in StatusBarMixin()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DExpandableSwitchItem.java21 import android.content.res.TypedArray;
94 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudExpandableSwitchItem); in ExpandableSwitchItem()
194 final TypedArray a = in tintCompoundDrawables()
DSwitchItem.java20 import android.content.res.TypedArray;
62 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudSwitchItem); in SwitchItem()
DAbstractItemHierarchy.java20 import android.content.res.TypedArray;
42 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudAbstractItem); in AbstractItemHierarchy()
DButtonItem.java21 import android.content.res.TypedArray;
53 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudButtonItem); in ButtonItem()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DFillContentLayout.java20 import android.content.res.TypedArray;
65 TypedArray a = in init()
DNavigationBar.java21 import android.content.res.TypedArray;
54 TypedArray attributes = in getNavbarTheme()
/external/skia/modules/canvaskit/
DWasmCommon.h24 using TypedArray = emscripten::val; variable
64 template <typename T> TypedArray MakeTypedArray(int count, const T src[]) { in MakeTypedArray()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DAspectRatioFrameLayout.java19 import android.content.res.TypedArray;
104 TypedArray a = in AspectRatioFrameLayout()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DAspectRatioFrameLayout.java19 import android.content.res.TypedArray;
114 TypedArray a = context.getTheme().obtainStyledAttributes(attrs, in AspectRatioFrameLayout()

1234