/aosp12/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | ConcurrentSharedRingBuffer.java | 127 private boolean isPinned() { in isPinned() method in ConcurrentSharedRingBuffer.Pinnable 352 if (entry.isPinned()) { in tryPin() 391 if (!element.isPinned()) { in release() 398 if (!element.isPinned()) { in release() 533 if (element.getValue().isPinned()) { in tryGetPinned() 594 if (element.isPinned()) { in releaseIfPinned() 613 if (entry.getValue().isPinned()) { in releaseAll()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | HeadsUpManager.java | 147 @NonNull HeadsUpManager.HeadsUpEntry headsUpEntry, boolean isPinned) { in setEntryPinned() argument 149 Log.v(TAG, "setEntryPinned: " + isPinned); in setEntryPinned() 152 if (entry.isRowPinned() != isPinned) { in setEntryPinned() 153 entry.setRowPinned(isPinned); in setEntryPinned() 155 if (isPinned && entry.getSbn() != null) { in setEntryPinned() 161 if (isPinned) { in setEntryPinned() 422 boolean isPinned = mEntry.isRowPinned(); in compareTo() 424 if (isPinned && !otherPinned) { in compareTo() 426 } else if (!isPinned && otherPinned) { in compareTo()
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserTargetActionsDialogFragment.java | 199 private Drawable getPinIcon(boolean isPinned) { in getPinIcon() argument 200 return isPinned in getPinIcon() 205 private CharSequence getPinLabel(boolean isPinned, CharSequence targetLabel) { in getPinLabel() argument 206 return isPinned in getPinLabel() 214 return getPinLabel(dri.isPinned(), dri.getResolveInfo().loadLabel(pm)); in getItemLabel() 219 return getPinIcon(dri.isPinned()); in getItemIcon()
|
H A D | AbstractResolverComparator.java | 180 final boolean lPinned = lhsp.isPinned(); in compare() 181 final boolean rPinned = rhsp.isPinned(); in compare()
|
/aosp12/frameworks/base/core/java/android/view/inputmethod/ |
H A 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
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
H A D | PinnedAppsAdapter.java | 217 PinUnPinShortcut(SecondaryDisplayLauncher target, ItemInfo info, boolean isPinned) { in PinUnPinShortcut() argument 218 super(isPinned ? R.drawable.ic_remove_no_shadow : R.drawable.ic_pin, in PinUnPinShortcut() 219 isPinned ? R.string.remove_drop_target_label : R.string.action_add_to_workspace, in PinUnPinShortcut() 221 mIsPinned = isPinned; in PinUnPinShortcut()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/list/ |
H A D | PhoneFavoriteTileView.java | 68 private boolean isPinned; field in PhoneFavoriteTileView 96 isPinned = (entry.pinned != PinnedPositions.UNPINNED); in loadFromContact() 139 if (isPinned) { in createClickListener()
|
/aosp12/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A 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 …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | StackScrollAlgorithmTest.kt | 37 whenever(notificationRow.isPinned).thenReturn(true) 47 whenever(notificationRow.isPinned).thenReturn(true)
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest10.java | 88 assertTrue(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinned() 112 assertFalse(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinnedByAnother()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationShelf.java | 255 || child.isPinned(); in updateAppearance() 503 boolean isPinned = (view.isPinned() || view.isHeadsUpAnimatingAway()) 512 && (mAmbientState.isShadeExpanded() || !isPinned)) { 514 if (isPinned) { 575 || (!view.isPinned() && !view.isHeadsUpAnimatingAway()))) {
|
/aosp12/frameworks/base/core/java/com/android/internal/app/chooser/ |
H A D | TargetInfo.java | 132 boolean isPinned(); in isPinned() method
|
H A D | NotSelectableTargetInfo.java | 89 public boolean isPinned() { in isPinned() method in NotSelectableTargetInfo
|
H A D | SelectableTargetInfo.java | 293 public boolean isPinned() { in isPinned() method in SelectableTargetInfo 294 return mSourceInfo != null && mSourceInfo.isPinned(); in isPinned()
|
/aosp12/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
H A D | InlineSuggestionFactory.java | 131 inlinePresentation.isPinned(), tooltip); in createInlineSuggestion() 156 inlinePresentation.isPinned()); in mergedInlinePresentation()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
H A D | QuickstepAccessibilityDelegate.java | 38 if (host instanceof PredictedAppIcon && !((PredictedAppIcon) host).isPinned()) { in getSupportedActions()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ |
H A D | ExitPipTransition.kt | 57 it.isPinned(pipApp.component).isAppWindowVisible(pipApp.component)
|
H A D | EnterPipTest.kt | 138 .invoke("pipWindowIsPinned") { it.isPinned(pipApp.component) }
|
H A D | ExpandPipOnDoubleClickTest.kt | 133 this.invoke("hasPipWindow") { it.isPinned(pipApp.component) }
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
H A D | HotseatEduController.java | 291 boolean isPinned = info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT; in showHotseatArrowTip() 292 if (isPinned == usePinned) { in showHotseatArrowTip()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | ShortcutsChangedTask.java | 90 if (!fullDetails.isPinned()) { in execute()
|
/aosp12/frameworks/base/core/java/android/service/autofill/ |
H A D | InlinePresentation.java | 173 public boolean isPinned() { in isPinned() method in InlinePresentation
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | HeadsUpTouchHelper.java | 82 && pickedChild.isHeadsUp() && pickedChild.isPinned(); in onInterceptTouchEvent()
|
/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | ShortcutInfo.java | 1792 public boolean isPinned() { in isPinned() method in ShortcutInfo 1821 return (isPinned() || isCached()) && !(isDynamic() || isManifestShortcut()); in isFloating() 1836 return isPinned() && isVisibleToPublisher(); in isPinnedVisible() 1847 && (isPinned() || isCached() || isDynamic()); in isNonManifestVisible() 2319 if (isPinned()) { in toStringInner()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | ExpandableNotificationRowDragController.java | 151 if (enr.isPinned()) { in getDraggedViewDragListener()
|