Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/list/
DDialerPhoneNumberListAdapter.java97 final int shortcutType = getShortcutTypeFromPosition(position); in getView() local
98 if (shortcutType >= 0) { in getView()
100 assignShortcutToView((ContactListItemView) convertView, shortcutType); in getView() local
105 assignShortcutToView(v, shortcutType); in getView()
152 final int shortcutType = getShortcutTypeFromPosition(position); in isEnabled() local
153 if (shortcutType >= 0) { in isEnabled()
160 private void assignShortcutToView(ContactListItemView v, int shortcutType) { in assignShortcutToView() argument
165 switch (shortcutType) { in assignShortcutToView()
204 public boolean setShortcutEnabled(int shortcutType, boolean visible) { in setShortcutEnabled() argument
205 final boolean changed = mShortcutEnabled[shortcutType] != visible; in setShortcutEnabled()
[all …]
DBlockedListSearchFragment.java145 final int shortcutType = adapter.getShortcutTypeFromPosition(adapterPosition); in onItemClick() local
148 switch (shortcutType) { in onItemClick()
160 Log.w(TAG, "Ignoring unsupported shortcut type: " + shortcutType); in onItemClick()
DSearchFragment.java240 final int shortcutType = adapter.getShortcutTypeFromPosition(position); in onItemClick() local
245 Log.i(TAG, "onItemClick: shortcutType=" + shortcutType); in onItemClick()
247 switch (shortcutType) { in onItemClick()