Home
last modified time | relevance | path

Searched refs:getConfiguration (Results 1 – 25 of 50) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java48 …assertThat(resources.getConfiguration().orientation).isEqualTo(Configuration.ORIENTATION_LANDSCAPE… in orientation()
53 Locale locale = resources.getConfiguration().locale; in shouldBeEnglish()
59 Locale locale = resources.getConfiguration().locale; in shouldBeJapanese()
65 Locale locale = resources.getConfiguration().locale; in shouldBeFrench()
86 assertThat(resources.getConfiguration().smallestScreenWidthDp).isEqualTo(320); in inflateLayout_defaultsTo_sw320dp()
95 assertThat(resources.getConfiguration().smallestScreenWidthDp).isEqualTo(720); in inflateLayout_overridesTo_sw720dp()
106 assertThat(resources.getConfiguration().screenWidthDp).isEqualTo(320); in defaultScreenWidth()
114 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
116 assertThat(appResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
120 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
[all …]
/external/libtextclassifier/java/src/com/android/textclassifier/common/base/
DLocaleCompat.java59 return context.getResources().getConfiguration().getLocales().toLanguageTags(); in getResourceLanguageTags()
67 return context.getResources().getConfiguration().locale.toLanguageTag(); in getResourceLanguageTags()
79 return context.getResources().getConfiguration().locale.getLanguage(); in getResourceLanguageTags()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/base/
DLocaleCompatTest.java58 .getConfiguration() in getResourceLanguageTags_minApi24()
72 .getConfiguration() in getResourceLanguageTags_minApi21()
84 ApplicationProvider.getApplicationContext().getResources().getConfiguration().locale = in getResourceLanguageTags_base()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DActivityControllerTest.java226 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_callsLifecycleMethodsAndAppliesConfig()
233 … assertThat(controller.get().getResources().getConfiguration().fontScale).isEqualTo(newFontScale); in configurationChange_callsLifecycleMethodsAndAppliesConfig()
240 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_callsOnConfigurationChangedAndAppliesConfigWhenAllManaged()
248 …assertThat(configController.get().getResources().getConfiguration().fontScale).isEqualTo(newFontSc… in configurationChange_callsOnConfigurationChangedAndAppliesConfigWhenAllManaged()
255 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged()
264 …assertThat(configController.get().getResources().getConfiguration().fontScale).isEqualTo(newFontSc… in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged()
265 …assertThat(configController.get().getResources().getConfiguration().orientation).isEqualTo(newOrie… in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged()
284 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_restoresTheme()
300 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_reattachesRetainedFragments()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DFieldsResolutionTest.java124 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveClassFieldThroughThis()
146 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveClassFieldThroughSuper()
169 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveClassFieldOfClassExtendingUnknownClass1()
191 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveClassFieldOfClassExtendingUnknownClass2()
213 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveInheritedFieldFromInterface()
DAnonymousClassesResolutionTest.java36 StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(typeSolver)); in configureSymbolSolver()
42 StaticJavaParser.getConfiguration().setSymbolResolver(null); in unConfigureSymbolSolver()
DTypeResolutionWithSameNameTest.java35 .getConfiguration() in testTypesWithSameNameInPackageAndNested_directExtends()
66 .getConfiguration() in testTypesWithSameNameInPackageAndNested_directImplements()
DMethodsResolutionTest.java58 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in testConsistentMethodResultion()
515 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveLocalMethodInClassExtendingUnknownClass()
534 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveCorrectMethodWithComplexOverloading1()
552 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveCorrectMethodWithComplexOverloading2()
570 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveCorrectMethodWithComplexOverloading3()
588 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveCorrectMethodWithComplexOverloading4()
DConstructorsResolutionTest.java111 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in solveEnumConstructor()
127 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in solveNonPublicParentConstructorReflection()
DAnnotationsResolutionTest.java43 StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(typeSolver)); in configureSymbolSolver()
49 StaticJavaParser.getConfiguration().setSymbolResolver(null); in unConfigureSymbolSolver()
DEnumResolutionTest.java71 …StaticJavaParser.getConfiguration().setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolve… in resolveEnumConstantAccess()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java98 return getQualifiers(systemResources.getConfiguration(), systemResources.getDisplayMetrics()); in getQualifiers()
125 configuration = new Configuration(Resources.getSystem().getConfiguration()); in setQualifiers()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivity.java118 Configuration.class, application.getResources().getConfiguration())); in callAttach()
138 Configuration.class, application.getResources().getConfiguration()), in callAttach()
159 Configuration.class, application.getResources().getConfiguration()), in callAttach()
182 Configuration.class, application.getResources().getConfiguration()), in callAttach()
206 Configuration.class, application.getResources().getConfiguration()), in callAttach()
232 Configuration.class, application.getResources().getConfiguration()), in callAttach()
/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/
DJavaParserJsonDeserializer.java195 …if (node instanceof CompilationUnit && StaticJavaParser.getConfiguration().getSymbolResolver().isP… in setSymbolResolverIfCompilationUnit()
197 …cu.setData(Node.SYMBOL_RESOLVER_KEY, StaticJavaParser.getConfiguration().getSymbolResolver().get()… in setSymbolResolverIfCompilationUnit()
/external/ltp/testcases/network/nfsv4/locks/
Dlocktests.h100 int getConfiguration(int *type, char *fname, int *nThread);
Dnetsync.c178 int getConfiguration(int *type, char *fname, int *nThread) in getConfiguration() function
/external/swiftshader/src/Main/
DSwiftConfig.hpp77 void getConfiguration(Configuration &configuration);
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DDrawableLayoutDirectionHelper.java57 final int layoutDirection = context.getResources().getConfiguration().getLayoutDirection(); in createRelativeInsetDrawable()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java246 return configurationChange(component.getApplicationContext().getResources().getConfiguration()); in configurationChange()
260 final Configuration currentConfig = component.getResources().getConfiguration(); in configurationChange()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DNoSampleRenderer.java274 protected final RendererConfiguration getConfiguration() { in getConfiguration() method in NoSampleRenderer
DBaseRenderer.java301 protected final RendererConfiguration getConfiguration() { in getConfiguration() method in BaseRenderer
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java82 Configuration configuration = Resources.getSystem().getConfiguration(); in checkForPollutionHelper()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DJavaParserTest.java64 StaticJavaParser.getConfiguration().setLanguageLevel(BLEEDING_EDGE); in setToLatestJava()
69 StaticJavaParser.getConfiguration().setLanguageLevel(CURRENT); in resetJavaLevel()
/external/testng/src/test/java/test/
DBaseTest.java59 private IConfiguration getConfiguration() { in getConfiguration() method in BaseTest
448 TestRunner testRunner= new TestRunner(m_baseTest.getConfiguration(), suite, test, false, in newTestRunner()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DStaticJavaParser.java58 public static ParserConfiguration getConfiguration() { in getConfiguration() method in StaticJavaParser

12