Home
last modified time | relevance | path

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

/aosp12/packages/apps/DeskClock/src/com/android/deskclock/controller/
H A DShortcutController.kt83 .setShortLabel(context.getString(R.string.shortcut_new_alarm_short))
100 .setShortLabel(context.getString(R.string.shortcut_new_timer_short))
123 shortcut.setShortLabel(context.getString(R.string.shortcut_pause_stopwatch_short))
128 shortcut.setShortLabel(context.getString(R.string.shortcut_start_stopwatch_short))
148 .setShortLabel(context.getString(R.string.shortcut_start_screensaver_short))
/aosp12/packages/apps/Dialer/java/com/android/dialer/shortcuts/
H A DShortcutInfoFactory.java72 .setShortLabel(shortcut.getShortLabel()) in buildShortcutInfos()
94 .setShortLabel(info.getShortLabel()) in withUpdatedIcon()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DSettingsInitializeTest.java59 .setShortLabel("test123") in refreshExistingShortcuts_shouldUpdateLaunchIntentFlagsForExistingShortcut()
85 .setShortLabel("test123") in refreshExistingShortcuts_shouldNotUpdateImmutableShortcut()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DCustomShortcutConfigActivity.java60 .setShortLabel(name) in createShortcutInfo()
H A DRequestPinItemActivity.java77 .setShortLabel("Test shortcut") in pinShortcut()
/aosp12/packages/apps/Settings/src/com/android/settings/shortcut/
H A DShortcutsUpdateTask.java59 .setShortLabel(ri.loadLabel(pm)).build()); in doInBackground()
H A DCreateShortcutPreferenceController.java228 .setShortLabel(label) in createShortcutInfo()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DConversationListPreferenceControllerTest.java227 ShortcutInfo s1 = new ShortcutInfo.Builder(mContext, "one").setShortLabel( in testCompareSpans()
236 ShortcutInfo s2 = new ShortcutInfo.Builder(mContext, "two").setShortLabel( in testCompareSpans()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/
H A DLaunchBubbleActivity.java72 .setShortLabel("BubbleChat") in addInboxShortcut()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DShortcutsUpdater.java130 .setShortLabel(root.title) in createShortcut()
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DDynamicShortcuts.java324 builder.setShortLabel(label); in setLabel()
326 builder.setShortLabel(label.substring(0, mShortLabelMaxLength - 1).trim() + "…"); in setLabel()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java1880 .setShortLabel(title) in makeShortcut()
1909 .setShortLabel(title) in makeShortcut()
1932 .setShortLabel("title-" + id) in makeShortcutWithExtras()
1948 .setShortLabel("title-" + id) in makeShortcutWithCategory()
1964 .setShortLabel("title-" + id) in makeShortcutWithLocusId()
1980 .setShortLabel("title-" + id) in makeLongLivedShortcut()
H A DShortcutManagerTest8.java260 .setShortLabel("Title-" + "s1") in checkRequestPinShortcut()
415 .setShortLabel("Title-" + "s1") in testRequestPinShortcut_noTargetActivity_noMainActivity()
595 .setShortLabel("Title-" + "s1") in testRequestPinShortcut_dynamicExists_alreadyPinned()
H A DShortcutManagerTest2.java117 () -> new ShortcutInfo.Builder(getTestContext(), "id").setShortLabel(null)); in testShortcutInfoMissingMandatoryFields()
122 () -> new ShortcutInfo.Builder(getTestContext(), "id").setShortLabel("")); in testShortcutInfoMissingMandatoryFields()
167 .setShortLabel("x") in testShortcutInfoMissingMandatoryFields()
176 .setShortLabel("x") in testShortcutInfoMissingMandatoryFields()
H A DShortcutManagerTest1.java580 .setShortLabel("label1") in testPublishWithNoActivity()
584 .setShortLabel("label2") in testPublishWithNoActivity()
589 .setShortLabel("label3") in testPublishWithNoActivity()
683 .setShortLabel("label1") in testPublishWithNoActivity_noMainActivityInPackage()
2105 .setShortLabel("label") in testGetShortcuts_personsFlag()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DAppSearchShortcutInfo.java326 .setShortLabel(shortcutInfo.getShortLabel()) in instance()
484 public Builder setShortLabel(@Nullable final CharSequence shortLabel) { in setShortLabel() method in AppSearchShortcutInfo.Builder
H A DShortcutInfo.java1163 public Builder setShortLabel(@NonNull CharSequence shortLabel) { in setShortLabel() method in ShortcutInfo.Builder
1200 return setShortLabel(value); in setTitle()
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java253 .setShortLabel(getName())
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
H A DShareTargetPredictorTest.java428 .setShortLabel(shortcutId) in buildShortcut()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DChooserActivityTest.java2576 .setIntent(testIntent).setShortLabel("label1").setRank(3).build(), // 0 2 in createShortcuts()
2580 .setIntent(testIntent).setShortLabel("label2").setRank(7).build(), // 1 3 in createShortcuts()
2584 .setIntent(testIntent).setShortLabel("label3").setRank(1).build(), // 2 0 in createShortcuts()
2588 .setIntent(testIntent).setShortLabel("label4").setRank(3).build(), // 3 2 in createShortcuts()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java1562 .setShortLabel(id) in buildShortcutInfo()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt4832 HSPLandroid/content/pm/ShortcutInfo$Builder;->setShortLabel(Ljava/lang/CharSequence;)Landroid/conte…
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt13080 …method @NonNull public android.content.pm.ShortcutInfo.Builder setShortLabel(@NonNull CharSequence…
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt4830 HSPLandroid/content/pm/ShortcutInfo$Builder;->setShortLabel(Ljava/lang/CharSequence;)Landroid/conte…