Home
last modified time | relevance | path

Searched refs:SettingsEntry (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestDisplayWindowSettingsProvider.java31 private final Map<String, SettingsEntry> mOverrideSettingsMap = new HashMap<>();
35 public SettingsEntry getSettings(@NonNull DisplayInfo info) { in getSettings()
44 public SettingsEntry getOverrideSettings(@NonNull DisplayInfo info) { in getOverrideSettings()
45 return new SettingsEntry(getOrCreateOverrideSettingsEntry(info)); in getOverrideSettings()
50 @NonNull SettingsEntry overrides) { in updateOverrideSettings()
51 final SettingsEntry overrideSettings = getOrCreateOverrideSettingsEntry(info); in updateOverrideSettings()
62 private SettingsEntry getOrCreateOverrideSettingsEntry(DisplayInfo info) { in getOrCreateOverrideSettingsEntry()
64 SettingsEntry settings; in getOrCreateOverrideSettingsEntry()
68 settings = new SettingsEntry(); in getOrCreateOverrideSettingsEntry()
DDisplayWindowSettingsProviderTests.java42 import com.android.server.wm.DisplayWindowSettings.SettingsProvider.SettingsEntry;
105 SettingsEntry expectedSettings = new SettingsEntry(); in testReadingDisplaySettingsFromStorage()
115 SettingsEntry expectedSettings = new SettingsEntry(); in testReadingDisplaySettingsFromStorage_LegacyDisplayId()
131 SettingsEntry overrideSettings = provider.getOverrideSettings(mPrimaryDisplayInfo); in testReadingDisplaySettingsFromStorage_LegacyDisplayId_UpdateAfterAccess()
152 SettingsEntry expectedSettings = new SettingsEntry(); in testReadingDisplaySettingsFromStorage_UsePortAsId()
165 SettingsEntry expectedSettings = new SettingsEntry(); in testReadingDisplaySettingsFromStorage_UsePortAsId_IncorrectAddress()
180 SettingsEntry expectedSettings = new SettingsEntry(); in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
207 SettingsEntry expectedSettings = new SettingsEntry(); in testReadingDisplaySettingsFromStorage_overrideSettingsTakePrecedenceOverVendor()
219 SettingsEntry overrideSettings = provider.getOverrideSettings(secondaryDisplayInfo); in testWritingDisplaySettingsToStorage()
245 final SettingsEntry virtualSettings = provider.getOverrideSettings(secondaryDisplayInfo); in testDoNotWriteVirtualDisplaySettingsToStorage()
[all …]
DDisplayWindowSettingsTests.java55 import com.android.server.wm.DisplayWindowSettings.SettingsProvider.SettingsEntry;
475 final SettingsEntry settingsEntry1 = new SettingsEntry(); in testDisplayRotationSettingsAppliedOnCreation()
478 final SettingsEntry settingsEntry2 = new SettingsEntry(); in testDisplayRotationSettingsAppliedOnCreation()
513 Map<DisplayInfo, SettingsEntry> mOverrideSettingsCache = new HashMap<>();
516 public SettingsEntry getSettings(@NonNull DisplayInfo info) { in getSettings()
521 public SettingsEntry getOverrideSettings(@NonNull DisplayInfo info) { in getOverrideSettings()
522 SettingsEntry result = new SettingsEntry(); in getOverrideSettings()
523 SettingsEntry overrideSettings = mOverrideSettingsCache.get(info); in getOverrideSettings()
532 @NonNull SettingsEntry settings) { in updateOverrideSettings()
533 SettingsEntry overrideSettings = mOverrideSettingsCache.get(info); in updateOverrideSettings()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettings.java64 final SettingsProvider.SettingsEntry overrideSettings = in setUserRotation()
79 final SettingsProvider.SettingsEntry overrideSettings = in setForcedSize()
93 final SettingsProvider.SettingsEntry overrideSettings = in setForcedDensity()
106 final SettingsProvider.SettingsEntry overrideSettings = in setForcedScalingMode()
114 final SettingsProvider.SettingsEntry overrideSettings = in setFixedToUserRotation()
123 final SettingsProvider.SettingsEntry overrideSettings = in setIgnoreOrientationRequest()
130 private int getWindowingModeLocked(@NonNull SettingsProvider.SettingsEntry settings, in getWindowingModeLocked()
152 final SettingsProvider.SettingsEntry settings = mSettingsProvider.getSettings(displayInfo); in getWindowingModeLocked()
159 final SettingsProvider.SettingsEntry overrideSettings = in setWindowingModeLocked()
172 final SettingsProvider.SettingsEntry settings = mSettingsProvider.getSettings(displayInfo); in getRemoveContentModeLocked()
[all …]
DDisplayWindowSettingsProvider.java138 public SettingsEntry getSettings(@NonNull DisplayInfo info) { in getSettings()
139 SettingsEntry baseSettings = mBaseSettings.getSettingsEntry(info); in getSettings()
140 SettingsEntry overrideSettings = mOverrideSettings.getOrCreateSettingsEntry(info); in getSettings()
142 return new SettingsEntry(overrideSettings); in getSettings()
144 SettingsEntry mergedSettings = new SettingsEntry(baseSettings); in getSettings()
152 public SettingsEntry getOverrideSettings(@NonNull DisplayInfo info) { in getOverrideSettings()
153 return new SettingsEntry(mOverrideSettings.getOrCreateSettingsEntry(info)); in getOverrideSettings()
158 @NonNull SettingsEntry overrides) { in updateOverrideSettings()
191 protected final ArrayMap<String, SettingsEntry> mSettings = new ArrayMap<>();
198 final SettingsEntry getSettingsEntry(@NonNull DisplayInfo info) { in getSettingsEntry()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSettingsEntryRepository.kt28 val entries: List<SettingsEntry>,
30 val injectEntry: SettingsEntry,
38 private val entryMap: Map<String, SettingsEntry>
49 val entryQueue = LinkedList<SettingsEntry>()
95 fun getAllEntries(): Collection<SettingsEntry> { in getAllEntries()
99 fun getEntry(entryId: String): SettingsEntry? { in getEntry()
103 private fun getEntryPath(entryId: String): List<SettingsEntry> { in getEntryPath()
104 val entryPath = ArrayList<SettingsEntry>() in getEntryPath()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugFormat.kt21 import com.android.settingslib.spa.framework.common.SettingsEntry
52 fun SettingsEntry.debugBrief(): String { in debugBrief() method
56 fun SettingsEntry.debugContent(entryRepository: SettingsEntryRepository): String { in SettingsEntry() method
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/page/
DIllustrationPage.kt22 import com.android.settingslib.spa.framework.common.SettingsEntry
41 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
42 val entryList = mutableListOf<SettingsEntry>() in buildEntry()
DFooterPageProvider.kt24 import com.android.settingslib.spa.framework.common.SettingsEntry
43 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
44 val entryList = mutableListOf<SettingsEntry>() in buildEntry()
DSliderPage.kt30 import com.android.settingslib.spa.framework.common.SettingsEntry in <lambda>()
47 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in <lambda>()
48 val entryList = mutableListOf<SettingsEntry>() in <lambda>()
DArgumentPage.kt23 import com.android.settingslib.spa.framework.common.SettingsEntry
51 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
55 val entryList = mutableListOf<SettingsEntry>() in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/
DSpaEnvironmentForTest.kt34 import com.android.settingslib.spa.framework.common.SettingsEntry in <lambda>()
89 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
107 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
132 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
149 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
184 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/preference/
DMainSwitchPreferencePage.kt27 import com.android.settingslib.spa.framework.common.SettingsEntry in <lambda>()
44 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in <lambda>()
45 val entryList = mutableListOf<SettingsEntry>() in <lambda>()
DPreferenceMainPageProvider.kt20 import com.android.settingslib.spa.framework.common.SettingsEntry
34 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
DTwoTargetSwitchPreferencePageProvider.kt28 import com.android.settingslib.spa.framework.common.SettingsEntry in <lambda>()
46 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in <lambda>()
47 val entryList = mutableListOf<SettingsEntry>() in <lambda>()
DSwitchPreferencePageProvider.kt30 import com.android.settingslib.spa.framework.common.SettingsEntry in <lambda>()
49 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in <lambda>()
50 val entryList = mutableListOf<SettingsEntry>() in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/ui/
DCategoryPage.kt23 import com.android.settingslib.spa.framework.common.SettingsEntry
57 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
58 val entryList = mutableListOf<SettingsEntry>() in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/chart/
DChartPageProvider.kt22 import com.android.settingslib.spa.framework.common.SettingsEntry in <lambda>()
52 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
53 val entryList = mutableListOf<SettingsEntry>() in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/itemList/
DOperateListPage.kt20 import com.android.settingslib.spa.framework.common.SettingsEntry
34 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
DItemOperatePage.kt28 import com.android.settingslib.spa.framework.common.SettingsEntry in <lambda>()
61 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in <lambda>()
65 val entryList = mutableListOf<SettingsEntry>() in <lambda>()
DItemListPage.kt26 import com.android.settingslib.spa.framework.common.SettingsEntry
52 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/editor/
DEditorMainPageProvider.kt20 import com.android.settingslib.spa.framework.common.SettingsEntry
34 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DSpaIntent.kt21 import com.android.settingslib.spa.framework.common.SettingsEntry
55 fun SettingsEntry.createIntent(sessionName: String? = null): Intent? { in SettingsEntry() method
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/dialog/
DDialogMainPageProvider.kt21 import com.android.settingslib.spa.framework.common.SettingsEntry
37 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> = listOf( in buildEntry()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
DSpaSearchProvider.kt31 import com.android.settingslib.spa.framework.common.SettingsEntry
201 private fun fetchSearchData(entry: SettingsEntry, cursor: MatrixCursor) { in fetchSearchData()
227 private fun fetchStatusData(entry: SettingsEntry, cursor: MatrixCursor) { in fetchStatusData()
236 private fun fetchSearchRow(entry: SettingsEntry, cursor: MatrixCursor) { in fetchSearchRow()

12