Home
last modified time | relevance | path

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

12345678

/frameworks/support/compat/honeycomb_mr2/android/support/v4/content/res/
DConfigurationHelperHoneycombMr2.java26 return resources.getConfiguration().screenHeightDp; in getScreenHeightDp()
30 return resources.getConfiguration().screenWidthDp; in getScreenWidthDp()
34 return resources.getConfiguration().smallestScreenWidthDp; in getSmallestScreenWidthDp()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java154 assertEquals(expectedConfig, resources1.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
155 assertEquals(expectedConfig, resources2.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
156 assertEquals(expectedConfig, resources3.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
234 assertEquals(expectedConfig1, resources1.getConfiguration()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
242 assertEquals(expectedConfig2, resources2.getConfiguration()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
249 assertEquals(expectedConfig1, resources1.getConfiguration()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
252 assertEquals(expectedConfig2, resources2.getConfiguration()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
DResourcesLocaleTest.java78 resources.getConfiguration().getLocales().get(0)); in testEnglishIsAlwaysConsideredSupported()
95 resources.getConfiguration().getLocales().get(0)); in testSelectFirstSupportedLanguage()
DConfigurationBoundResourceCacheTest.java87 final Configuration cfg = res.getConfiguration(); in testVoidConfigChange()
110 final Configuration cfg = res.getConfiguration(); in testEffectiveConfigChange()
136 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleResources()
178 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleThemes()
/frameworks/base/core/tests/coretests/src/android/text/format/
DFormatterTest.java35 mOriginalLocale = mContext.getResources().getConfiguration().locale; in setUp()
48 Configuration config = res.getConfiguration(); in setLocale()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DAutoReinflateContainer.java44 mDensity = context.getResources().getConfiguration().densityDpi; in AutoReinflateContainer()
45 mLocaleList = context.getResources().getConfiguration().getLocales(); in AutoReinflateContainer()
/frameworks/base/core/java/android/net/
DEthernetManager.java87 public IpConfiguration getConfiguration() { in getConfiguration() method in EthernetManager
89 return mService.getConfiguration(); in getConfiguration()
DIEthernetManager.aidl29 IpConfiguration getConfiguration(); in getConfiguration() method
/frameworks/base/core/java/com/android/internal/view/
DActionBarPolicy.java48 final Configuration config = mContext.getResources().getConfiguration(); in getMaxActionButtons()
81 final Configuration configuration = mContext.getResources().getConfiguration(); in hasEmbeddedTabs()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DResourcesWrapper.java46 super(resources.getAssets(), resources.getDisplayMetrics(), resources.getConfiguration()); in ResourcesWrapper()
238 public Configuration getConfiguration() { in getConfiguration() method in ResourcesWrapper
239 return mResources.getConfiguration(); in getConfiguration()
DVectorEnabledTintResources.java50 super(res.getAssets(), res.getDisplayMetrics(), res.getConfiguration()); in VectorEnabledTintResources()
/frameworks/support/compat/jellybean-mr1/android/support/v4/content/res/
DConfigurationHelperJellybeanMr1.java25 return resources.getConfiguration().densityDpi; in getDensityDpi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
DRecentsTvActivity.java190 RecentsConfiguration config = Recents.getConfiguration(); in updateRecentsTasks()
368 RecentsConfiguration config = Recents.getConfiguration(); in onResume()
445 RecentsConfiguration config = Recents.getConfiguration(); in onStop()
505 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in onBusEvent()
527 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in onBusEvent()
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DAppCompatResources.java131 if (entry.configuration.equals(context.getResources().getConfiguration())) { in getCachedColorStateList()
153 context.getResources().getConfiguration())); in addColorStateListToCache()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DInterestingConfigChanges.java28 int configChanges = mLastConfiguration.updateFrom(res.getConfiguration()); in applyNewConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivityLaunchState.java55 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in getInitialFocusTaskIndex()
/frameworks/support/v7/appcompat/src/android/support/v7/text/
DAllCapsTransformationMethod.java33 mLocale = context.getResources().getConfiguration().locale; in AllCapsTransformationMethod()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/
DContextWrapperFrameLayout.java54 super(res.getAssets(), res.getDisplayMetrics(), res.getConfiguration()); in CustomResources()
/frameworks/support/core-ui/ics/android/support/v4/view/
DPagerTitleStripIcs.java37 mLocale = context.getResources().getConfiguration().locale; in SingleLineAllCapsTransform()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java307 Configuration conf = mContext.getResources().getConfiguration(); in getLocaleData()
327 Configuration conf = mContext.getResources().getConfiguration(); in setLocaleData()
347 Configuration config = am.getConfiguration(); in setLocaleData()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DThemePreviewNavigationBar.java45 ((BridgeContext) context).getConfiguration().getLayoutDirection() == in ThemePreviewNavigationBar()
/frameworks/base/core/java/android/text/
DAutoText.java77 mLocale = resources.getConfiguration().locale; in AutoText()
89 Locale locale = res.getConfiguration().locale; in getInstance()
/frameworks/av/include/radio/
DIRadio.h38 virtual status_t getConfiguration(struct radio_band_config *config) = 0;
/frameworks/base/core/java/android/text/method/
DAllCapsTransformationMethod.java38 mLocale = context.getResources().getConfiguration().locale; in AllCapsTransformationMethod()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DAndroidLocale.java65 Locale locale = context.getConfiguration().locale; in getDefault()

12345678