Home
last modified time | relevance | path

Searched refs:defaultMode (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteGlobal.java107 String defaultMode = sDefaultSyncMode; in getDefaultSyncMode() local
108 if (defaultMode != null) { in getDefaultSyncMode()
109 return defaultMode; in getDefaultSyncMode()
121 String defaultMode = sDefaultSyncMode; in getWALSyncMode() local
122 if (defaultMode != null) { in getWALSyncMode()
123 return defaultMode; in getWALSyncMode()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRefreshRatePolicyTest.java52 Mode defaultMode = di.getDefaultMode(); in setUp() local
54 new Mode(1, defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 90), in setUp()
55 new Mode(2, defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 70), in setUp()
57 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), 60), in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java122 Display.Mode defaultMode = mDefaultModeByDisplay.get(displayId); in getAllowedModes() local
123 if (modes == null || defaultMode == null) { in getAllowedModes()
128 return getAllowedModesLocked(votes, modes, defaultMode); in getAllowedModes()
156 @NonNull Display.Mode[] modes, @NonNull Display.Mode defaultMode) { in getAllowedModesLocked() argument
187 width = defaultMode.getPhysicalWidth(); in getAllowedModesLocked()
188 height = defaultMode.getPhysicalHeight(); in getAllowedModesLocked()
223 return new int[] { defaultMode.getModeId() }; in getAllowedModesLocked()
DOverlayDisplayAdapter.java238 List<OverlayMode> modes, int activeMode, int defaultMode, in OverlayDisplayDevice() argument
256 mDefaultMode = defaultMode; in OverlayDisplayDevice()
/frameworks/base/core/java/android/view/
DDisplayInfo.java512 Display.Mode defaultMode = getDefaultMode(); in findDefaultModeByRefreshRate() local
515 defaultMode.getPhysicalWidth(), defaultMode.getPhysicalHeight(), refreshRate)) { in findDefaultModeByRefreshRate()
528 Display.Mode defaultMode = getDefaultMode(); in getDefaultRefreshRates() local
531 if (mode.getPhysicalWidth() == defaultMode.getPhysicalWidth() in getDefaultRefreshRates()
532 && mode.getPhysicalHeight() == defaultMode.getPhysicalHeight()) { in getDefaultRefreshRates()
/frameworks/base/services/core/java/com/android/server/location/
DGnssConfiguration.java157 int getSuplMode(int defaultMode) { in getSuplMode() argument
158 return getIntConfig(CONFIG_SUPL_MODE, defaultMode); in getSuplMode()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1704 public static PorterDuff.Mode parseTintMode(int value, Mode defaultMode) { in parseTintMode() argument
1712 default: return defaultMode; in parseTintMode()
1723 public static BlendMode parseBlendMode(int value, BlendMode defaultMode) { in parseBlendMode() argument
1733 default: return defaultMode; in parseBlendMode()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java1510 String defaultMode = supportedFocusModes.get(0); in convertAfModeToLegacy() local
1514 "defaulting to %s", mode, defaultMode)); in convertAfModeToLegacy()
1515 param = defaultMode; in convertAfModeToLegacy()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1274 final int defaultMode = AppOpsManager.opToDefaultMode(code); in setUidMode() local
1278 if (mode == defaultMode) { in setUidMode()
1287 if (mode != defaultMode) { in setUidMode()
1296 if (mode == defaultMode) { in setUidMode()
1428 int defaultMode = AppOpsManager.opToDefaultMode(code); in setAllPkgModesToDefault() local
1429 if (op.mode != defaultMode) { in setAllPkgModesToDefault()
1430 op.mode = defaultMode; in setAllPkgModesToDefault()