Lines Matching refs:background
216 * Set the background drawable for the spinner's popup window of choices.
219 * @param background Background drawable
223 public void setPopupBackgroundDrawable(Drawable background) {
228 ((DropdownPopup) mPopup).setBackgroundDrawable(background);
232 * Set the background drawable for the spinner's popup window of choices.
235 * @param resId Resource ID of a background drawable
244 * Get the background drawable for the spinner's popup window of choices.
247 * @return background Background drawable
656 int measureContentWidth(SpinnerAdapter adapter, Drawable background) {
691 // Add background padding to measured width
692 if (background != null) {
693 background.getPadding(mTempRect);
879 Log.e(TAG, "Cannot set popup background for MODE_DIALOG, ignoring");
946 final Drawable background = getBackground();
948 if (background != null) {
949 background.getPadding(mTempRect);