Home
last modified time | relevance | path

Searched refs:getConfiguration (Results 1 – 25 of 31) 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/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/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.java117 Configuration.class, application.getResources().getConfiguration())); in callAttach()
137 Configuration.class, application.getResources().getConfiguration()), in callAttach()
158 Configuration.class, application.getResources().getConfiguration()), in callAttach()
181 Configuration.class, application.getResources().getConfiguration()), in callAttach()
205 Configuration.class, application.getResources().getConfiguration()), in callAttach()
231 Configuration.class, application.getResources().getConfiguration()), in callAttach()
DShadowArscAssetManager.java1292 ResTable_config getConfiguration() { in getConfiguration() method in ShadowArscAssetManager
1294 assetManagerForJavaObject().getConfiguration(config); in getConfiguration()
/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
Dlocktests.c1015 getConfiguration(&type, dp.fname, &nThread); in main()
/external/swiftshader/src/Main/
DSwiftConfig.hpp76 void getConfiguration(Configuration &configuration);
/external/swiftshader/src/Device/
DSwiftConfig.hpp76 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java82 Configuration configuration = Resources.getSystem().getConfiguration(); in checkForPollutionHelper()
/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/testng/src/main/java/org/testng/remote/
DRemoteTestNG.java144 new TestRunner(getConfiguration(), suite, xmlTest, in buildTestRunnerFactory()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalManager.java89 (mResources.getConfiguration().hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES); in TerminalManager()
DTerminalKeyListener.java91 (manager.getResources().getConfiguration().keyboard == Configuration.KEYBOARD_QWERTY); in TerminalKeyListener()
/external/testng/src/main/java/org/testng/
DTestNG.java741 getConfiguration().addConfigurationListener((IConfigurationListener) listener); in addListener()
1073 suiteRunners = dispatcher.dispatch(getConfiguration(), in run()
1320 SuiteRunner result = new SuiteRunner(getConfiguration(), xmlSuite, in createSuiteRunner()
1344 protected IConfiguration getConfiguration() { in getConfiguration() method in TestNG
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java65 if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { in onCreate()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java227 Configuration configuration = Resources.getSystem().getConfiguration(); in whenDimensAndSizeSpecified_setQualifiers_should()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextTest.java34 Configuration configuration = new Configuration(context.getResources().getConfiguration()); in createConfigurationContext()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java512 Configuration config = getResources().getConfiguration(); in onCreate()
563 if (getResources().getConfiguration().keyboard == Configuration.KEYBOARD_NOKEYS) { in configureOrientation()
/external/proguard/src/proguard/gradle/
DProGuardTask.java1078 new ProGuard(getConfiguration()).execute(); in proguard()
1087 private Configuration getConfiguration() throws IOException, ParseException in getConfiguration() method in ProGuardTask
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DCameraConnectionFragment.java389 final int orientation = getResources().getConfiguration().orientation; in setUpCameraOutputs()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DCameraConnectionFragment.java383 final int orientation = getResources().getConfiguration().orientation; in setUpCameraOutputs()

12