Searched refs:popupMenu (Results 1 – 3 of 3) sorted by relevance
18 private PopupMenu popupMenu; field in ShadowPopupMenuTest24 popupMenu = new PopupMenu(ApplicationProvider.getApplicationContext(), anchorView); in setUp()25 shadowPopupMenu = shadowOf(popupMenu); in setUp()35 popupMenu.show(); in testIsShowing_returnsTrueIfShown()41 popupMenu.show(); in testIsShowing_returnsFalseIfShownThenDismissed()42 popupMenu.dismiss(); in testIsShowing_returnsFalseIfShownThenDismissed()53 popupMenu.show(); in getLatestPopupMenu_returnsLastMenuShown()54 assertThat(ShadowPopupMenu.getLatestPopupMenu()).isEqualTo(popupMenu); in getLatestPopupMenu_returnsLastMenuShown()59 assertThat(shadowOf(popupMenu).getOnMenuItemClickListener()).isNull(); in getOnClickListener_returnsOnClickListener()67 popupMenu.setOnMenuItemClickListener(listener); in getOnClickListener_returnsOnClickListener()[all …]
46 ShadowPopupMenu popupMenu = shadowApplication.getLatestPopupMenu(); in getLatestPopupMenu() local47 return popupMenu == null ? null : popupMenu.realPopupMenu; in getLatestPopupMenu()
1566 MenuHandle popupMenu; in CtlObj_SetControlPopupMenuHandle() local1571 MenuObj_Convert, &popupMenu)) in CtlObj_SetControlPopupMenuHandle()1574 popupMenu); in CtlObj_SetControlPopupMenuHandle()