Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java80 private int mShowAsAction = SHOW_AS_ACTION_NEVER; field in MenuItemImpl
138 mShowAsAction = showAsAction; in MenuItemImpl()
526 return (mShowAsAction & SHOW_AS_ACTION_IF_ROOM) == SHOW_AS_ACTION_IF_ROOM; in requestsActionButton()
530 return (mShowAsAction & SHOW_AS_ACTION_ALWAYS) == SHOW_AS_ACTION_ALWAYS; in requiresActionButton()
542 return (mShowAsAction & SHOW_AS_ACTION_WITH_TEXT) == SHOW_AS_ACTION_WITH_TEXT; in showsTextAsAction()
558 mShowAsAction = actionEnum; in setShowAsAction()
633 if ((mShowAsAction & SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW) == 0) { in collapseActionView()
656 if ((mShowAsAction & SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW) != 0) { in hasCollapsibleActionView()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuItemImpl.java85 private int mShowAsAction = SHOW_AS_ACTION_NEVER; field in MenuItemImpl
140 mShowAsAction = showAsAction; in MenuItemImpl()
569 return (mShowAsAction & SHOW_AS_ACTION_IF_ROOM) == SHOW_AS_ACTION_IF_ROOM; in requestsActionButton()
573 return (mShowAsAction & SHOW_AS_ACTION_ALWAYS) == SHOW_AS_ACTION_ALWAYS; in requiresActionButton()
585 return (mShowAsAction & SHOW_AS_ACTION_WITH_TEXT) == SHOW_AS_ACTION_WITH_TEXT; in showsTextAsAction()
602 mShowAsAction = actionEnum; in setShowAsAction()
695 if ((mShowAsAction & SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW) == 0) { in collapseActionView()
719 if ((mShowAsAction & SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW) != 0) { in hasCollapsibleActionView()