Home
last modified time | relevance | path

Searched refs:mConfiguration (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/view/
DDisplayAdjustments.java29 private Configuration mConfiguration = Configuration.EMPTY; field in DisplayAdjustments
35 mConfiguration = configuration; in DisplayAdjustments()
40 mConfiguration = daj.mConfiguration; in DisplayAdjustments()
65 mConfiguration = configuration != null ? configuration : Configuration.EMPTY; in setConfiguration()
69 return mConfiguration; in getConfiguration()
76 hash = hash * 31 + Objects.hashCode(mConfiguration); in hashCode()
87 Objects.equals(daj.mConfiguration, mConfiguration); in equals()
DSurfaceView.java118 final Configuration mConfiguration = new Configuration(); field in SurfaceView
548 mConfiguration, mNewSurface); in updateWindow()
/frameworks/base/core/java/android/app/usage/
DConfigurationStats.java31 public Configuration mConfiguration; field in ConfigurationStats
65 mConfiguration = stats.mConfiguration; in ConfigurationStats()
74 return mConfiguration; in getConfiguration()
127 if (mConfiguration != null) { in writeToParcel()
129 mConfiguration.writeToParcel(dest, flags); in writeToParcel()
146 stats.mConfiguration = Configuration.CREATOR.createFromParcel(source);
DUsageEvents.java112 public Configuration mConfiguration; field in UsageEvents.Event
160 return mConfiguration; in getConfiguration()
305 event.mConfiguration.writeToParcel(p, flags); in writeEventToParcel()
334 eventOut.mConfiguration = null; in readEventFromParcel()
340 eventOut.mConfiguration = Configuration.CREATOR.createFromParcel(p); in readEventFromParcel()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java121 private final Configuration mConfiguration = new Configuration(); field in ResourcesImpl
164 return mConfiguration; in getConfiguration()
178 mPluralRule = PluralRules.forLocale(mConfiguration.getLocales().get(0)); in getPluralRule()
327 + mConfiguration + " old compat is " in updateConfiguration()
352 LocaleList locales = mConfiguration.getLocales(); in updateConfiguration()
355 mConfiguration.setLocales(locales); in updateConfiguration()
375 mConfiguration.setLocales(new LocaleList(bestLocale, locales)); in updateConfiguration()
381 if (mConfiguration.densityDpi != Configuration.DENSITY_DPI_UNDEFINED) { in updateConfiguration()
382 mMetrics.densityDpi = mConfiguration.densityDpi; in updateConfiguration()
384 mConfiguration.densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in updateConfiguration()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java83 private final SQLiteDatabaseConfiguration mConfiguration; field in SQLiteConnectionPool
149 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnectionPool()
185 mAvailablePrimaryConnection = openConnectionLocked(mConfiguration, in open()
230 Log.i(TAG, "The connection pool for " + mConfiguration.label in dispose()
262 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
281 != mConfiguration.foreignKeyConstraintsEnabled; in reconfigure()
294 if (mConfiguration.openFlags != configuration.openFlags) { in reconfigure()
313 mConfiguration.updateParametersFrom(configuration); in reconfigure()
317 mConfiguration.updateParametersFrom(configuration); in reconfigure()
396 connection.reconfigure(mConfiguration); // might throw in recycleConnectionLocked()
[all …]
DSQLiteConnection.java99 private final SQLiteDatabaseConfiguration mConfiguration; field in SQLiteConnection
164 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnection()
169 mConfiguration.maxSqlCacheSize); in SQLiteConnection()
209 mConnectionPtr = nativeOpen(mConfiguration.path, mConfiguration.openFlags, in open()
210 mConfiguration.label, in open()
221 final int functionCount = mConfiguration.customFunctions.size(); in open()
223 SQLiteCustomFunction function = mConfiguration.customFunctions.get(i); in open()
249 if (!mConfiguration.isInMemoryDb() && !mIsReadOnlyConnection) { in setPageSize()
259 if (!mConfiguration.isInMemoryDb() && !mIsReadOnlyConnection) { in setAutoCheckpointInterval()
269 if (!mConfiguration.isInMemoryDb() && !mIsReadOnlyConnection) { in setJournalSizeLimit()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpManager.java407 private ProvisioningConfiguration mConfiguration; field in IpManager
632 mConfiguration = null; in resetLinkProperties()
928 if (mConfiguration.mStaticIpConfig != null) { in startIPv4()
929 if (setIPv4Address(mConfiguration.mStaticIpConfig.ipAddress)) { in startIPv4()
930 handleIPv4Success(new DhcpResults(mConfiguration.mStaticIpConfig)); in startIPv4()
988 mConfiguration = (ProvisioningConfiguration) msg.obj; in processMessage()
1053 mApfFilter = ApfFilter.maybeCreate(mConfiguration.mApfCapabilities, mNetworkInterface, in enter()
1061 if (mConfiguration.mProvisioningTimeoutMs > 0) { in enter()
1063 mConfiguration.mProvisioningTimeoutMs; in enter()
1067 if (mConfiguration.mEnableIPv6) { in enter()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java91 statsOut.activeConfiguration = configStats.mConfiguration; in loadConfigStats()
112 event.mConfiguration = new Configuration(); in loadEvent()
113 Configuration.readXmlAttrs(parser, event.mConfiguration); in loadEvent()
157 Configuration.writeXmlAttrs(xml, configStats.mConfiguration); in writeConfigStats()
177 if (event.mConfiguration != null) { in writeEvent()
178 Configuration.writeXmlAttrs(xml, event.mConfiguration); in writeEvent()
DIntervalStats.java66 configStats.mConfiguration = config; in getOrCreateConfigurationStats()
135 activeConfiguration = configStats.mConfiguration; in updateConfigurationStats()
DUserUsageStatsService.java167 final Configuration newFullConfig = event.mConfiguration; in reportEvent()
171 event.mConfiguration = Configuration.generateDelta( in reportEvent()
529 pw.printPair("config", Configuration.resourceQualifierString(config.mConfiguration)); in printIntervalStats()
549 if (event.mConfiguration != null) { in printIntervalStats()
550 pw.printPair("config", Configuration.resourceQualifierString(event.mConfiguration)); in printIntervalStats()
DUsageStatsService.java1424 event.mConfiguration = new Configuration(config); in reportConfigurationChange()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java200 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, in compatibilityInfoForPackageLocked()
201 mService.mConfiguration.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
210 mService.mConfiguration.screenLayout, in computeCompatModeLocked()
211 mService.mConfiguration.smallestScreenWidthDp, enabled); in computeCompatModeLocked()
411 final int screenLayout = mService.mConfiguration.screenLayout; in saveCompatModes()
412 final int smallestScreenWidthDp = mService.mConfiguration.smallestScreenWidthDp; in saveCompatModes()
DActivityManagerService.java1141 Configuration mConfiguration = new Configuration(); field in ActivityManagerService
2326 mShowDialogs = shouldShowDialogs(mConfiguration, mInVrMode); in handleMessage()
2685 mConfiguration.setToDefaults(); in ActivityManagerService()
2686 mConfiguration.setLocales(LocaleList.getDefault()); in ActivityManagerService()
2688 mConfigurationSeq = mConfiguration.seq = 1; in ActivityManagerService()
3175 if (mConfiguration.densityDpi != DisplayMetrics.DENSITY_DEVICE_STABLE in showUnsupportedZoomDialogIfNeededLocked()
3176 && r.appInfo.requiresSmallestWidthDp > mConfiguration.smallestScreenWidthDp) { in showUnsupportedZoomDialogIfNeededLocked()
4791 mConfiguration, r.mayFreezeScreenLocked(r.app) ? r.appToken : null); in setRequestedOrientation()
6557 + processName + " with config " + mConfiguration); in attachApplicationLocked()
6571 new Configuration(mConfiguration), app.compat, in attachApplicationLocked()
[all …]
DTaskRecord.java574 final Configuration serviceConfig = mService.mConfiguration; in setLastThumbnailLocked()
1525 final Configuration serviceConfig = mService.mConfiguration; in calculateOverrideConfig()
DActivityStarter.java496 intent, resolvedType, aInfo, mService.mConfiguration, resultRecord, resultWho, in startActivityLocked()
756 stack.mConfigWillChange = config != null && mService.mConfiguration.diff(config) != 0; in startActivityMayWait()
DActivityStack.java2445 mService.mConfiguration, in resumeTopActivityInnerLocked()
4534 final Configuration newConfig = mService.mConfiguration; in ensureActivityConfigurationLocked()
4764 !andResume, new Configuration(mService.mConfiguration), in relaunchActivityLocked()
DActivityRecord.java458 overrideConfig.fontScale = service.mConfiguration.fontScale; in scheduleConfigurationChanged()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java90 private Configuration mConfiguration = new Configuration(); field in UiModeManagerService
182 mConfiguration.setToDefaults(); in onStart()
440 mConfiguration.uiMode = uiMode; in updateConfigurationLocked()
445 if (mSetUiMode != mConfiguration.uiMode) { in sendConfigurationLocked()
446 mSetUiMode = mConfiguration.uiMode; in sendConfigurationLocked()
449 ActivityManagerNative.getDefault().updateConfiguration(mConfiguration); in sendConfigurationLocked()
608 mConfiguration, null, UserHandle.USER_CURRENT); in sendConfigurationAndStartDreamOrDockAppLocked()
DAttributeCache.java47 private final Configuration mConfiguration = new Configuration(); field in AttributeCache
107 int changes = mConfiguration.updateFrom(config); in updateConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarView.java101 private Configuration mConfiguration; field in NavigationBarView
193 mConfiguration = new Configuration(); in NavigationBarView()
194 mConfiguration.updateFrom(context.getResources().getConfiguration()); in NavigationBarView()
195 updateIcons(context, Configuration.EMPTY, mConfiguration); in NavigationBarView()
300 updateIcons(getContext(), Configuration.EMPTY, mConfiguration); in setLayoutDirection() local
610 updateIcons(getContext(), mConfiguration, newConfig); in onConfigurationChanged() local
612 if (uiCarModeChanged || mConfiguration.densityDpi != newConfig.densityDpi) { in onConfigurationChanged()
616 mConfiguration.updateFrom(newConfig); in onConfigurationChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java485 private final Configuration mConfiguration = new Configuration(); field in ContextFixture
516 mConfiguration.locale = Locale.US; in ContextFixture()
517 doReturn(mConfiguration).when(mResources).getConfiguration(); in ContextFixture()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java172 final Configuration mConfiguration = new Configuration(); field in WallpaperService.Engine
555 out.print(prefix); out.print("mConfiguration="); out.println(mConfiguration); in dump()
682 mConfiguration, mSurfaceHolder.mSurface); in updateSurface()
/frameworks/base/core/java/android/app/
DActivityThread.java219 Configuration mConfiguration; field in ActivityThread
2713 r.createdConfig = new Configuration(mConfiguration); in handleLaunchActivity()
4037 handleConfigurationChanged(mConfiguration, data.info); in handleUpdatePackageCompatibilityInfo()
4038 WindowManagerGlobal.getInstance().reportNewConfiguration(mConfiguration); in handleUpdatePackageCompatibilityInfo()
4392 if (mConfiguration == null in handleRelaunchActivity()
4393 || (tmp.createdConfig.isOtherSeqNewer(mConfiguration) in handleRelaunchActivity()
4394 && mConfiguration.diff(tmp.createdConfig) != 0)) { in handleRelaunchActivity()
4699 Configuration config = mConfiguration; in applyCompatConfiguration()
4703 mCompatConfiguration.setTo(mConfiguration); in applyCompatConfiguration()
4736 if (mConfiguration == null) { in handleConfigurationChanged()
[all …]
/frameworks/native/services/inputflinger/
DInputReader.h632 inline const PropertyMap& getConfiguration() { return mConfiguration; } in getConfiguration()
674 PropertyMap mConfiguration; variable

12