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

/frameworks/base/core/java/android/widget/
H A DProgressBar.java89 * // Start lengthy operation in a background thread
231 LayerDrawable background = (LayerDrawable) drawable;
232 final int N = background.getNumberOfLayers();
236 int id = background.getId(i);
237 outDrawables[i] = tileify(background.getDrawable(i),
244 newBg.setId(i, background.getId(i));
289 AnimationDrawable background = (AnimationDrawable) drawable;
290 final int N = background.getNumberOfFrames();
292 newBg.setOneShot(background.isOneShot());
295 Drawable frame = tileify(background
[all...]
H A DPopupWindow.java139 * <p>The popup does provide a background.</p>
148 * <p>The popup does provide a background.</p>
157 * <p>The popup does provide a background.</p>
179 StateListDrawable background = (StateListDrawable) mBackground;
182 int aboveAnchorStateIndex = background.getStateDrawableIndex(ABOVE_ANCHOR_STATE_SET);
186 int count = background.getStateCount();
198 mAboveAnchorBackgroundDrawable = background.getStateDrawable(aboveAnchorStateIndex);
199 mBelowAnchorBackgroundDrawable = background.getStateDrawable(belowAnchorStateIndex);
212 * <p>The popup does not provide any background. This should be handled
223 * <p>The popup does not provide any background
300 setBackgroundDrawable(Drawable background) argument
[all...]
H A DAutoCompleteTextView.java319 * <p>Gets the background of the auto-complete drop-down list.</p>
321 * @return the background drawable
332 * <p>Sets the background of the auto-complete drop-down list.</p>
334 * @param d the drawable to set as the background
345 * <p>Sets the background of the auto-complete drop-down list.</p>
347 * @param id the id of the drawable to set as the background
1340 Drawable background = mPopup.getBackground();
1341 if (background != null) {
1342 background.getPadding(mTempRect);
/frameworks/base/core/java/android/webkit/
H A DTextDialog.java89 ShapeDrawable background = new ShapeDrawable(new RectShape());
90 Paint shapePaint = background.getPaint();
95 array[1] = background;
/frameworks/base/core/java/android/app/
H A DSuggestionsAdapter.java353 Drawable background = getItemBackground(backgroundColor);
354 view.setBackgroundDrawable(background);
383 if (DBG) Log.d(LOG_TAG, "Creating new background for color " + backgroundColor);
385 ColorDrawable background = new ColorDrawable(backgroundColor);
389 newBg.addState(new int[]{}, background);
/frameworks/base/core/java/android/view/
H A DView.java421 * If you set a background drawable for a View, then the View will draw it for you
671 * will be performed. It is okay to have this flag set and a background.
842 * background, if any.
1474 * Indicates whether the background is opaque.
1752 * Solid color to use as a background when creating the drawing cache. Enables
1805 * particular its background) as well as the Button class's attributes.
1822 Drawable background = null;
1846 background = a.getDrawable(attr);
2037 if (background != null) {
2038 setBackgroundDrawable(background);
[all...]
/frameworks/base/services/java/com/android/server/status/
H A DStatusBarPolicy.java709 private void setBatteryLevel(View parent, int id, int height, int background, int level) { argument
713 if (background != 0) {
714 v.setBackgroundResource(background);
/frameworks/policies/base/mid/com/android/internal/policy/impl/
H A DMidWindow.java461 // corresponding background
464 // Otherwise, set the normal panel background
465 backgroundResId = st.background;
1816 // Note: if there is no background, we will assume opaque. The
1818 // no background so it can draw everything itself. For that,
1829 // if either the frame -or- the background is opaque.
1846 // frame and background together will draw all pixels.
2042 // Remaining setup -- of background and title -- that only applies
2400 int background; field in class:MidWindow.PanelFeatureState
2402 /** The background whe
[all...]
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DPhoneWindow.java544 // corresponding background
547 // Otherwise, set the normal panel background
548 backgroundResId = st.background;
1960 // Note: if there is no background, we will assume opaque. The
1962 // no background so it can draw everything itself. For that,
1973 // if either the frame -or- the background is opaque.
1990 // frame and background together will draw all pixels.
2200 // Remaining setup -- of background and title -- that only applies
2559 int background; field in class:PhoneWindow.PanelFeatureState
2561 /** The background whe
[all...]

Completed in 166 milliseconds