Home
last modified time | relevance | path

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

123

/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-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/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()
DLayoutStyler.java21 import android.content.res.TypedArray;
109 TypedArray a = in applyPartnerCustomizationExtraPaddingStyle()
/external/skia/experimental/tskit/bindings/
Dmemory.ts8 export const copy1dArray = (arr: number[] | public_api.TypedArray | null,
19 export const freeIfNecessary = (ptr: number, arr: any[] | public_api.TypedArray): void => {
/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/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/skia/modules/canvaskit/
DWasmCommon.h22 using TypedArray = emscripten::val; variable
37 TypedArray MakeTypedArray(int count, const T src[], const char arrayType[]) { in MakeTypedArray()
/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()
DIntrinsicSizeFrameLayout.java21 import android.content.res.TypedArray;
65 final TypedArray a = in init()
DNavigationBar.java21 import android.content.res.TypedArray;
54 TypedArray attributes = in getNavbarTheme()
/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()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DProgressBarMixin.java20 import android.content.res.TypedArray;
71 final TypedArray a = in ProgressBarMixin()
/external/setupcompat/main/java/com/google/android/setupcompat/
DPartnerCustomizationLayout.java23 import android.content.res.TypedArray;
103 TypedArray a = in init()
159 TypedArray a = in onBeforeTemplateInflated()
/external/setupdesign/main/src/com/google/android/setupdesign/
DDividerItemDecoration.java20 import android.content.res.TypedArray;
86 final TypedArray a = context.obtainStyledAttributes(R.styleable.SudDividerItemDecoration); in DividerItemDecoration()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DWaveformView.java21 import android.content.res.TypedArray;
48 TypedArray a = context.getTheme().obtainStyledAttributes(attrs, in WaveformView()

123