/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ConfigurationContainerTests.java | 56 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/ |
D | ResourcesManagerTest.java | 155 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()
|
D | ResourcesLocaleTest.java | 78 resources.getConfiguration().getLocales().get(0)); in testEnglishIsAlwaysConsideredSupported() 95 resources.getConfiguration().getLocales().get(0)); in testSelectFirstSupportedLanguage()
|
D | ConfigurationBoundResourceCacheTest.java | 87 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/ |
D | WindowContainerTests.java | 570 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/ |
D | ConfigurationContainer.java | 50 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/ |
D | TaskStackLayoutAlgorithm.java | 222 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 …]
|
D | RecentsView.java | 172 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 …]
|
D | TaskStackViewTouchHandler.java | 297 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()
|
D | TaskStackAnimationHelper.java | 119 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/ |
D | AudioStreamInternal.cpp | 101 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/ |
D | EthernetManager.java | 89 public IpConfiguration getConfiguration() { in getConfiguration() method in EthernetManager 91 return mService.getConfiguration(); in getConfiguration()
|
D | IEthernetManager.aidl | 29 IpConfiguration getConfiguration(); in getConfiguration() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsConfiguration.java | 129 boolean isLandscape = mAppContext.getResources().getConfiguration().orientation == in getDockStatesForCurrentOrientation() 131 RecentsConfiguration config = Recents.getConfiguration(); in getDockStatesForCurrentOrientation()
|
D | RecentsActivityLaunchState.java | 61 RecentsActivityLaunchState launchState = Recents.getConfiguration().getLaunchState(); in getInitialFocusTaskIndex()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | ActionBarPolicy.java | 48 final Configuration config = mContext.getResources().getConfiguration(); in getMaxActionButtons() 81 final Configuration configuration = mContext.getResources().getConfiguration(); in hasEmbeddedTabs()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | CompactExtractEditLayout.java | 86 if (getResources().getConfiguration().isScreenRound()) { in applyProportionalLayout() 114 Configuration cfg = res.getConfiguration(); in onAttachedToWindow()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ResourcesWrapper.java | 47 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/ |
D | ConfigurationHelper.java | 41 return resources.getConfiguration().densityDpi; in getDensityDpi()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 28 Configuration config = context.getResources().getConfiguration(); in getRotation()
|
/frameworks/support/v7/appcompat/src/android/support/v7/content/res/ |
D | AppCompatResources.java | 131 if (entry.configuration.equals(context.getResources().getConfiguration())) { in getCachedColorStateList() 153 context.getResources().getConfiguration())); in addColorStateListToCache()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 131 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/ |
D | InterestingConfigChanges.java | 40 Configuration.generateDelta(mLastConfiguration, res.getConfiguration())); in applyNewConfig()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | ITuner.aidl | 34 RadioManager.BandConfig getConfiguration(); in getConfiguration() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NearestTouchFrameTest.java | 48 Configuration c = new Configuration(mContext.getResources().getConfiguration()); in setup() 55 Configuration c = new Configuration(mContext.getResources().getConfiguration()); in testNoActionOnLargeDevices()
|