Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java553 int whichButtons = 0; in setupButtons() local
562 whichButtons = whichButtons | BIT_BUTTON_POSITIVE; in setupButtons()
574 whichButtons = whichButtons | BIT_BUTTON_NEGATIVE; in setupButtons()
586 whichButtons = whichButtons | BIT_BUTTON_NEUTRAL; in setupButtons()
594 if (whichButtons == BIT_BUTTON_POSITIVE) { in setupButtons()
596 } else if (whichButtons == BIT_BUTTON_NEGATIVE) { in setupButtons()
598 } else if (whichButtons == BIT_BUTTON_NEUTRAL) { in setupButtons()
603 return whichButtons != 0; in setupButtons()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java687 int whichButtons = 0; in setupButtons() local
696 whichButtons = whichButtons | BIT_BUTTON_POSITIVE; in setupButtons()
708 whichButtons = whichButtons | BIT_BUTTON_NEGATIVE; in setupButtons()
720 whichButtons = whichButtons | BIT_BUTTON_NEUTRAL; in setupButtons()
728 if (whichButtons == BIT_BUTTON_POSITIVE) { in setupButtons()
730 } else if (whichButtons == BIT_BUTTON_NEGATIVE) { in setupButtons()
732 } else if (whichButtons == BIT_BUTTON_NEUTRAL) { in setupButtons()
737 final boolean hasButtons = whichButtons != 0; in setupButtons()