Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSettingsEntryBuilder.kt33 private var toPage: SettingsPage? = null in <lambda>() variable in com.android.settingslib.spa.framework.common.SettingsEntryBuilder
51 id = genEntryId(name, owner, fromPage, toPage), in <lambda>()
58 toPage = toPage, in <lambda>()
82 toPage: SettingsPage? = null in <lambda>()
85 if (toPage != null) this.toPage = toPage in <lambda>()
147 return create(entryName, owner).setLink(toPage = owner) in <lambda>()
DSettingsEntryRepository.kt61 val page = entry.toPage
122 if (it.toPage == null) in getEntryPathWithTitle()
125 it.toPage.getTitle() in getEntryPathWithTitle()
DSettingsEntry.kt67 val toPage: SettingsPage? = null, constant in com.android.settingslib.spa.framework.common.SettingsEntry
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryTest.kt75 assertThat(entry.toPage).isNull() in testBuildBasic()
86 val toPage = createSettingsPage("toSpp") in testBuildWithLink() constant
88 SettingsEntryBuilder.createLinkFrom("myEntry", owner).setLink(toPage = toPage).build() in testBuildWithLink()
89 assertThat(entryFrom.id).isEqualTo(genEntryId("myEntry", owner, owner, toPage)) in testBuildWithLink()
92 assertThat(entryFrom.toPage!!.sppName).isEqualTo("toSpp") in testBuildWithLink()
99 assertThat(entryTo.toPage!!.sppName).isEqualTo("mySpp") in testBuildWithLink()
108 INJECT_ENTRY_NAME_TEST, owner, toPage = owner in testBuildInject()
113 assertThat(entryInject.toPage).isNotNull() in testBuildInject()
122 ROOT_ENTRY_NAME_TEST, owner, toPage = owner in testBuildRoot()
127 assertThat(entryInject.toPage).isNotNull() in testBuildRoot()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DUniqueIdTest.kt61 val toPage = createSettingsPage("toSpp") in testUniqueEntryId() constant
64 Truth.assertThat(genEntryId("myEntry", owner, fromPage = fromPage, toPage = toPage)) in testUniqueEntryId()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPageAdapter.java699 final int toPage = selectedRange.getEnd(); in computeRequestedPages() local
700 pagesInRange = new PageRange(fromPage, toPage); in computeRequestedPages()
729 final int toPage = Math.min(pageInDocument + rangeSpan - 1, in computeRequestedPages() local
731 pagesInRange = new PageRange(pageInDocument, toPage); in computeRequestedPages()
736 final int toPage = Math.min(selectedRange.getStart() + rangeSpan - 1, in computeRequestedPages() local
738 pagesInRange = new PageRange(fromPage, toPage); in computeRequestedPages()
759 int toPage = INVALID_PAGE_INDEX; in computeBoundPagesInDocument() local
771 if (toPage == INVALID_PAGE_INDEX) { in computeBoundPagesInDocument()
772 toPage = boundPageInDocument; in computeBoundPagesInDocument()
775 if (boundPageInDocument > toPage + 1) { in computeBoundPagesInDocument()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DUniqueId.kt36 toPage: SettingsPage? = null in genEntryId()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/page/
DArgumentPage.kt110 if (entry.toPage != null) { in Page()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/
DTogglePermissionAppListPage.kt74 .setLink(toPage = appInfoPage) in buildEntry()