Home
last modified time | relevance | path

Searched refs:fromResources (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStatePolicyProviderTest.java42 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()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaProviderTest.java40 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()
DDisplayAreaPolicyBuilderTest.java188 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()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStatePolicy.java87 static Provider fromResources(@NonNull Resources res) { in fromResources() method
DDeviceStateManagerService.java233 .fromResources(context.getResources()) in DeviceStateManagerService()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaPolicy.java198 static Provider fromResources(Resources res) { in fromResources() method
DDisplayContent.java3247 return RoundedCorners.fromResources( in loadRoundedCorners()
DWindowManagerService.java1436 mDisplayAreaPolicyProvider = DisplayAreaPolicy.Provider.fromResources( in WindowManagerService()
/frameworks/base/core/java/android/view/
DDisplayShape.java88 public static DisplayShape fromResources( in fromResources() method in DisplayShape
DRoundedCorners.java100 public static RoundedCorners fromResources( in fromResources() method in RoundedCorners
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java744 mInfo.roundedCorners = RoundedCorners.fromResources( in getDisplayDeviceInfoLocked()
750 mInfo.displayShape = DisplayShape.fromResources( in getDisplayDeviceInfoLocked()
/frameworks/base/services/
Dart-wear-profile10009 PLcom/android/server/devicestate/DeviceStatePolicy$Provider;->fromResources(Landroid/content/res/Re…
26598 PLcom/android/server/wm/DisplayAreaPolicy$Provider;->fromResources(Landroid/content/res/Resources;)…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59126 Landroid/view/DisplayCutout;->fromResources(Landroid/content/res/Resources;II)Landroid/view/Display…