Lines Matching defs:button
1555 * Sets the emergency button visibility based on isEmergencyCallCapable().
1557 * If the emergency button is visible, sets the text on the emergency button
1560 * If there's currently a call in progress, the button will take them to the call
1561 * @param button The button to update
1562 * @param shown Indicates whether the given screen wants the emergency button to show at all
1563 * @param showIcon Indicates whether to show a phone icon for the button.
1565 public void updateEmergencyCallButtonState(Button button, boolean shown, boolean showIcon) {
1567 button.setVisibility(View.VISIBLE);
1569 button.setVisibility(View.GONE);
1578 button.setCompoundDrawablesWithIntrinsicBounds(phoneCallIcon, 0, 0, 0);
1582 button.setCompoundDrawablesWithIntrinsicBounds(emergencyIcon, 0, 0, 0);
1584 button.setText(textId);
1588 * Resumes a call in progress. Typically launched from the EmergencyCall button