/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | HeadsUpNotificationInteractorTest.kt | 96 fakeHeadsUpRowRepository("key 0", isPinned = true), in hasPinnedRows_hasPinnedRows_true() 121 rows[0].isPinned.value = true in hasPinnedRows_rowGetsPinned_true() 135 fakeHeadsUpRowRepository("key 0", isPinned = true), in hasPinnedRows_rowGetsUnPinned_false() 143 rows[0].isPinned.value = false in hasPinnedRows_rowGetsUnPinned_false() 181 fakeHeadsUpRowRepository("key 0", isPinned = true), in pinnedRows_hasPinnedRows_containsPinnedRows() 182 fakeHeadsUpRowRepository("key 1", isPinned = true), in pinnedRows_hasPinnedRows_containsPinnedRows() 199 fakeHeadsUpRowRepository("key 0", isPinned = true), in pinnedRows_rowGetsPinned_containsPinnedRows() 200 fakeHeadsUpRowRepository("key 1", isPinned = true), in pinnedRows_rowGetsPinned_containsPinnedRows() 207 rows[2].isPinned.value = true in pinnedRows_rowGetsPinned_containsPinnedRows() 221 fakeHeadsUpRowRepository("key 0", isPinned = true), in pinnedRows_allRowsPinned_containsAllRows() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/data/repository/ |
D | FakeHeadsUpRowRepository.kt | 23 constructor(key: String, isPinned: Boolean) : this(key = key) { 24 this.isPinned.value = isPinned 27 override val isPinned: MutableStateFlow<Boolean> = MutableStateFlow(false) constant in com.android.systemui.statusbar.notification.data.repository.FakeHeadsUpRowRepository
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityLoggerFake.java | 47 public boolean isPinned; field in ChooserActivityLoggerFake.CallRecord 72 int positionPicked, boolean isPinned) { in CallRecord() argument 78 this.isPinned = isPinned; in CallRecord() 118 boolean isPinned) { in logShareTargetSelected() argument 121 isPinned)); in logShareTargetSelected()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | HeadsUpNotificationInteractor.kt | 53 repositories.map { repo -> repo.isPinned.map { isPinned -> repo to isPinned } } in <lambda>() method 55 pairs.filter { (_, isPinned) -> isPinned }.map { (repo, _) -> repo }.toSet() in <lambda>() method 67 combine(rows.map { it.isPinned }) { pins -> pins.any { it } } in <lambda>()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserTargetActionsDialogFragment.java | 240 .filter(s -> s.isPinned() && s.getPackage().equals(packageName)) in getPinnedShortcutsFromPackageAsUser() 256 private Drawable getPinIcon(boolean isPinned) { in getPinIcon() argument 257 return isPinned in getPinIcon() 262 private CharSequence getPinLabel(boolean isPinned, CharSequence targetLabel) { in getPinLabel() argument 263 return isPinned in getPinLabel() 271 return getPinLabel(isPinned(dri), in getItemLabel() 277 return getPinIcon(isPinned(dri)); in getItemIcon() 290 private boolean isPinned(DisplayResolveInfo dri) { in isPinned() method in ChooserTargetActionsDialogFragment 291 return isShortcutTarget() ? mIsShortcutPinned : dri.isPinned(); in isPinned()
|
D | ChooserActivityLoggerImpl.java | 57 boolean isPinned) { in logShareTargetSelected() argument 63 /* is_pinned = 5 */ isPinned); in logShareTargetSelected()
|
D | AbstractResolverComparator.java | 204 final boolean lPinned = lhsp.isPinned(); in compare() 205 final boolean rPinned = rhsp.isPinned(); in compare()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InlineSuggestionInfo.java | 91 @Nullable String[] autofillHints, @NonNull @Type String type, boolean isPinned) { in newInlineSuggestionInfo() argument 92 return new InlineSuggestionInfo(presentationSpec, source, autofillHints, type, isPinned, in newInlineSuggestionInfo() 105 @Nullable String[] autofillHints, @NonNull @Type String type, boolean isPinned, in newInlineSuggestionInfo() argument 107 return new InlineSuggestionInfo(presentationSpec, source, autofillHints, type, isPinned, in newInlineSuggestionInfo() 239 public boolean isPinned() { in isPinned() method in InlineSuggestionInfo
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BaseHeadsUpManager.java | 350 @NonNull BaseHeadsUpManager.HeadsUpEntry headsUpEntry, boolean isPinned, in setEntryPinned() argument 352 mLogger.logSetEntryPinned(headsUpEntry.mEntry, isPinned, reason); in setEntryPinned() 354 if (!isPinned) { in setEntryPinned() 357 if (headsUpEntry.isRowPinned() != isPinned) { in setEntryPinned() 358 headsUpEntry.setRowPinned(isPinned); in setEntryPinned() 360 if (isPinned && entry.getSbn() != null) { in setEntryPinned() 367 if (isPinned) { in setEntryPinned() 881 boolean isPinned = mEntry.isRowPinned(); in compareTo() 883 if (isPinned && !otherPinned) { in compareTo() 885 } else if (!isPinned && otherPinned) { in compareTo()
|
D | HeadsUpManagerLogger.kt | 216 fun logSetEntryPinned(entry: NotificationEntry, isPinned: Boolean, reason: String) { in logSetEntryPinned() 219 bool1 = isPinned in logSetEntryPinned()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 592 assertTrue("ID " + s.getId(), s.isPinned()); in assertAllPinned() 600 assertTrue("ID " + s.getId(), s.isDynamic() || s.isPinned()); in assertAllDynamicOrPinned() 647 assertFalse(si.isPinned()); in assertDynamicOnly() 653 assertTrue(si.isPinned()); in assertPinnedOnly() 658 assertTrue(si.isPinned()); in assertDynamicAndPinned() 855 filter(mList, ShortcutInfo::isPinned)); in selectPinned() 860 filter(mList, (si -> si.isPinned() in selectFloating() 941 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isPinned())); in areAllPinned() 946 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isPinned())); in areAllNotPinned() 985 s.isPinned() && !s.isDeclaredInManifest() && !s.isDynamic())); in areAllFloating() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/data/repository/ |
D | HeadsUpRowRepository.kt | 35 val isPinned: StateFlow<Boolean> constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/ |
D | SceneContainerStartableTest.kt | 166 buildNotificationRows(isPinned = true) in <lambda>() 170 buildNotificationRows(isPinned = false) in <lambda>() 1431 private fun buildNotificationRows(isPinned: Boolean = false): Set<HeadsUpRowRepository> = in <lambda>() 1433 fakeHeadsUpRowRepository(key = "0", isPinned = isPinned), in <lambda>() 1434 fakeHeadsUpRowRepository(key = "1", isPinned = isPinned), in <lambda>() 1435 fakeHeadsUpRowRepository(key = "2", isPinned = isPinned), in <lambda>() 1436 fakeHeadsUpRowRepository(key = "3", isPinned = isPinned), in <lambda>() 1439 private fun fakeHeadsUpRowRepository(key: String, isPinned: Boolean) = in <lambda>() 1441 this.isPinned.value = isPinned in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest10.java | 92 assertTrue(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinned() 116 assertFalse(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinnedByAnother()
|
/frameworks/base/core/java/com/android/internal/app/chooser/ |
D | NotSelectableTargetInfo.java | 89 public boolean isPinned() { in isPinned() method in NotSelectableTargetInfo
|
D | TargetInfo.java | 132 boolean isPinned(); in isPinned() method
|
D | SelectableTargetInfo.java | 86 mIsPinned = shortcutInfo != null && shortcutInfo.isPinned(); in SelectableTargetInfo() 332 public boolean isPinned() { in isPinned() method in SelectableTargetInfo
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithmTest.kt | 113 whenever(notificationRow.isPinned).thenReturn(true) in <lambda>() 120 whenever(notificationRow.isPinned).thenReturn(true) in <lambda>() 127 whenever(notificationRow.isPinned).thenReturn(true) in <lambda>() 154 whenever(notificationRow.isPinned).thenReturn(true) in <lambda>() 162 whenever(notificationRow.isPinned).thenReturn(true) in <lambda>() 252 whenever(topHun.isPinned).thenReturn(true) in <lambda>() 254 whenever(bottomHun.isPinned).thenReturn(true) in <lambda>() 265 whenever(topHun.isPinned).thenReturn(true) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/common/ |
D | ClosePipTransition.kt | 49 it.isPinned(pipApp).isAppWindowVisible(pipApp).isAppWindowOnTop(pipApp) in pipWindowBecomesInvisible()
|
D | EnterPipTransition.kt | 98 .invoke("pipWindowIsPinned") { it.isPinned(pipApp) } in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationListViewModelTest.kt | 540 rows[0].isPinned.value = true in pinnedHeadsUpRows_filtersForPinnedItems() 547 rows[1].isPinned.value = true in pinnedHeadsUpRows_filtersForPinnedItems() 554 rows[0].isPinned.value = false in pinnedHeadsUpRows_filtersForPinnedItems() 568 FakeHeadsUpRowRepository(key = "0", isPinned = true), in hasPinnedHeadsUpRows_true()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | InlineSuggestionFactory.java | 137 inlinePresentation.isPinned(), tooltip); in createInlineSuggestion() 164 inlinePresentation.isPinned()); in mergedInlinePresentation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRowDragController.java | 107 if (!enr.isPinned()) { in startDragAndDrop() 140 if (enr.isPinned()) { in startDragAndDrop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarRemoteInputCallback.java | 135 if (!row.isPinned()) { in onLockedRemoteInput() 205 if (!row.isPinned() && row.isExpanded()) { in onMakeExpandedVisibleForRemoteInput()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/ |
D | ExpandPipOnDoubleClickTest.kt | 123 flicker.assertWm { this.invoke("hasPipWindow") { it.isPinned(pipApp) } } in <lambda>()
|