/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 25 background = 0x01010000, // default enumerator in enum:android::R::attr::__anon960
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintSpinner.java | 37 android.R.attr.background, 57 final Drawable background = a.getDrawable(1); 59 setPopupBackgroundDrawable(background); 61 setPopupBackgroundDrawableV11(this, background); 69 private static void setPopupBackgroundDrawableV11(Spinner view, Drawable background) { argument 77 ((ListPopupWindow) popup).setBackgroundDrawable(background);
|
H A D | SpinnerCompat.java | 228 * Set the background drawable for the spinner's popup window of choices. Only valid in {@link 231 * @param background Background drawable 233 public void setPopupBackgroundDrawable(Drawable background) { argument 238 ((DropdownPopup) mPopup).setBackgroundDrawable(background); 242 * Set the background drawable for the spinner's popup window of choices. Only valid in {@link 245 * @param resId Resource ID of a background drawable 252 * Get the background drawable for the spinner's popup window of choices. Only valid in {@link 255 * @return background Background drawable 638 int measureContentWidth(SpinnerAdapter adapter, Drawable background) { argument 673 // Add background paddin [all...] |
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | ColorUtils.java | 66 private static double calculateContrast(int foreground, int background) { argument 67 if (Color.alpha(background) != 255) { 68 throw new IllegalArgumentException("background can not be translucent"); 71 // If the foreground is translucent, composite the foreground over the background 72 foreground = compositeColors(foreground, background); 76 final double luminance2 = calculateLuminance(background) + 0.05; 84 * contrast value of at least {@code minContrastRatio} when compared to background. 88 private static int findMinimumAlpha(int foreground, int background, double minContrastRatio) { argument 89 if (Color.alpha(background) != 255) { 90 throw new IllegalArgumentException("background ca [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationBackgroundView.java | 29 * A view that can be used for both the dimmed and normal background of an notification. 77 * Sets a background drawable. As we need to change our bounds independently of layout, we need 78 * the notion of a background independently of the regular View background.. 80 public void setCustomBackground(Drawable background) { argument 85 mBackground = background;
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 15 GLfloat background; variable 175 glClearColor(background, grey, grey, 1.0f); 182 background = 1.0f - background;
|
/frameworks/base/core/java/android/widget/ |
H A D | Spinner.java | 250 * Set the background drawable for the spinner's popup window of choices. 253 * @param background Background drawable 257 public void setPopupBackgroundDrawable(Drawable background) { argument 262 ((DropdownPopup) mPopup).setBackgroundDrawable(background); 266 * Set the background drawable for the spinner's popup window of choices. 269 * @param resId Resource ID of a background drawable 278 * Get the background drawable for the spinner's popup window of choices. 281 * @return background Background drawable 734 int measureContentWidth(SpinnerAdapter adapter, Drawable background) { argument 769 // Add background paddin [all...] |
H A D | PopupWindow.java | 167 * <p>The popup does provide a background.</p> 176 * <p>The popup does provide a background.</p> 185 * <p>The popup does provide a background.</p> 194 * <p>The popup does not provide a background.</p> 217 * <p>The popup does not provide any background. This should be handled 228 * <p>The popup does not provide any background. This should be handled 241 * <p>The popup does not provide any background. This should be handled 256 * <p>The popup does not provide any background. This should be handled 271 * <p>The popup does not provide any background. This should be handled 292 * Return the drawable used as the popup window's background 310 setBackgroundDrawable(Drawable background) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
H A D | BackDropperFilter.java | 63 // Dimensions of foreground / background mask. Optimum value should take into account only 70 // Levels at which to compute foreground / background decision. Think of them as are deltas 114 // Whether to mirror the background or not. For ex, the Camera app 120 // coordinates, if we were to mirror the background 130 // Maximum distance (in standard deviations) for considering a pixel as background 138 // Width of foreground / background mask. 140 // Height of foreground / background mask. 152 // Mask value to start blending away from background 168 // Default rate at which to learn bg model from new background pixels 172 // Default rate at which to verify whether background i 926 updateBgScaling(Frame video, Frame background, boolean fitModeChanged) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivityDelegateBase.java | 867 int backgroundResId = st.background; 1539 int background; field in class:ActionBarActivityDelegateBase.PanelFeatureState 1647 background = a.getResourceId(
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 318 * in the background when the notification is selected. The URI must point to an image stream 400 * Notification category: progress of a long-running background operation. 410 * Notification category: error in background operation or authentication status. 425 * Notification category: indication of running background service. 2280 private static final String KEY_BACKGROUND = "background"; 2574 * Set a background image to be displayed behind the notification content. 2575 * Contrary to the {@link NotificationCompat.BigPictureStyle}, this background 2578 * @param background the background bitmap 2582 public WearableExtender setBackground(Bitmap background) { argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Notification.java | 602 * Notification category: progress of a long-running background operation. 612 * Notification category: error in background operation or authentication status. 627 * Notification category: indication of running background service. 824 * in the background when the notification is selected. The URI must point to an image stream 2403 * They are typically used to indicate a background task that the user is actively engaged 3055 * Apply any necessary background to smallIcons being used in the largeIcon spot. 3069 * Apply any necessary background to a largeIcon if it's a fake smallIcon (that is, 4476 private static final String KEY_BACKGROUND = "background"; 4765 * Set a background image to be displayed behind the notification content. 4766 * Contrary to the {@link android.app.Notification.BigPictureStyle}, this background 4773 setBackground(Bitmap background) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 224 /** Whether window content should be clipped to the background outline. */ 731 // corresponding background 735 // Otherwise, set the normal panel background 736 backgroundResId = st.background; 3114 // Note: if there is no background, we will assume opaque. The 3116 // no background so it can draw everything itself. For that, 3127 // if either the frame -or- the background is opaque. 3144 // frame and background together will draw all pixels. 3625 // Remaining setup -- of background and title -- that only applies 3628 final Drawable background; 4327 int background; field in class:PhoneWindow.PanelFeatureState [all...] |
/frameworks/base/core/java/android/view/ |
H A D | View.java | 458 * in the tree. If you set a background drawable for a View, then the View will 816 * this flag set and a background. Use with DRAW_MASK when calling setFlags. 1013 * background, if any. 1758 * Indicates whether the background is opaque. 3207 * of the background drawable. It is cleared on temporary detach, and reset 3369 * Solid color to use as a background when creating the drawing cache. Enables 3634 * (in particular its background) as well as the Button class's attributes. 3691 Drawable background = null; 3737 background = a.getDrawable(attr); 4102 if (background ! 16224 setBackground(Drawable background) argument 16233 setBackgroundDrawable(Drawable background) argument [all...] |