Home
last modified time | relevance | path

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

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DQualifiersTest.java45 …assertThat(Robolectric.setupActivity(Activity.class).getResources().getConfiguration().orientation) in orientation()
66 assertThat(resources.getConfiguration().smallestScreenWidthDp).isEqualTo(320); in inflateLayout_defaultsTo_sw320dp()
75 assertThat(resources.getConfiguration().smallestScreenWidthDp).isEqualTo(720); in inflateLayout_overridesTo_sw720dp()
86 assertThat(resources.getConfiguration().screenWidthDp).isEqualTo(320); in defaultScreenWidth()
94 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
96 assertThat(appResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
100 assertThat(systemResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
102 assertThat(appResources.getConfiguration().orientation).isEqualTo( in setQualifiers_updatesSystemAndAppResources()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DActivityControllerTest.java219 …ation config = new Configuration(RuntimeEnvironment.application.getResources().getConfiguration()); in configurationChange_callsLifecycleMethodsAndAppliesConfig()
226 … assertThat(controller.get().getResources().getConfiguration().fontScale).isEqualTo(newFontScale); in configurationChange_callsLifecycleMethodsAndAppliesConfig()
231 …ation config = new Configuration(RuntimeEnvironment.application.getResources().getConfiguration()); in configurationChange_callsOnConfigurationChangedAndAppliesConfigWhenAllManaged()
239 …assertThat(configController.get().getResources().getConfiguration().fontScale).isEqualTo(newFontSc… in configurationChange_callsOnConfigurationChangedAndAppliesConfigWhenAllManaged()
244 …ation config = new Configuration(RuntimeEnvironment.application.getResources().getConfiguration()); in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged()
253 …assertThat(configController.get().getResources().getConfiguration().fontScale).isEqualTo(newFontSc… in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged()
254 …assertThat(configController.get().getResources().getConfiguration().orientation).isEqualTo(newOrie… in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged()
271 …ation config = new Configuration(RuntimeEnvironment.application.getResources().getConfiguration()); in configurationChange_restoresTheme()
285 …ation config = new Configuration(RuntimeEnvironment.application.getResources().getConfiguration()); in configurationChange_reattachesRetainedFragments()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DResourcesTest.java49 Configuration configuration = resources.getConfiguration(); in testConfiguration()
56 assertThat(resources.getConfiguration(), is(resources.getConfiguration())); in testConfigurationReturnsTheSameInstance()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java88 return getQualifiers(systemResources.getConfiguration(), systemResources.getDisplayMetrics()); in getQualifiers()
115 configuration = new Configuration(Resources.getSystem().getConfiguration()); in setQualifiers()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivity.java116 …onHelpers.ClassParameter.from(Configuration.class, application.getResources().getConfiguration())); in callAttach()
131 …ionHelpers.ClassParameter.from(Configuration.class, application.getResources().getConfiguration()), in callAttach()
147 …ionHelpers.ClassParameter.from(Configuration.class, application.getResources().getConfiguration()), in callAttach()
164 …ionHelpers.ClassParameter.from(Configuration.class, application.getResources().getConfiguration()), in callAttach()
183 …ionHelpers.ClassParameter.from(Configuration.class, application.getResources().getConfiguration()), in callAttach()
/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);
DSwiftConfig.cpp112 void SwiftConfig::getConfiguration(Configuration &configuration) in getConfiguration() function in sw::SwiftConfig
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java222 return configurationChange(component.getApplicationContext().getResources().getConfiguration()); in configurationChange()
236 final Configuration currentConfig = component.getResources().getConfiguration(); in configurationChange()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java56 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowResourcesTest.java284 Configuration configuration = resources.getConfiguration(); in testConfiguration()
291 assertThat(resources.getConfiguration()).isSameAs(resources.getConfiguration()); in testConfigurationReturnsTheSameInstance()
926 super(res.getAssets(), res.getDisplayMetrics(), res.getConfiguration()); in SubClassResources()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowResources.java72 public Configuration getConfiguration() { in getConfiguration() method in ShadowResources
/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java206 Configuration configuration = Resources.getSystem().getConfiguration(); in whenDimensAndSizeSpecified_setQualifiers_should()
/external/testng/src/main/java/org/testng/remote/
DRemoteTestNG.java144 new TestRunner(getConfiguration(), suite, xmlTest, in buildTestRunnerFactory()
/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/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/contrib/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java425 int orientation = getResources().getConfiguration().orientation; in setUpCameraOutputs()

12