Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStatePolicyProviderTest.java42 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()
/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.java181 .fromResources(context.getResources()) in DeviceStateManagerService()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaPolicy.java182 static Provider fromResources(Resources res) { in fromResources() method
DDisplayContent.java3069 return RoundedCorners.fromResources( in loadRoundedCorners()
DWindowManagerService.java1386 mDisplayAreaPolicyProvider = DisplayAreaPolicy.Provider.fromResources( in WindowManagerService()
/frameworks/base/core/java/android/view/
DRoundedCorners.java100 public static RoundedCorners fromResources( in fromResources() method in RoundedCorners
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java691 mInfo.roundedCorners = RoundedCorners.fromResources( in getDisplayDeviceInfoLocked()
/frameworks/base/services/
Dart-profile20356 HSPLcom/android/server/devicestate/DeviceStatePolicy$Provider;->fromResources(Landroid/content/res/…
52497 HSPLcom/android/server/wm/DisplayAreaPolicy$Provider;->fromResources(Landroid/content/res/Resources…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59769 Landroid/view/DisplayCutout;->fromResources(Landroid/content/res/Resources;II)Landroid/view/Display…