Searched defs:background (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryView.java40 public void setBackground(Drawable background) { argument
42 background.getPadding(rect);
43 final InsetDrawable inset = new InsetDrawable(background, -rect.left, 0, -rect.right, 0);
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp15 GLfloat background; variable
175 glClearColor(background, grey, grey, 1.0f);
182 background = 1.0f - background;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DSpinnerICS.java478 int measureContentWidth(SpinnerAdapter adapter, Drawable background) { argument
513 // Add background padding to measured width
514 if (background != null) {
515 background.getPadding(mTempRect);
750 final Drawable background = getBackground();
752 if (background != null) {
753 background.getPadding(mTempRect);
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java153 * <p>The popup does provide a background.</p>
162 * <p>The popup does provide a background.</p>
171 * <p>The popup does provide a background.</p>
180 * <p>The popup does not provide a background.</p>
206 StateListDrawable background = (StateListDrawable) mBackground;
209 int aboveAnchorStateIndex = background.getStateDrawableIndex(ABOVE_ANCHOR_STATE_SET);
213 int count = background.getStateCount();
225 mAboveAnchorBackgroundDrawable = background.getStateDrawable(aboveAnchorStateIndex);
226 mBelowAnchorBackgroundDrawable = background.getStateDrawable(belowAnchorStateIndex);
239 * <p>The popup does not provide any background
327 setBackgroundDrawable(Drawable background) argument
[all...]
H A DSpinner.java237 * Set the background drawable for the spinner's popup window of choices.
240 * @param background Background drawable
244 public void setPopupBackgroundDrawable(Drawable background) { argument
249 ((DropdownPopup) mPopup).setBackgroundDrawable(background);
253 * Set the background drawable for the spinner's popup window of choices.
256 * @param resId Resource ID of a background drawable
265 * Get the background drawable for the spinner's popup window of choices.
268 * @return background Background drawable
709 int measureContentWidth(SpinnerAdapter adapter, Drawable background) { argument
744 // Add background paddin
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java65 // Dimensions of foreground / background mask. Optimum value should take into account only
72 // Levels at which to compute foreground / background decision. Think of them as are deltas
116 // Whether to mirror the background or not. For ex, the Camera app
122 // coordinates, if we were to mirror the background
132 // Maximum distance (in standard deviations) for considering a pixel as background
140 // Width of foreground / background mask.
142 // Height of foreground / background mask.
154 // Mask value to start blending away from background
170 // Default rate at which to learn bg model from new background pixels
174 // Default rate at which to verify whether background i
928 updateBgScaling(Frame video, Frame background, boolean fitModeChanged) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java620 // corresponding background
624 // Otherwise, set the normal panel background
625 backgroundResId = st.background;
2587 // Note: if there is no background, we will assume opaque. The
2589 // no background so it can draw everything itself. For that,
2600 // if either the frame -or- the background is opaque.
2617 // frame and background together will draw all pixels.
3037 // Remaining setup -- of background and title -- that only applies
3490 int background; field in class:PhoneWindow.PanelFeatureState
3492 /** The background whe
[all...]
/frameworks/base/core/java/android/view/
H A DView.java441 * If you set a background drawable for a View, then the View will draw it for you
785 * this flag set and a background. Use with DRAW_MASK when calling setFlags.
967 * background, if any.
1681 * Indicates whether the background is opaque.
3264 * Solid color to use as a background when creating the drawing cache. Enables
3494 * particular its background) as well as the Button class's attributes.
3510 Drawable background = null;
3554 background = a.getDrawable(attr);
3873 if (background != null) {
3874 setBackground(background);
15320 setBackground(Drawable background) argument
15329 setBackgroundDrawable(Drawable background) argument
[all...]

Completed in 271 milliseconds