Home
last modified time | relevance | path

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

12345678

/frameworks/support/v4/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DReverseLinearLayout.java42 mIsLayoutRtl = getResources().getConfiguration() in onFinishInflate()
77 boolean isLayoutRtl = getResources().getConfiguration() in updateRTLOrder()
/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/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/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/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()
/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.java110 if (entry.configuration.equals(context.getResources().getConfiguration())) { in getCachedColorStateList()
132 context.getResources().getConfiguration())); in addColorStateListToCache()
/frameworks/support/v4/jellybean-mr1/android/support/v4/content/res/
DConfigurationHelperJellybeanMr1.java25 return resources.getConfiguration().densityDpi; in getDensityDpi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivityLaunchState.java53 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in getInitialFocusTaskIndex()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DInterestingConfigChanges.java28 int configChanges = mLastConfiguration.updateFrom(res.getConfiguration()); in applyNewConfig()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java308 Configuration conf = mContext.getResources().getConfiguration(); in getLocaleData()
328 Configuration conf = mContext.getResources().getConfiguration(); in setLocaleData()
348 Configuration config = am.getConfiguration(); in setLocaleData()
/frameworks/support/v7/appcompat/src/android/support/v7/text/
DAllCapsTransformationMethod.java33 mLocale = context.getResources().getConfiguration().locale; in AllCapsTransformationMethod()
/frameworks/support/v4/ics/android/support/v4/view/
DPagerTitleStripIcs.java37 mLocale = context.getResources().getConfiguration().locale; in SingleLineAllCapsTransform()
/frameworks/base/core/java/android/text/
DAutoText.java77 mLocale = resources.getConfiguration().locale; in AutoText()
89 Locale locale = res.getConfiguration().locale; in getInstance()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DThemePreviewNavigationBar.java45 ((BridgeContext) context).getConfiguration().getLayoutDirection() == in ThemePreviewNavigationBar()
/frameworks/av/include/radio/
DIRadio.h38 virtual status_t getConfiguration(struct radio_band_config *config) = 0;
/frameworks/av/radio/
DRadio.cpp153 status_t Radio::getConfiguration(struct radio_band_config *config) in getConfiguration() function in android::Radio
159 return mIRadio->getConfiguration(config); in getConfiguration()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DVectorEnabledTintResources.java50 super(res.getAssets(), res.getDisplayMetrics(), res.getConfiguration()); in VectorEnabledTintResources()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DAndroidLocale.java65 Locale locale = context.getConfiguration().locale; in getDefault()

12345678