/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TestDisplayWindowSettingsProvider.java | 31 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()
|
D | DisplayWindowSettingsProviderTests.java | 42 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 …]
|
D | DisplayWindowSettingsTests.java | 55 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/ |
D | DisplayWindowSettings.java | 64 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 …]
|
D | DisplayWindowSettingsProvider.java | 138 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/ |
D | SettingsEntryRepository.kt | 28 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/ |
D | DebugFormat.kt | 21 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/ |
D | IllustrationPage.kt | 22 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()
|
D | FooterPageProvider.kt | 24 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()
|
D | SliderPage.kt | 30 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>()
|
D | ArgumentPage.kt | 23 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/ |
D | SpaEnvironmentForTest.kt | 34 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/ |
D | MainSwitchPreferencePage.kt | 27 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>()
|
D | PreferenceMainPageProvider.kt | 20 import com.android.settingslib.spa.framework.common.SettingsEntry 34 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
|
D | TwoTargetSwitchPreferencePageProvider.kt | 28 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>()
|
D | SwitchPreferencePageProvider.kt | 30 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/ |
D | CategoryPage.kt | 23 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/ |
D | ChartPageProvider.kt | 22 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/ |
D | OperateListPage.kt | 20 import com.android.settingslib.spa.framework.common.SettingsEntry 34 override fun buildEntry(arguments: Bundle?): List<SettingsEntry> { in buildEntry()
|
D | ItemOperatePage.kt | 28 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>()
|
D | ItemListPage.kt | 26 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/ |
D | EditorMainPageProvider.kt | 20 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/ |
D | SpaIntent.kt | 21 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/ |
D | DialogMainPageProvider.kt | 21 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/ |
D | SpaSearchProvider.kt | 31 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()
|