Home
last modified time | relevance | path

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

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertController.java547 int whichButtons = 0; in setupButtons() local
556 whichButtons = whichButtons | BIT_BUTTON_POSITIVE; in setupButtons()
568 whichButtons = whichButtons | BIT_BUTTON_NEGATIVE; in setupButtons()
580 whichButtons = whichButtons | BIT_BUTTON_NEUTRAL; in setupButtons()
583 final boolean hasButtons = whichButtons != 0; in setupButtons()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java783 int whichButtons = 0; in setupButtons() local
792 whichButtons = whichButtons | BIT_BUTTON_POSITIVE; in setupButtons()
804 whichButtons = whichButtons | BIT_BUTTON_NEGATIVE; in setupButtons()
816 whichButtons = whichButtons | BIT_BUTTON_NEUTRAL; in setupButtons()
824 if (whichButtons == BIT_BUTTON_POSITIVE) { in setupButtons()
826 } else if (whichButtons == BIT_BUTTON_NEGATIVE) { in setupButtons()
828 } else if (whichButtons == BIT_BUTTON_NEUTRAL) { in setupButtons()
833 final boolean hasButtons = whichButtons != 0; in setupButtons()