Searched refs:background (Results 1 - 23 of 23) 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/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/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.java620 // corresponding background
624 // Otherwise, set the normal panel background
625 backgroundResId = st.background;
2533 // Note: if there is no background, we will assume opaque. The
2535 // no background so it can draw everything itself. For that,
2546 // if either the frame -or- the background is opaque.
2563 // frame and background together will draw all pixels.
2981 // Remaining setup -- of background and title -- that only applies
3434 int background; field in class:PhoneWindow.PanelFeatureState
3436 /** 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/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarICS.java164 LayerDrawable background = (LayerDrawable) drawable;
165 final int N = background.getNumberOfLayers();
169 int id = background.getId(i);
170 outDrawables[i] = tileify(background.getDrawable(i),
177 newBg.setId(i, background.getId(i));
213 AnimationDrawable background = (AnimationDrawable) drawable;
214 final int N = background.getNumberOfFrames();
216 newBg.setOneShot(background.isOneShot());
219 Drawable frame = tileify(background.getFrame(i), true);
221 newBg.addFrame(frame, background
[all...]
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);
H A DListPopupWindow.java328 * @return The background drawable for the popup window.
335 * Sets a drawable to be the background for the popup window.
337 * @param d A drawable to set as the background.
1019 Drawable background = mPopup.getBackground();
1020 if (background != null) {
1021 background.getPadding(mTempRect);
1025 // background so that content will line up.
1172 setCacheColorHint(0); // Transparent, since the background drawable could be anything.
/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);
257 // TODO: mModestyPanel background should be compatible with mLeavingView
/frameworks/base/core/java/android/widget/
H A DProgressBar.java97 * // Start lengthy operation in a background thread
167 * if your application uses a light colored theme (a white background).</p>
320 LayerDrawable background = (LayerDrawable) drawable;
321 final int N = background.getNumberOfLayers();
325 int id = background.getId(i);
326 outDrawables[i] = tileify(background.getDrawable(i),
333 newBg.setId(i, background.getId(i));
378 AnimationDrawable background = (AnimationDrawable) drawable;
379 final int N = background.getNumberOfFrames();
381 newBg.setOneShot(background
[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...]
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 DListPopupWindow.java355 * @return The background drawable for the popup window.
362 * Sets a drawable to be the background for the popup window.
364 * @param d A drawable to set as the background.
1125 Drawable background = mPopup.getBackground();
1126 if (background != null) {
1127 background.getPadding(mTempRect);
1131 // background so that content will line up.
1449 setCacheColorHint(0); // Transparent, since the background drawable could be anything.
H A DFastScroller.java423 final Drawable background = mPreviewImage.getBackground();
424 if (background != null) {
426 background.getPadding(padding);
/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.java442 * If you set a background drawable for a View, then the View will draw it for you
786 * this flag set and a background. Use with DRAW_MASK when calling setFlags.
968 * background, if any.
1682 * Indicates whether the background is opaque.
3255 * Solid color to use as a background when creating the drawing cache. Enables
3485 * particular its background) as well as the Button class's attributes.
3501 Drawable background = null;
3545 background = a.getDrawable(attr);
3864 if (background != null) {
3865 setBackground(background);
15288 setBackground(Drawable background) argument
15297 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.java563 // Create the background of the chip.
582 Log.w(TAG, "Unable to draw a background for the chips as it was never set");
605 // Create the background of the chip.
608 Drawable background = getChipBackground(contact);
609 if (background != null) {
610 background.setBounds(0, 0, width, height);
611 background.draw(canvas);
659 Log.w(TAG, "Unable to draw a background for the chips as it was never set");
665 * Get the background drawable for a RecipientChip.
1968 * will change the background colo
[all...]

Completed in 4363 milliseconds