/frameworks/base/core/java/android/app/ |
H A D | EnterTransitionCoordinator.java | 331 Drawable background = decorView.getBackground(); 332 if (background != null) { 334 background = background.mutate(); 335 background.setAlpha(0); 336 getWindow().setBackgroundDrawable(background); 578 Drawable background = decorView.getBackground(); 579 if (background != null) { 580 background = background [all...] |
H A D | ExitTransitionCoordinator.java | 285 Drawable background; 286 if (decor != null && (background = decor.getBackground()) != null) { 287 background = background.mutate(); 288 getWindow().setBackgroundDrawable(background); 289 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 0);
|
H A D | Notification.java | 674 * Notification category: progress of a long-running background operation. 684 * Notification category: error in background operation or authentication status. 699 * Notification category: indication of running background service. 926 * in the background when the notification is selected. The URI must point to an image stream 2837 * They are typically used to indicate a background task that the user is actively engaged 5652 private static final String KEY_BACKGROUND = "background"; 5950 * Set a background image to be displayed behind the notification content. 5951 * Contrary to the {@link android.app.Notification.BigPictureStyle}, this background 5954 * @param background the background bitma 5958 setBackground(Bitmap background) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 300 public void setBackgroundDrawable(Drawable background) { argument 301 if (background != null && !sTextureViewIgnoresDrawableSetters) { 303 "TextureView doesn't support displaying a background drawable"); 318 /* Simplify drawing to guarantee the layer is the only thing drawn - so e.g. no background,
|
H A D | View.java | 473 * in the tree. If you set a background drawable for a View, then the View will 902 * this flag set and a background. Use with DRAW_MASK when calling setFlags. 1110 * background, if any. 1801 * Indicates whether the background is opaque. 3521 * of the background drawable. It is cleared on temporary detach, and reset 3719 * Solid color to use as a background when creating the drawing cache. Enables 4070 * (in particular its background) as well as the Button class's attributes. 4127 Drawable background = null; 4174 background = a.getDrawable(attr); 4571 if (background ! 18118 setBackground(Drawable background) argument 18127 setBackgroundDrawable(Drawable background) argument [all...] |
H A D | ViewOutlineProvider.java | 27 * Default outline provider for Views, which queries the Outline from the View's background, 28 * or generates a 0 alpha, rectangular Outline the size of the View if a background 36 Drawable background = view.getBackground(); 37 if (background != null) { 38 background.getOutline(outline); 50 * This can be used to enable Views that are opaque but lacking a background cast a shadow. 63 * This can be used to enable Views that are opaque but lacking a background cast a shadow.
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 632 final Drawable background = getBackground(); 633 if (background != null) { 636 background.setHotspotBounds(left + offsetX, top + offsetY,
|
H A D | CheckedTextView.java | 414 final Drawable background = getBackground(); 415 if (background != null) { 416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
|
H A D | CompoundButton.java | 426 final Drawable background = getBackground(); 427 if (background != null) { 428 background.setHotspotBounds(left, top, right, bottom);
|
H A D | ListPopupWindow.java | 372 * @return The background drawable for the popup window. 379 * Sets a drawable to be the background for the popup window. 381 * @param d A drawable to set as the background. 1188 final Drawable background = mPopup.getBackground(); 1189 if (background != null) { 1190 background.getPadding(mTempRect); 1194 // the window background so that content will line up.
|
H A D | PopupWindow.java | 148 /** View that holds the background and may animate during a transition. */ 151 /** The contents of the popup. May be identical to the background view. */ 240 * <p>The popup does provide a background.</p> 249 * <p>The popup does provide a background.</p> 258 * <p>The popup does provide a background.</p> 267 * <p>The popup does not provide a background.</p> 313 * <p>The popup does not provide any background. This should be handled 324 * <p>The popup does not provide any background. This should be handled 337 * <p>The popup does not provide any background. This should be handled 352 * <p>The popup does not provide any background 487 setBackgroundDrawable(Drawable background) argument [all...] |
H A D | ProgressBar.java | 103 * // Start lengthy operation in a background thread 173 * if your application uses a light colored theme (a white background).</p> 539 AnimationDrawable background = (AnimationDrawable) drawable; 540 final int N = background.getNumberOfFrames(); 542 newBg.setOneShot(background.isOneShot()); 545 Drawable frame = tileify(background.getFrame(i), true); 547 newBg.addFrame(frame, background.getDuration(i)); 891 final Drawable target = getTintTarget(R.id.background, false); 1017 * Applies a tint to the progress background, if one exists. Does not 1021 * The progress background mus [all...] |
H A D | Spinner.java | 323 * Set the background drawable for the spinner's popup window of choices. 326 * @param background Background drawable 330 public void setPopupBackgroundDrawable(Drawable background) { argument 335 mPopup.setBackgroundDrawable(background); 339 * Set the background drawable for the spinner's popup window of choices. 342 * @param resId Resource ID of a background drawable 351 * Get the background drawable for the spinner's popup window of choices. 354 * @return background Background drawable 820 int measureContentWidth(SpinnerAdapter adapter, Drawable background) { argument 855 // Add background paddin [all...] |
H A D | Switch.java | 1196 final Drawable background = getBackground(); 1197 if (background != null) { 1198 background.setHotspotBounds(thumbLeft, switchTop, thumbRight, switchBottom); 1202 // Draw the background.
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 229 /** Whether window content should be clipped to the background outline. */ 815 // corresponding background 819 // Otherwise, set the normal panel background 820 backgroundResId = st.background; 2631 // Remaining setup -- of background and title -- that only applies 2634 final Drawable background; 2636 background = getContext().getDrawable(mBackgroundResource); 2638 background = mBackgroundDrawable; 2640 mDecor.setWindowBackground(background); 3339 int background; field in class:PhoneWindow.PanelFeatureState [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 237 * @param findFg if true, we assume {@param color} is a foreground, otherwise a background. 286 /** Finds a background color for a text view with given text color and hint text color, that 333 + " and %s (over background) by changing #%s to %s", 363 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { argument 364 int bgAlpha = Color.alpha(background); 369 Color.red(background), bgAlpha, a); 371 Color.green(background), bgAlpha, a); 373 Color.blue(background), bgAlpha, a); 400 * Returns the contrast ratio between {@code foreground} and {@code background}. 401 * {@code background} mus 406 calculateContrast(@olorInt int foreground, @ColorInt int background) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContainer.java | 59 // Set a transparent background so that we project appropriately. 162 final Drawable background = mBackground; 163 if (background != null && background.isStateful()) { 164 changed |= background.setState(state); 364 * Dummy drawable so that we don't break background display lists and 391 // ignore the stacked background for shadow casting
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 96 background-color: #F1F1F1; 132 background-color: #B8B8B8; 164 background-color: #FBFCFD; 178 background-color: #FCFCFC; 197 -webkit-transition-property: background-color, box-shadow; 199 -moz-transition-property: background-color, box-shadow; 201 -ms-transition-property: background-color, box-shadow; 203 -o-transition-property: background-color, box-shadow; 205 transition-property: background-color, box-shadow; 210 background [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleDrawable.java | 86 * background, the ripple will be drawn atop the first available parent 87 * background within the View's hierarchy. In this case, the drawing region 128 /** The current background. May be actively animating or pending entry. */ 138 /** Whether we expect to draw a background when visible. */ 324 // If we just became visible, ensure the background and ripple 557 // Don't null out the background, we need it to draw! 610 * background. Nothing will be drawn after this method is called. 842 final RippleBackground background = mBackground; 844 if (active == null && count <= 0 && (background == null || !background [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | Theme_test.cpp | 47 ASSERT_GE(theme1.getAttribute(android::R::attr::background, &val), 0); 60 ASSERT_GE(theme2.getAttribute(android::R::attr::background, &val), 0);
|
/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 25 background = 0x01010000, // default enumerator in enum:android::R::attr::__anon1043
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RecordingCanvasTests.cpp | 250 // a background! 513 sp<RenderNode> background = TestUtils::createNode(50, 50, 150, 150, local 520 background->mutateStagingProperties().setProjectionReceiver(false); 524 [&background](RecordingCanvas& canvas) { 526 canvas.drawRenderNode(background.get()); 533 background->mutateStagingProperties().setProjectionReceiver(true); 537 [&background](RecordingCanvas& canvas) { 539 canvas.drawRenderNode(background.get()); 550 EXPECT_TRUE(background->stagingProperties().isProjectionReceiver()); 551 EXPECT_FALSE(background [all...] |
/frameworks/base/media/mca/effect/java/android/media/effect/effects/ |
H A D | BackDropperEffect.java | 31 * 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/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
H A D | BackDropperFilter.java | 63 // Dimensions of foreground / background mask. Optimum value should take into account only 70 // Levels at which to compute foreground / background decision. Think of them as are deltas 114 // Whether to mirror the background or not. For ex, the Camera app 120 // coordinates, if we were to mirror the background 130 // Maximum distance (in standard deviations) for considering a pixel as background 138 // Width of foreground / background mask. 140 // Height of foreground / background mask. 152 // Mask value to start blending away from background 168 // Default rate at which to learn bg model from new background pixels 172 // Default rate at which to verify whether background i 926 updateBgScaling(Frame video, Frame background, boolean fitModeChanged) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
H A D | MediaRecorderTest.java | 272 int background = (i * 255 / 99); 273 canvas.drawARGB(255, background, background, background); 286 int background = (i * 255 / 99); 287 canvas.drawARGB(255, background, background, background);
|