Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java42 private BubbleTextView mBubbleText; field in DeepShortcutView
64 mBubbleText = findViewById(R.id.bubble_text); in onFinishInflate()
74 return mBubbleText; in getBubbleText()
101 mBubbleText.applyFromWorkspaceItem(info); in applyShortcutInfo()
102 mIconView.setBackground(mBubbleText.getIcon()); in applyShortcutInfo()
106 int availableWidth = mBubbleText.getWidth() - mBubbleText.getTotalPaddingLeft() in applyShortcutInfo()
107 - mBubbleText.getTotalPaddingRight(); in applyShortcutInfo()
109 && mBubbleText.getPaint().measureText(longLabel.toString()) <= availableWidth; in applyShortcutInfo()
110 mBubbleText.setText(usingLongLabel ? longLabel : mDetail.getShortLabel()); in applyShortcutInfo()
113 mBubbleText.setOnClickListener(container.getItemClickListener()); in applyShortcutInfo()
[all …]