Lines Matching full:menu
50 import android.view.Menu;
124 // Amount of time (in msec) that we keep the in-call menu onscreen
351 // particular the "Speaker" menu button) change state
355 // single menu item. (But even a full updateScreen()
416 // dismissMenu() has no effect if the menu is already closed.
792 // locked after the user wakes up the screen by pressing MENU.)
873 // Clean up the menu, in case we get paused while the menu is up
1425 * Note, this focus change event happens AFTER the in-call menu is
1539 // Special case for the MENU key: if the "touch lock"
1540 // overlay is up (over the DTMF dialpad), allow MENU to
1543 // (We do this because MENU is normally used to bring the
1547 // 1.0 behavior, where you *needed* to hit MENU to bring
1550 if (VDBG) log("- allowing MENU to dismiss touch lock overlay...");
2290 // Update the state of the in-call menu items.
2292 // TODO: do this only if the menu is visible!
2293 if (DBG) log("- updateScreen: updating menu items...");
2297 // menu items, but the logic in InCallMenu.updateItems()
2298 // just decided the menu shouldn't be visible at all!
2300 // asynchronously while the menu was up.)
2302 // So take the menu down ASAP.
2303 if (DBG) log("- updateScreen: Tried to update menu; now need to dismiss!");
2304 // dismissMenu() has no effect if the menu is already closed.
2833 // Callbacks for buttons / menu items.
2841 log(" ==> menu item! " + item);
2844 // Most menu items dismiss the menu immediately once you click
2846 // they want the menu to stay visible for a second afterwards to
2951 // If the user just clicked a "stateful" menu item (i.e. one of
2952 // the toggle buttons), we keep the menu onscreen briefly to
2954 // *new* current state, force the menu items to update right now.
2959 // Instead, the menu will get updated by the updateScreen() call
2964 // would be more efficient to update *only* the menu item(s)
2967 if (VDBG) log("- onClick: updating menu to show 'new' current state...");
2971 // menu items, but the logic in InCallMenu.updateItems()
2972 // just decided the menu shouldn't be visible at all!
2974 // while the menu was up.)
2976 // That's OK; just make sure to take the menu down ASAP.
2977 if (VDBG) log("onClick: Tried to update menu, but now need to take it down!");
2982 // Any menu item counts as explicit "user activity".
2985 // Finally, *any* action handled here closes the menu (either
2988 // Note that some of the clicks we handle here aren't even menu
2990 // button. That's OK; if the menu is already closed, the
3021 // nothing here, and instead let the menu get updated when the
3105 // TODO: since every button here corresponds to a menu item that we
3107 // methods into a separate helper that takes an ID (of either a menu
3157 // Just in case the user clicked a "stateful" menu item (i.e. one
3209 * Updates the "Press Menu for more options" hint based on the current
3220 // The hint is hidden only when there's no menu at all,
3252 // TODO: Consider hiding the hint(s) whenever the menu is onscreen!
3253 // (Currently, the menu is rendered on top of the hint, but the
3254 // menu is semitransparent so you can still see the hint
3671 updateMenuButtonHint(); // Hide the Menu button hint
3977 * dialpad" onscreen button or menu item.)
4071 // In-call menu UI
4076 * over the UI that comes up when the user presses MENU.
4080 * of a standard android.view.Menu hierarchy.
4083 * time we need to bring up the menu. (And in cases where we return
4084 * non-null, that means that the "standard" menu callbacks
4093 // feature (i.e. the standard menu triggered by the MENU button.)
4098 // For now, totally disable the in-call menu on devices where we
4101 // a regular menu in some states. Need UI spec.
4109 // Make sure there are no pending messages to *dismiss* the menu.
4123 * Dismisses the menu panel (see onCreatePanelView().)
4126 * If false, leave the menu visible onscreen for
4146 * menu panel goes away.
4149 public void onPanelClosed(int featureId, Menu menu) {
4153 // feature (i.e. the standard menu triggered by the MENU button.)
4159 super.onPanelClosed(featureId, menu);
4241 * "Bluetooth" menu item.
4257 // on. This is how we make the green LED in the menu item turn on
4326 // a little trickery here to make the menu item's green LED update
4350 // what's going on) *and* it's fairly cumbersome to have to hit MENU
4443 // First take down the menu if it's up (since it's confusing
4444 // to see a touchable menu *above* the touch lock overlay.)
4445 // Note dismissMenu() has no effect if the menu is already closed.