Home
last modified time | relevance | path

Searched refs:longLabel (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java149 CharSequence longLabel = mDetail.getLongLabel(); in applyShortcutInfo() local
152 boolean usingLongLabel = !TextUtils.isEmpty(longLabel) in applyShortcutInfo()
153 && mBubbleText.getPaint().measureText(longLabel.toString()) <= availableWidth; in applyShortcutInfo()
154 mBubbleText.setText(usingLongLabel ? longLabel : mDetail.getShortLabel()); in applyShortcutInfo()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DWorkspaceItemProcessorTest.kt364 whenever(longLabel).thenReturn("") in When valid Pinned Deep Shortcut then mark restored()
460 whenever(longLabel).thenReturn("") in When Pinned Deep Shortcut is not stored in ShortcutManager re-query by Shortcut ID()
520 whenever(longLabel).thenReturn("") in When valid Pinned Deep Shortcut with null intent package then use targetPkg()