/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/ |
D | RuntimeEnvironment.java | 97 Resources systemResources = Resources.getSystem(); in getQualifiers() 125 configuration = new Configuration(Resources.getSystem().getConfiguration()); in setQualifiers() 126 displayMetrics.setTo(Resources.getSystem().getDisplayMetrics()); in setQualifiers() 132 Resources systemResources = Resources.getSystem(); in setQualifiers()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/ |
D | RuntimeEnvironment.java | 174 Resources systemResources = Resources.getSystem(); in getQualifiers() 209 configuration = new Configuration(Resources.getSystem().getConfiguration()); in setQualifiers() 210 displayMetrics.setTo(Resources.getSystem().getDisplayMetrics()); in setQualifiers() 246 Resources.getSystem().updateConfiguration(configuration, displayMetrics); in updateConfiguration()
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/ |
D | TestSourceLocation.java | 17 assertEquals("c/d.xml", location.getSystem(path_b)); in testSourcePath() 18 assertEquals("c/d.xml", location.getSystem(path_b + "/")); // with trailing slash in testSourcePath()
|
D | TestCLDRFile.java | 159 assertEquals(testfile.toPath().toString(), location.getSystem(), "system for " + xpath); in testSourceLocale() 168 assertEquals(testfile.toPath().toString(), location.getSystem(), "system for " + xpath); in testSourceLocale() 177 assertEquals(rootfile.toPath().toString(), location.getSystem(), "system for " + xpath); in testSourceLocale()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUiAutomationTest.java | 81 assertThat(Resources.getSystem().getConfiguration().orientation) in setRotation_freeze90_rotatesToLandscape() 92 assertThat(Resources.getSystem().getConfiguration().orientation) in setRotation_freeze180_rotatesToPortrait() 103 assertThat(Resources.getSystem().getConfiguration().orientation) in setRotation_freezeCurrent_doesNothing()
|
D | LazyApplicationShadowTest.java | 22 Resources.getSystem(); in testResourcesGetSystem_doesNotCrash_whenLazyLoading()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | ResourceLoaderTest.java | 82 Configuration configuration = Resources.getSystem().getConfiguration(); in checkForPollutionHelper() 89 Resources.getSystem().updateConfiguration(configuration, null); in checkForPollutionHelper()
|
D | DrawableResourceLoaderTest.java | 51 assertNotNull(Resources.getSystem().getDrawable(android.R.drawable.ic_menu_help)); in testGetDrawable_red()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/android/ |
D | ResourceLoaderTest.java | 86 Configuration configuration = Resources.getSystem().getConfiguration(); in checkForPollutionHelper() 93 Resources.getSystem().updateConfiguration(configuration, null); in checkForPollutionHelper()
|
D | DrawableResourceLoaderTest.java | 51 assertNotNull(Resources.getSystem().getDrawable(android.R.drawable.ic_menu_help)); in testGetDrawable_red()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowLocaleManager.java | 61 Configuration configuration = Resources.getSystem().getConfiguration(); in getSystemLocales()
|
D | ShadowAssetManager.java | 83 AssetManager getSystem(); in getSystem() method
|
D | ShadowResources.java | 81 protected static Resources getSystem() { in getSystem() method in ShadowResources 83 AssetManager assetManager = AssetManager.getSystem(); in getSystem()
|
/external/lottie/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/tests/ |
D | ScaleTypesTestCase.kt | 94 …private val Number.dp get() = this.toFloat() * (Resources.getSystem().displayMetrics.densityDpi.to… in <lambda>()
|
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/content/res/ |
D | CopiedResourcesTest.java | 511 int id = Resources.getSystem().getIdentifier("btn_check_material_anim", "drawable", "android"); in getIdentifier_material() 546 assertThat(Resources.getSystem()).isInstanceOf(Resources.class); in getSystemShouldReturnSystemResources() 551 assertThat(Resources.getSystem()).isEqualTo(Resources.getSystem()); in multipleCallsToGetSystemShouldReturnSameInstance() 562 assertThat(Resources.getSystem().getIdentifier("copy", "string", "android")) in systemResourcesShouldReturnCorrectSystemId() 568 assertThat(Resources.getSystem().getIdentifier("copy", "string", context.getPackageName())) in systemResourcesShouldReturnZeroForLocalId()
|
D | ResourcesTest.java | 510 int id = Resources.getSystem().getIdentifier("btn_check_material_anim", "drawable", "android"); in getIdentifier_material() 545 assertThat(Resources.getSystem()).isInstanceOf(Resources.class); in getSystemShouldReturnSystemResources() 550 assertThat(Resources.getSystem()).isEqualTo(Resources.getSystem()); in multipleCallsToGetSystemShouldReturnSameInstance() 561 assertThat(Resources.getSystem().getIdentifier("copy", "string", "android")) in systemResourcesShouldReturnCorrectSystemId() 567 assertThat(Resources.getSystem().getIdentifier("copy", "string", context.getPackageName())) in systemResourcesShouldReturnZeroForLocalId()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/ |
D | RobolectricTestRunnerSelfTest.java | 41 Resources systemResources = Resources.getSystem(); in shouldSetUpSystemResources()
|
D | QualifiersTest.java | 113 Resources systemResources = Resources.getSystem(); in setQualifiers_updatesSystemAndAppResources()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | RobolectricTestRunnerSelfTest.java | 39 Resources systemResources = Resources.getSystem(); in shouldSetUpSystemResources()
|
D | QualifiersTest.java | 111 Resources systemResources = Resources.getSystem(); in setQualifiers_updatesSystemAndAppResources()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/android/ |
D | Bootstrap.java | 44 AssetManager.getSystem(), Bootstrap.displayMetrics, Bootstrap.configuration); in updateDisplayResources()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | XMLSource.java | 84 public String getSystem() { in getSystem() method in XMLSource.SourceLocation 118 return getSystem(basePath) + ":" + getLine() + ":" + getColumn() + ": "; in toString() 128 return "file=" + getSystem(basePath) + ",line=" + getLine() + ",col=" + getColumn(); in forGitHub() 144 public String getSystem(String basePath) { in getSystem() method in XMLSource.SourceLocation 145 String path = getSystem(); in getSystem()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowResources.java | 74 protected static Resources getSystem() { in getSystem() method in ShadowResources 76 AssetManager assetManager = AssetManager.getSystem(); in getSystem()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/android/internal/ |
D | AndroidTestEnvironmentTest.java | 294 Configuration configuration = Resources.getSystem().getConfiguration(); in whenDimensAndSizeSpecified_setQualifiers_should() 352 DisplayMetrics displayMetrics = Resources.getSystem().getDisplayMetrics(); in systemResources_getDisplayMetrics_correctValues()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SubtitleView.java | 212 resources = Resources.getSystem(); in setFixedTextSize()
|