Searched refs:background (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/service/wallpaper/
H A DImageWallpaper.java145 final Drawable background = mBackground;
148 final int bw = background != null ? background.getIntrinsicWidth() : 0;
149 final int bh = background != null ? background.getIntrinsicHeight() : 0;
162 if (background != null) {
163 background.draw(c);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java30 * A vertical linear layout. However, instead of drawing the background
31 * behnd the items, it draws the background outside the items based on the
32 * padding. If there isn't enough room to draw both, it clips the background
85 final Drawable background = mBackground;
86 if (background != null) {
97 // The background here is a gradient that wants to
110 background.setBounds(left, top, right, bottom);
118 canvas.drawRect(background.getBounds(), p);
H A DPhoneWindow.java447 // corresponding background
450 // Otherwise, set the normal panel background
451 backgroundResId = st.background;
1939 // Note: if there is no background, we will assume opaque. The
1941 // no background so it can draw everything itself. For that,
1952 // if either the frame -or- the background is opaque.
1969 // frame and background together will draw all pixels.
2221 // Remaining setup -- of background and title -- that only applies
2581 int background; field in class:PhoneWindow.PanelFeatureState
2583 /** The background whe
[all...]
/frameworks/base/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/base/core/java/android/widget/
H A DProgressBar.java91 * // Start lengthy operation in a background thread
235 LayerDrawable background = (LayerDrawable) drawable;
236 final int N = background.getNumberOfLayers();
240 int id = background.getId(i);
241 outDrawables[i] = tileify(background.getDrawable(i),
248 newBg.setId(i, background.getId(i));
293 AnimationDrawable background = (AnimationDrawable) drawable;
294 final int N = background.getNumberOfFrames();
296 newBg.setOneShot(background.isOneShot());
299 Drawable frame = tileify(background
[all...]
H A DPopupWindow.java142 * <p>The popup does provide a background.</p>
151 * <p>The popup does provide a background.</p>
160 * <p>The popup does provide a background.</p>
186 StateListDrawable background = (StateListDrawable) mBackground;
189 int aboveAnchorStateIndex = background.getStateDrawableIndex(ABOVE_ANCHOR_STATE_SET);
193 int count = background.getStateCount();
205 mAboveAnchorBackgroundDrawable = background.getStateDrawable(aboveAnchorStateIndex);
206 mBelowAnchorBackgroundDrawable = background.getStateDrawable(belowAnchorStateIndex);
219 * <p>The popup does not provide any background. This should be handled
230 * <p>The popup does not provide any background
307 setBackgroundDrawable(Drawable background) argument
[all...]
H A DAutoCompleteTextView.java326 * <p>Gets the background of the auto-complete drop-down list.</p>
328 * @return the background drawable
337 * <p>Sets the background of the auto-complete drop-down list.</p>
339 * @param d the drawable to set as the background
348 * <p>Sets the background of the auto-complete drop-down list.</p>
350 * @param id the id of the drawable to set as the background
1120 * the background.
1366 Drawable background = mPopup.getBackground();
1367 if (background != null) {
1368 background
[all...]
/frameworks/base/core/java/android/app/
H A DSuggestionsAdapter.java290 Drawable background = getItemBackground(backgroundColor);
291 view.setBackgroundDrawable(background);
360 if (DBG) Log.d(LOG_TAG, "Creating new background for color " + backgroundColor);
362 ColorDrawable background = new ColorDrawable(backgroundColor);
366 newBg.addState(new int[]{}, background);
/frameworks/base/core/java/android/view/
H A DView.java423 * If you set a background drawable for a View, then the View will draw it for you
699 * will be performed. It is okay to have this flag set and a background.
877 * background, if any.
1509 * Indicates whether the background is opaque.
1848 * Solid color to use as a background when creating the drawing cache. Enables
1909 * particular its background) as well as the Button class's attributes.
1926 Drawable background = null;
1951 background = a.getDrawable(attr);
2159 if (background != null) {
2160 setBackgroundDrawable(background);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarPolicy.java788 private void setBatteryLevel(View parent, int id, int height, int background, int level) { argument
792 if (background != 0) {
793 v.setBackgroundResource(background);

Completed in 259 milliseconds