Home
last modified time | relevance | path

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

12345678910

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java56 assertEquals(Configuration.EMPTY, root.getConfiguration()); in testConfigurationInit()
62 assertEquals(Configuration.EMPTY, child1.getConfiguration()); in testConfigurationInit()
71 assertEquals(rootOverrideConfig, child2.getConfiguration()); in testConfigurationInit()
84 assertEquals(rootFullConfig, child3.getConfiguration()); in testConfigurationInit()
100 final Configuration mergedOverrideConfig = new Configuration(root.getConfiguration()); in testConfigurationChangeOnAddRemove()
107 assertEquals(mergedOverrideConfig, child.getConfiguration()); in testConfigurationChangeOnAddRemove()
112 assertEquals(rootOverrideConfig, root.getConfiguration()); in testConfigurationChangeOnAddRemove()
126 assertEquals(mergedOverrideConfig, child.getConfiguration()); in testConfigurationChangeOnAddRemove()
169 assertEquals(rootOverrideConfig, root.getConfiguration()); in testConfigurationChangePropagation()
173 assertEquals(mergedConfig1, child1.getConfiguration()); in testConfigurationChangePropagation()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java155 assertEquals(expectedConfig, resources1.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
156 assertEquals(expectedConfig, resources2.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
157 assertEquals(expectedConfig, resources3.getConfiguration()); in testUpdateConfigurationUpdatesAllAssetManagers()
237 assertEquals(expectedConfig1, resources1.getConfiguration()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
246 assertEquals(expectedConfig2, resources2.getConfiguration()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
254 assertEquals(expectedConfig1, resources1.getConfiguration()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
257 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/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java570 assertEquals(Configuration.EMPTY, root.getConfiguration()); in testConfigurationInit()
576 assertEquals(Configuration.EMPTY, child1.getConfiguration()); in testConfigurationInit()
585 assertEquals(rootOverrideConfig, child2.getConfiguration()); in testConfigurationInit()
598 assertEquals(rootFullConfig, child3.getConfiguration()); in testConfigurationInit()
616 final Configuration mergedOverrideConfig = new Configuration(root.getConfiguration()); in testConfigurationChangeOnAddRemove()
623 assertEquals(mergedOverrideConfig, child.getConfiguration()); in testConfigurationChangeOnAddRemove()
628 assertEquals(rootOverrideConfig, root.getConfiguration()); in testConfigurationChangeOnAddRemove()
642 assertEquals(mergedOverrideConfig, child.getConfiguration()); in testConfigurationChangeOnAddRemove()
687 assertEquals(rootOverrideConfig, root.getConfiguration()); in testConfigurationChangePropagation()
691 assertEquals(mergedConfig1, child1.getConfiguration()); in testConfigurationChangePropagation()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DConfigurationContainer.java50 Configuration getConfiguration() { in getConfiguration() method in ConfigurationContainer
81 onConfigurationChanged(parent != null ? parent.getConfiguration() : Configuration.EMPTY); in onOverrideConfigurationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java222 return Recents.getConfiguration().isGridEnabled; in useGridLayout()
596 mMinScrollP = Recents.getConfiguration().isLowRamDevice in update()
599 mMaxScrollP = Recents.getConfiguration().isLowRamDevice in update()
610 } else if (Recents.getConfiguration().isLowRamDevice) { in update()
629 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in setTaskOverridesForInitialState()
723 if (targetStackScroll == lastStackScroll || Recents.getConfiguration().isLowRamDevice) { in updateFocusStateOnScroll()
768 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in getInitialFocusState()
819 if (Recents.getConfiguration().isLowRamDevice) { in computeStackVisibilityReport()
917 } else if (Recents.getConfiguration().isLowRamDevice) { in getStackTransform()
1097 if (Recents.getConfiguration().isLowRamDevice || overrideP == null) { in getStackScrollForTask()
[all …]
DRecentsView.java172 mStackActionButton = (TextView) inflater.inflate(Recents.getConfiguration() in RecentsView()
222 final RecentsConfiguration config = Recents.getConfiguration();
350 if (Recents.getConfiguration().getLaunchState().launchedFromPipApp) {
508 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState();
515 if (Recents.getConfiguration().isLowRamDevice
568 if (Recents.getConfiguration().isLowRamDevice) {
581 if (Recents.getConfiguration().isLowRamDevice) {
587 updateVisibleDockRegions(Recents.getConfiguration().getDockStatesForCurrentOrientation(),
605 Recents.getConfiguration().getDockStatesForCurrentOrientation(),
732 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState();
[all …]
DTaskStackViewTouchHandler.java297 float maxOverscroll = Recents.getConfiguration().isLowRamDevice in handleTouchEvent()
340 !Recents.getConfiguration().isLowRamDevice) { in handleTouchEvent()
353 if (Recents.getConfiguration().isLowRamDevice) { in handleTouchEvent()
506 if (Recents.getConfiguration().isLowRamDevice) { in onBeginDrag()
526 if (Recents.getConfiguration().isLowRamDevice) { in onBeginDrag()
533 && !Recents.getConfiguration().isLowRamDevice) { in onBeginDrag()
567 !Recents.getConfiguration().isLowRamDevice) { in updateSwipeProgress()
DTaskStackAnimationHelper.java119 mEnterAndExitFromHomeTranslationOffset = Recents.getConfiguration().isGridEnabled in TaskStackAnimationHelper()
128 RecentsConfiguration config = Recents.getConfiguration(); in prepareForEnterAnimation()
148 boolean isLandscape = appResources.getConfiguration().orientation in prepareForEnterAnimation()
152 final boolean isLowRamDevice = Recents.getConfiguration().isLowRamDevice; in prepareForEnterAnimation()
231 RecentsConfiguration config = Recents.getConfiguration(); in startEnterAnimation()
246 final boolean isLowRamDevice = Recents.getConfiguration().isLowRamDevice; in startEnterAnimation()
379 if (Recents.getConfiguration().isLowRamDevice) { in startExitToHomeAnimation()
393 if (Recents.getConfiguration().isLowRamDevice) { in startExitToHomeAnimation()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp101 request.getConfiguration().setFormat(AAUDIO_FORMAT_PCM_FLOAT); in open()
109 request.getConfiguration().setDeviceId(getDeviceId()); in open()
110 request.getConfiguration().setSampleRate(getSampleRate()); in open()
111 request.getConfiguration().setSamplesPerFrame(getSamplesPerFrame()); in open()
112 request.getConfiguration().setDirection(getDirection()); in open()
113 request.getConfiguration().setSharingMode(getSharingMode()); in open()
115 request.getConfiguration().setBufferCapacity(builder.getBufferCapacity()); in open()
/frameworks/base/core/java/android/net/
DEthernetManager.java89 public IpConfiguration getConfiguration() { in getConfiguration() method in EthernetManager
91 return mService.getConfiguration(); in getConfiguration()
DIEthernetManager.aidl29 IpConfiguration getConfiguration(); in getConfiguration() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsConfiguration.java129 boolean isLandscape = mAppContext.getResources().getConfiguration().orientation == in getDockStatesForCurrentOrientation()
131 RecentsConfiguration config = Recents.getConfiguration(); in getDockStatesForCurrentOrientation()
DRecentsActivityLaunchState.java61 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in getInitialFocusTaskIndex()
/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/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java86 if (getResources().getConfiguration().isScreenRound()) { in applyProportionalLayout()
114 Configuration cfg = res.getConfiguration(); in onAttachedToWindow()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DResourcesWrapper.java47 super(resources.getAssets(), resources.getDisplayMetrics(), resources.getConfiguration()); in ResourcesWrapper()
243 public Configuration getConfiguration() { in getConfiguration() method in ResourcesWrapper
244 return mResources.getConfiguration(); in getConfiguration()
/frameworks/support/compat/java/android/support/v4/content/res/
DConfigurationHelper.java41 return resources.getConfiguration().densityDpi; in getDensityDpi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java28 Configuration config = context.getResources().getConfiguration(); in getRotation()
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java131 mParams.getAssets(), mParams.getLayoutlibCallback(), getConfiguration(mParams), in init()
252 IWindowManager iwm = new IWindowManagerImpl(getContext().getConfiguration(), in setUp()
337 public static Configuration getConfiguration(RenderParams params) { in getConfiguration() method in RenderAction
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DInterestingConfigChanges.java40 Configuration.generateDelta(mLastConfiguration, res.getConfiguration())); in applyNewConfig()
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl34 RadioManager.BandConfig getConfiguration(); in getConfiguration() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNearestTouchFrameTest.java48 Configuration c = new Configuration(mContext.getResources().getConfiguration()); in setup()
55 Configuration c = new Configuration(mContext.getResources().getConfiguration()); in testNoActionOnLargeDevices()

12345678910