HomeSort by relevance Sort by last modified time
    Searched refs:isPinned (Results 1 - 25 of 36) sorted by null

1 2

  /packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
ShortcutInfoCompat.java 88 public boolean isPinned() {
89 return mShortcutInfo.isPinned();
ShortcutCache.java 67 if (shortcut.isPinned()) {
  /packages/apps/Camera2/src/com/android/camera/util/
ConcurrentSharedRingBuffer.java 127 private boolean isPinned() {
352 if (entry.isPinned()) {
391 if (!element.isPinned()) {
398 if (!element.isPinned()) {
533 if (element.getValue().isPinned()) {
594 if (element.isPinned()) {
613 if (entry.getValue().isPinned()) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
HeadsUpManager.java 235 private void setEntryPinned(HeadsUpEntry headsUpEntry, boolean isPinned) {
237 if (row.isPinned() != isPinned) {
238 row.setPinned(isPinned);
241 if (isPinned) {
254 setEntryPinned(remove, false /* isPinned */);
459 if (entry.entry.row.isPinned()) {
478 setEntryPinned(entry, false /* isPinned */);
616 if (headsUpEntry != null && headsUpEntry.expanded != expanded && entry.row.isPinned()) {
705 return (entry.row.isPinned() && expanded
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/list/
PhoneFavoriteTileView.java 63 private boolean isPinned;
94 isPinned = (entry.pinned != PinnedPositions.UNPINNED);
136 if (isPinned) {
  /frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
ShortcutManagerTestUtils.java 521 assertTrue("ID " + s.getId(), s.isPinned());
529 assertTrue("ID " + s.getId(), s.isDynamic() || s.isPinned());
576 assertFalse(si.isPinned());
582 assertTrue(si.isPinned());
587 assertTrue(si.isPinned());
784 filter(mList, ShortcutInfo::isPinned));
789 filter(mList, (si -> si.isPinned()
870 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isPinned()));
875 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isPinned()));
911 s.isPinned() && !s.isDeclaredInManifest() && !s.isDynamic()))
    [all...]
  /cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
ShortcutConfirmPin.java 76 if (shortcut.isPinned() != expectPinned) {
77 ReplyUtil.sendReply(this, replyAction, "isPinned() expected to be " + expectPinned);
  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
ShortcutListFragment.java 107 if (selected.isPinned()) {
240 return si.isPinned() ? "Unpin" : "Pin";
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest10.java 95 assertTrue(mRequest.getShortcutInfo().isPinned());
119 assertFalse(mRequest.getShortcutInfo().isPinned());
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
HeadsUpTouchHelper.java 83 && mPickedChild.isHeadsUp() && mPickedChild.isPinned();
  /packages/apps/Launcher3/src/com/android/launcher3/model/
ShortcutsChangedTask.java 84 if (!fullDetails.isPinned()) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationShelf.java 368 boolean isPinned = (row.isPinned() || row.isHeadsUpAnimatingAway())
371 && (mAmbientState.isShadeExpanded() || !isPinned)) {
373 if (isPinned) {
453 || (!row.isPinned() && !row.isHeadsUpAnimatingAway()))) {
    [all...]
ExpandableNotificationRow.java 213 if (isPinned()) {
679 public boolean isPinned() {
737 running = running || isPinned();
    [all...]
  /developers/build/prebuilts/gradle/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
Main.java 157 if (shortcut.isPinned()) {
  /developers/samples/android/system/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
Main.java 157 if (shortcut.isPinned()) {
  /development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/
ShortcutAdapter.java 169 + (si.isPinned() ? " [pinned]" : "") + "\n"
177 // view.setBackgroundColor(si.isPinned() ? Color.rgb(255, 255, 192) : Color.WHITE);
  /development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
Main.java 157 if (shortcut.isPinned()) {
  /frameworks/base/services/core/java/com/android/server/pm/
ShortcutPackage.java 246 wasPinned = oldShortcut.isPinned();
359 if (oldShortcut.isPinned()) {
519 * by the calling launcher will not be included in the result, and also "isPinned" will be
553 // Fix up isPinned for the caller. Note we need to do it before the "test" callback,
554 // since it may check isPinned.
798 if (oldShortcut.isPinned()) {
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
ResolverComparator.java 323 final boolean lPinned = lhsp.isPinned();
324 final boolean rPinned = rhsp.isPinned();
ResolverActivity.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
StackScrollAlgorithm.java 146 && ((ExpandableNotificationRow) child).isPinned();
438 if (row.isPinned()) {
NotificationStackScrollLayout.java 584 if (mAnimationsEnabled && (mIsExpanded || row != null && row.isPinned())) {
    [all...]
  /development/samples/ShortcutSample/src/com/example/android/shortcutsample/
Main.java 223 if (shortcut.isPinned()) {
  /frameworks/av/services/audioflinger/
Effects.h 120 bool isPinned() const { return mPinned; }
  /frameworks/base/core/java/android/content/pm/
ShortcutInfo.java     [all...]

Completed in 519 milliseconds

1 2