Home
last modified time | relevance | path

Searched refs:isPinned (Results 1 – 25 of 52) sorted by relevance

123

/aosp12/packages/apps/Camera2/src/com/android/camera/util/
H A DConcurrentSharedRingBuffer.java127 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 DHeadsUpManager.java147 @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 DChooserTargetActionsDialogFragment.java199 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 DAbstractResolverComparator.java180 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 DInlineSuggestionInfo.java91 @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 DPinnedAppsAdapter.java217 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 DPhoneFavoriteTileView.java68 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 DShortcutManagerTestUtils.java592 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 DStackScrollAlgorithmTest.kt37 whenever(notificationRow.isPinned).thenReturn(true)
47 whenever(notificationRow.isPinned).thenReturn(true)
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest10.java88 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 DNotificationShelf.java255 || 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 DTargetInfo.java132 boolean isPinned(); in isPinned() method
H A DNotSelectableTargetInfo.java89 public boolean isPinned() { in isPinned() method in NotSelectableTargetInfo
H A DSelectableTargetInfo.java293 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 DInlineSuggestionFactory.java131 inlinePresentation.isPinned(), tooltip); in createInlineSuggestion()
156 inlinePresentation.isPinned()); in mergedInlinePresentation()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
H A DQuickstepAccessibilityDelegate.java38 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 DExitPipTransition.kt57 it.isPinned(pipApp.component).isAppWindowVisible(pipApp.component)
H A DEnterPipTest.kt138 .invoke("pipWindowIsPinned") { it.isPinned(pipApp.component) }
H A DExpandPipOnDoubleClickTest.kt133 this.invoke("hasPipWindow") { it.isPinned(pipApp.component) }
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
H A DHotseatEduController.java291 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 DShortcutsChangedTask.java90 if (!fullDetails.isPinned()) { in execute()
/aosp12/frameworks/base/core/java/android/service/autofill/
H A DInlinePresentation.java173 public boolean isPinned() { in isPinned() method in InlinePresentation
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DHeadsUpTouchHelper.java82 && pickedChild.isHeadsUp() && pickedChild.isPinned(); in onInterceptTouchEvent()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DShortcutInfo.java1792 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 DExpandableNotificationRowDragController.java151 if (enr.isPinned()) { in getDraggedViewDragListener()

123