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

/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DBackDropperEffect.java31 * Replaces the background of the input video stream with a selected video
32 * Learns the background when it first starts up;
33 * needs unobstructed view of background when this happens.
36 * source: A URI for the background video
54 "@filter MediaSource background {\n" +
69 "@connect background[video] => replacer[background];\n" +
92 Filter background = mGraph.getFilter("background");
93 background
[all...]
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css29 background-color: rgb(192,192,192);
35 background-color: rgb(235,235,235);
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css72 background-color: #EBEFF6;
108 background-color: #9CAFD4;
145 background-color: #FBFCFD;
155 background-color: black;
168 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444));
169 background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000);
184 background-color: white;
196 background-color: #EBEFF6;
204 background-color: #EBEFF6;
211 background
[all...]
/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
91 final Drawable background = mBackground;
92 if (background != null) {
103 // The background here is a gradient that wants to
116 background.setBounds(left, top, right, bottom);
124 canvas.drawRect(background.getBounds(), p);
H A DPhoneWindow.java590 // corresponding background
594 // Otherwise, set the normal panel background
595 backgroundResId = st.background;
2391 // Note: if there is no background, we will assume opaque. The
2393 // no background so it can draw everything itself. For that,
2404 // if either the frame -or- the background is opaque.
2421 // frame and background together will draw all pixels.
2827 // Remaining setup -- of background and title -- that only applies
3259 int background; field in class:PhoneWindow.PanelFeatureState
3261 /** The background whe
[all...]
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DMultiAdapterSpinner.java149 final Drawable background = mPopup.getBackground();
151 if (background != null) {
152 background.getPadding(mTempRect);
/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/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java98 // If the SizeAdaptiveLayout has a solid background, use it as a transition hint.
99 Drawable background = getBackground();
100 if (background instanceof StateListDrawable) {
101 StateListDrawable sld = (StateListDrawable) background;
103 background = sld.getCurrent();
105 if (background instanceof ColorDrawable) {
106 mModestyPanel.setBackgroundDrawable(background);
259 // TODO: mModestyPanel background should be compatible with mLeavingView
/frameworks/base/core/java/android/widget/
H A DSpinner.java216 * Set the background drawable for the spinner's popup window of choices.
219 * @param background Background drawable
223 public void setPopupBackgroundDrawable(Drawable background) { argument
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) { argument
691 // Add background paddin
[all...]
H A DProgressBar.java100 * // Start lengthy operation in a background thread
170 * if your application uses a light colored theme (a white background).</p>
318 LayerDrawable background = (LayerDrawable) drawable;
319 final int N = background.getNumberOfLayers();
323 int id = background.getId(i);
324 outDrawables[i] = tileify(background.getDrawable(i),
331 newBg.setId(i, background.getId(i));
376 AnimationDrawable background = (AnimationDrawable) drawable;
377 final int N = background.getNumberOfFrames();
379 newBg.setOneShot(background
[all...]
H A DPopupWindow.java150 * <p>The popup does provide a background.</p>
159 * <p>The popup does provide a background.</p>
168 * <p>The popup does provide a background.</p>
177 * <p>The popup does not provide a background.</p>
203 StateListDrawable background = (StateListDrawable) mBackground;
206 int aboveAnchorStateIndex = background.getStateDrawableIndex(ABOVE_ANCHOR_STATE_SET);
210 int count = background.getStateCount();
222 mAboveAnchorBackgroundDrawable = background.getStateDrawable(aboveAnchorStateIndex);
223 mBelowAnchorBackgroundDrawable = background.getStateDrawable(belowAnchorStateIndex);
236 * <p>The popup does not provide any background
324 setBackgroundDrawable(Drawable background) argument
[all...]
H A DListPopupWindow.java343 * @return The background drawable for the popup window.
350 * Sets a drawable to be the background for the popup window.
352 * @param d A drawable to set as the background.
1081 Drawable background = mPopup.getBackground();
1082 if (background != null) {
1083 background.getPadding(mTempRect);
1087 // background so that content will line up.
1184 setCacheColorHint(0); // Transparent, since the background drawable could be anything.
/frameworks/ex/carousel/test/src/com/android/carouseltest/
H A DMusicDemoActivity.java95 mView.setBackgroundBitmap(BitmapFactory.decodeResource(res, R.drawable.background));
/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/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
769 * this flag set and a background. Use with DRAW_MASK when calling setFlags.
951 * background, if any.
1667 * Indicates whether the background is opaque.
3070 * Solid color to use as a background when creating the drawing cache. Enables
3269 * particular its background) as well as the Button class's attributes.
3286 Drawable background = null;
3330 background = a.getDrawable(attr);
3646 if (background != null) {
3647 setBackground(background);
14485 setBackground(Drawable background) argument
14494 setBackgroundDrawable(Drawable background) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java313 // View should be large enough to contain the background + handle and
745 final Drawable background = getBackground();
746 if (mAlwaysTrackFinger && background != null) {
750 mBackgroundAnimator = Tweener.to(background, duration,
H A DMultiWaveView.java304 // View should be large enough to contain the background + handle and
741 Drawable background = getBackground();
742 if (mAlwaysTrackFinger && background != null) {
746 mBackgroundAnimator = Tweener.to(background, duration,
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp562 // TODO: make measurments with background blend other than
564 // background blend of HWC_BLENDING_NONE, with the
1287 Rectangle background(backgroundFormat, startDim, startDim);
1288 background.blend = backgroundBlend;
1289 rectList.push_back(background);
1301 background.blend = foregroundBlend;
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java544 // Create the background of the chip.
563 Log.w(TAG, "Unable to draw a background for the chips as it was never set");
586 // Create the background of the chip.
589 Drawable background = getChipBackground(contact);
590 if (background != null) {
591 background.setBounds(0, 0, width, height);
592 background.draw(canvas);
640 Log.w(TAG, "Unable to draw a background for the chips as it was never set");
646 * Get the background drawable for a RecipientChip.
1933 * will change the background colo
[all...]

Completed in 390 milliseconds