Lines Matching defs:button
1246 * Sets the emergency button visibility based on isEmergencyCallCapable().
1248 * If the emergency button is visible, sets the text on the emergency button
1251 * If there's currently a call in progress, the button will take them to the call
1252 * @param button the button to update
1257 * @param shown indicates whether the given screen wants the emergency button to show at all
1258 * @param button
1261 * @param upperCase if true, converts button label string to upper case
1263 public void updateEmergencyCallButtonState(Button button, int phoneState, boolean shown,
1266 button.setVisibility(View.VISIBLE);
1268 button.setVisibility(View.GONE);
1277 button.setCompoundDrawablesWithIntrinsicBounds(phoneCallIcon, 0, 0, 0);
1281 button.setCompoundDrawablesWithIntrinsicBounds(emergencyIcon, 0, 0, 0);
1286 button.setText(upper);
1288 button.setText(textId);
1294 * @param button
1298 public void updateEmergencyCallButtonState(Button button, int phoneState, boolean shown) {
1299 updateEmergencyCallButtonState(button, phoneState, shown, false, true);
1303 * Resumes a call in progress. Typically launched from the EmergencyCall button