Searched refs:hasMenu (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
H A DFragment.java949 * @param hasMenu If true, the fragment has menu items to contribute.
951 public void setHasOptionsMenu(boolean hasMenu) { argument
952 if (mHasMenu != hasMenu) {
953 mHasMenu = hasMenu;
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragment.java974 * @param hasMenu If true, the fragment has menu items to contribute.
976 public void setHasOptionsMenu(boolean hasMenu) { argument
977 if (mHasMenu != hasMenu) {
978 mHasMenu = hasMenu;

Completed in 19 milliseconds