Searched refs:fromResources (Results 1 – 13 of 13) sorted by relevance
42 Assert.assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider("")), in test_emptyPolicyProvider()48 Assert.assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider(null)), in test_nullPolicyProvider()54 Assert.assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_customPolicyProvider()62 DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_badPolicyProvider_notImplementingProviderInterface()70 DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_badPolicyProvider_doesntExist()
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
233 .fromResources(context.getResources()) in DeviceStateManagerService()
198 static Provider fromResources(Resources res) { in fromResources() method
3247 return RoundedCorners.fromResources( in loadRoundedCorners()
1436 mDisplayAreaPolicyProvider = DisplayAreaPolicy.Provider.fromResources( in WindowManagerService()
88 public static DisplayShape fromResources( in fromResources() method in DisplayShape
100 public static RoundedCorners fromResources( in fromResources() method in RoundedCorners
744 mInfo.roundedCorners = RoundedCorners.fromResources( in getDisplayDeviceInfoLocked()750 mInfo.displayShape = DisplayShape.fromResources( in getDisplayDeviceInfoLocked()
10009 PLcom/android/server/devicestate/DeviceStatePolicy$Provider;->fromResources(Landroid/content/res/Re…26598 PLcom/android/server/wm/DisplayAreaPolicy$Provider;->fromResources(Landroid/content/res/Resources;)…
59126 Landroid/view/DisplayCutout;->fromResources(Landroid/content/res/Resources;II)Landroid/view/Display…