Searched refs:fromResources (Results 1 – 12 of 12) sorted by relevance
42 assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider("")), in test_emptyPolicyProvider()48 assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider(null)), in test_nullPolicyProvider()54 assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_customPolicyProvider()62 DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_badPolicyProvider_notImplementingProviderInterface()68 assertThat(DeviceStatePolicy.Provider.fromResources( in test_badPolicyProvider_returnsDefault()
40 Assert.assertThat(DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider("")), in testFromResources_emptyProvider()46 Assert.assertThat(DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider(null)), in testFromResources_nullProvider()52 Assert.assertThat(DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider( in testFromResources_customProvider()59 DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider( in testFromResources_badProvider_notImplementingProviderInterface()67 DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider( in testFromResources_badProvider_doesntExist()
188 final DisplayAreaPolicy.Provider defaultProvider = DisplayAreaPolicy.Provider.fromResources( in testBuilder_defaultPolicy_hasOneHandedFeature()206 final DisplayAreaPolicy.Provider defaultProvider = DisplayAreaPolicy.Provider.fromResources( in testBuilder_defaultPolicy_hasWindowedMagnificationFeature()222 final DisplayAreaPolicy.Provider defaultProvider = DisplayAreaPolicy.Provider.fromResources( in testBuilder_defaultPolicy_hasFullscreenMagnificationFeature()239 final DisplayAreaPolicy.Provider defaultProvider = DisplayAreaPolicy.Provider.fromResources( in testBuilder_defaultPolicy_hasImePlaceholderFeature()
87 static Provider fromResources(@NonNull Resources res) { in fromResources() method
181 .fromResources(context.getResources()) in DeviceStateManagerService()
182 static Provider fromResources(Resources res) { in fromResources() method
3069 return RoundedCorners.fromResources( in loadRoundedCorners()
1386 mDisplayAreaPolicyProvider = DisplayAreaPolicy.Provider.fromResources( in WindowManagerService()
100 public static RoundedCorners fromResources( in fromResources() method in RoundedCorners
691 mInfo.roundedCorners = RoundedCorners.fromResources( in getDisplayDeviceInfoLocked()
20356 HSPLcom/android/server/devicestate/DeviceStatePolicy$Provider;->fromResources(Landroid/content/res/…52497 HSPLcom/android/server/wm/DisplayAreaPolicy$Provider;->fromResources(Landroid/content/res/Resources…
59769 Landroid/view/DisplayCutout;->fromResources(Landroid/content/res/Resources;II)Landroid/view/Display…