Home
last modified time | relevance | path

Searched refs:obtainTypedArray (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/whitebalance/
DAmbientLuxTest.java125 when(mResourcesSpy.obtainTypedArray( in setUp()
128 when(mResourcesSpy.obtainTypedArray( in setUp()
131 when(mResourcesSpy.obtainTypedArray( in setUp()
134 when(mResourcesSpy.obtainTypedArray( in setUp()
138 when(mResourcesSpy.obtainTypedArray( in setUp()
141 when(mResourcesSpy.obtainTypedArray( in setUp()
144 when(mResourcesSpy.obtainTypedArray( in setUp()
147 when(mResourcesSpy.obtainTypedArray( in setUp()
150 when(mResourcesSpy.obtainTypedArray( in setUp()
153 when(mResourcesSpy.obtainTypedArray( in setUp()
[all …]
/frameworks/base/core/java/android/view/
DRoundedCorners.java193 final TypedArray array = res.obtainTypedArray(R.array.config_roundedCornerRadiusArray); in getRoundedCornerRadius()
221 final TypedArray array = res.obtainTypedArray(R.array.config_roundedCornerTopRadiusArray); in getRoundedCornerTopRadius()
243 final TypedArray array = res.obtainTypedArray( in getRoundedCornerBottomRadius()
266 final TypedArray array = res.obtainTypedArray( in getRoundedCornerRadiusAdjustment()
289 final TypedArray array = res.obtainTypedArray( in getRoundedCornerRadiusTopAdjustment()
313 final TypedArray array = res.obtainTypedArray( in getRoundedCornerRadiusBottomAdjustment()
335 final TypedArray array = res.obtainTypedArray(R.array.config_builtInDisplayIsRoundArray); in getBuiltInDisplayIsRound()
DDisplayCutout.java1086 final TypedArray array = res.obtainTypedArray(R.array.config_maskBuiltInDisplayCutoutArray); in getMaskBuiltInDisplayCutout()
1108 final TypedArray array = res.obtainTypedArray(R.array.config_fillBuiltInDisplayCutoutArray); in getFillBuiltInDisplayCutout()
1131 final TypedArray array = res.obtainTypedArray(R.array.config_waterfallCutoutArray); in getWaterfallInsets()
1136 final TypedArray waterfall = res.obtainTypedArray(resourceId); in getWaterfallInsets()
1156 final TypedArray array = res.obtainTypedArray(
DDisplayShape.java161 final TypedArray array = res.obtainTypedArray(R.array.config_displayShapeArray); in getSpecString()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPinShapeAdapter.kt28 val availableShapes = context.resources.obtainTypedArray(R.array.bouncer_pin_shapes)
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java105 fetchDrawableArray(mBtnBackgroundStyle1, res.obtainTypedArray(R.array.background_style1)); in init()
106 fetchDrawableArray(mBtnBackgroundStyle2, res.obtainTypedArray(R.array.background_style2)); in init()
107 fetchDrawableArray(mBtnBackgroundStyle3, res.obtainTypedArray(R.array.background_style3)); in init()
108 fetchDrawableArray(mBtnBackgroundStyle4, res.obtainTypedArray(R.array.background_style4)); in init()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DFood.java37 TypedArray icons = context.getResources().obtainTypedArray(R.array.food_icons); in getIcon()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DDrawableArrayWidget.java37 TypedArray drawableArray = context.getResources().obtainTypedArray(R.array.drawable_array); in DrawableArrayWidget()
/frameworks/base/core/tests/coretests/src/android/view/
DRoundedCornersTest.java241 when(mMockResources.obtainTypedArray(anyInt())).thenReturn(mMockTypedArray); in testGetRoundedCornerRadius_withRoundDevice_usesDisplayRadiusAsDefault()
262 when(mMockResources.obtainTypedArray(anyInt())).thenReturn(mMockTypedArray); in testGetRoundedCornerRadius_withRoundDevice_usesOverlayIfProvided()
281 when(mMockResources.obtainTypedArray(anyInt())).thenReturn(mMockTypedArray); in testGetRoundedCornerRadius_withNonRoundDevice_noDisplayDefault()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileIconCarrierIdOverrides.kt74 val ta = resources.obtainTypedArray(resId) in getOverrideFor()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java163 when(mMockedResources.obtainTypedArray(R.array.config_screenBrightnessNits)) in setUp()
177 when(mMockedResources.obtainTypedArray(R.array.config_maskBuiltInDisplayCutoutArray)) in setUp()
179 when(mMockedResources.obtainTypedArray(R.array.config_displayCutoutSideOverrideArray)) in setUp()
183 when(mMockedResources.obtainTypedArray(R.array.config_waterfallCutoutArray)) in setUp()
185 when(mMockedResources.obtainTypedArray(R.array.config_roundedCornerRadiusArray)) in setUp()
187 when(mMockedResources.obtainTypedArray(R.array.config_roundedCornerTopRadiusArray)) in setUp()
189 when(mMockedResources.obtainTypedArray(R.array.config_roundedCornerBottomRadiusArray)) in setUp()
191 when(mMockedResources.obtainTypedArray( in setUp()
197 when(mMockedResources.obtainTypedArray(R.array.config_displayShapeArray)) in setUp()
199 when(mMockedResources.obtainTypedArray(R.array.config_builtInDisplayIsRoundArray)) in setUp()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java185 TypedArray ta = td.mResources.obtainTypedArray(td.mResID); in loadCalendarDrawable()
219 return resources.obtainTypedArray(arrayId).getResourceId(getDay(), ID_NULL); in getDynamicIconId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DRoundedCornerResDelegate.kt153 res.obtainTypedArray(arrayResId).let { array -> in getDrawable()
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java107 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray() method in MockResources
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt161 val levels = res.obtainTypedArray(R.array.batterymeter_color_levels) in <lambda>()
162 val colors = res.obtainTypedArray(R.array.batterymeter_color_values) in <lambda>()
DBatteryMeterDrawableBase.java103 TypedArray levels = res.obtainTypedArray(R.array.batterymeter_color_levels); in BatteryMeterDrawableBase()
104 TypedArray colors = res.obtainTypedArray(R.array.batterymeter_color_values); in BatteryMeterDrawableBase()
/frameworks/base/services/core/java/com/android/server/notification/
DVibratorHelper.java203 TypedArray array = resources.obtainTypedArray(resId); in getFloatArray()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java108 when(mResources.obtainTypedArray(anyInt())).thenReturn(mockTypedArray); in setUp()
/frameworks/base/services/core/java/com/android/server/display/config/
DDisplayBrightnessMappingConfig.java141 .obtainTypedArray(com.android.internal.R.array in DisplayBrightnessMappingConfig()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java191 TypedArray array = resources.obtainTypedArray(id); in getFloatArray()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java437 getContext().getResources().obtainTypedArray(typedArrayResourceId)); in testExifInterfaceForJpeg()
452 getContext().getResources().obtainTypedArray(typedArrayResourceId)); in testExifInterfaceForRaw()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java185 TypedArray typedArray = resources.obtainTypedArray(certsId); in readFamily()
DResources.java506 final TypedArray array = obtainTypedArray(id); in preloadFonts()
740 public TypedArray obtainTypedArray(@ArrayRes int id) throws NotFoundException { in obtainTypedArray() method in Resources
2734 TypedArray ar = sysRes.obtainTypedArray( in preloadResources()
2742 ar = sysRes.obtainTypedArray( in preloadResources()
/frameworks/base/test-mock/api/
Dlint-baseline.txt138 MissingNullability: android.test.mock.MockResources#obtainTypedArray(int):
139 Missing nullability on method `obtainTypedArray` return
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt102 val ar = resources.obtainTypedArray(R.array.puzzles) in newPuzzle()

12