Home
last modified time | relevance | path

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

/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserTargetActionsDialogFragment.java231 .filter(s -> s.isPinned() && s.getPackage().equals(packageName)) in getPinnedShortcutsFromPackageAsUser()
247 private Drawable getPinIcon(boolean isPinned) { in getPinIcon() argument
248 return isPinned in getPinIcon()
253 private CharSequence getPinLabel(boolean isPinned, CharSequence targetLabel) { in getPinLabel() argument
254 return isPinned in getPinLabel()
262 return getPinLabel(isPinned(dri), in getItemLabel()
268 return getPinIcon(isPinned(dri)); in getItemIcon()
281 private boolean isPinned(DisplayResolveInfo dri) { in isPinned() method in ChooserTargetActionsDialogFragment
282 return isShortcutTarget() ? mIsShortcutPinned : dri.isPinned(); in isPinned()
DChooserActivityLogger.java83 boolean isPinned); in write() argument
173 boolean isPinned, in logShareTargetSelected() argument
181 /* is_pinned = 5 */ isPinned); in logShareTargetSelected()
528 boolean isPinned) { in write() argument
535 /* is_pinned = 5 */ isPinned); in write()
DResolvedComponentInfo.java93 public boolean isPinned() { in isPinned() method in ResolvedComponentInfo
DShortcutSelectionLogic.java103 if ((shortcutInfo != null) && shortcutInfo.isPinned()) { in addServiceResults()
DResolverListAdapter.java531 dri.setPinned(rci.isPinned());
532 if (rci.isPinned()) {
DChooserActivity.java853 boolean isShortcutPinned = targetInfo.isSelectableTargetInfo() && targetInfo.isPinned();
916 targetInfo.isPinned(),
930 targetInfo.isPinned(),
DChooserListAdapter.java308 } else if (info.isPinned() && (getPositionTargetType(position) == TARGET_STANDARD in onBindView()
/packages/apps/Camera2/src/com/android/camera/util/
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()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/
DChooserActivityLoggerTest.java159 final boolean isPinned = true; in testLogShareTargetSelected()
170 isPinned, in testLogShareTargetSelected()
180 eq(isPinned)); in testLogShareTargetSelected()
331 final boolean isPinned = true; in testDifferentLoggerInstancesUseDifferentInstanceIds()
342 isPinned, in testDifferentLoggerInstancesUseDifferentInstanceIds()
353 isPinned, in testDifferentLoggerInstancesUseDifferentInstanceIds()
378 final boolean isPinned = true; in testUiAndFrameworkEventsUseSameInstanceIdForSameLoggerInstance()
389 isPinned, in testUiAndFrameworkEventsUseSameInstanceIdForSameLoggerInstance()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/chooser/
DImmutableTargetInfo.java261 public Builder setIsPinned(boolean isPinned) { in setIsPinned() argument
262 mIsPinned = isPinned; in setIsPinned()
403 .setIsPinned(isPinned()) in toBuilder()
512 public boolean isPinned() { in isPinned() method in ImmutableTargetInfo
601 boolean isPinned, in ImmutableTargetInfo() argument
621 mIsPinned = isPinned; in ImmutableTargetInfo()
DSelectableTargetInfo.java191 mIsPinned = (shortcutInfo != null) && shortcutInfo.isPinned(); in SelectableTargetInfo()
388 public boolean isPinned() { in isPinned() method in SelectableTargetInfo
DTargetInfo.java240 boolean isPinned(); in isPinned() method
DDisplayResolveInfo.java250 public boolean isPinned() { in isPinned() method in DisplayResolveInfo
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java228 boolean isPinned) { in PinUnPinShortcut() argument
229 super(isPinned ? R.drawable.ic_remove_no_shadow : R.drawable.ic_pin, in PinUnPinShortcut()
230 isPinned ? R.string.remove_drop_target_label : R.string.action_add_to_workspace, in PinUnPinShortcut()
232 mIsPinned = isPinned; in PinUnPinShortcut()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoriteTileView.java68 private boolean isPinned; field in PhoneFavoriteTileView
96 isPinned = (entry.pinned != PinnedPositions.UNPINNED); in loadFromContact()
139 if (isPinned) { in createClickListener()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/
DAbstractResolverComparator.java174 final boolean lPinned = lhsp.isPinned(); in compare()
175 final boolean rPinned = rhsp.isPinned(); in compare()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java197 boolean isPinned = info.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT; in showHotseatArrowTip()
198 if (isPinned == usePinned) { in showHotseatArrowTip()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAccessibilityDelegate.java38 if (host instanceof PredictedAppIcon && !((PredictedAppIcon) host).isPinned()) { in getSupportedActions()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DShortcutsChangedTask.java100 if (!fullDetails.isPinned()) { in execute()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/chooser/
DImmutableTargetInfoTest.kt115 assertThat(info.isPinned).isTrue() in testBasicProperties()
170 assertThat(info.isPinned).isTrue() in testToBuilderPreservesBasicProperties()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java300 public boolean isPinned() { in isPinned() method in PredictedAppIcon