/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 25 background = 0x01010000, // default enumerator in enum:android::R::attr::__anon1002
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowViewDelegate.java | 24 void setBackgroundDrawable(Drawable background); argument
|
/frameworks/base/core/java/android/view/ |
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/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/support/v4/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 34 public static int compositeColors(int foreground, int background) { argument 35 int bgAlpha = Color.alpha(background); 40 Color.red(background), bgAlpha, a); 42 Color.green(background), bgAlpha, a); 44 Color.blue(background), bgAlpha, a); 77 * Returns the contrast ratio between {@code foreground} and {@code background}. 78 * {@code background} must be opaque. 83 public static double calculateContrast(int foreground, int background) { argument 84 if (Color.alpha(background) != 255) { 85 throw new IllegalArgumentException("background ca 109 calculateMinimumAlpha(int foreground, int background, float minContrastRatio) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatRatingBar.java | 96 LayerDrawable background = (LayerDrawable) drawable; 97 final int N = background.getNumberOfLayers(); 101 int id = background.getId(i); 102 outDrawables[i] = tileify(background.getDrawable(i), 108 newBg.setId(i, background.getId(i)); 137 AnimationDrawable background = (AnimationDrawable) drawable; 138 final int N = background.getNumberOfFrames(); 140 newBg.setOneShot(background.isOneShot()); 143 Drawable frame = tileify(background.getFrame(i), true); 145 newBg.addFrame(frame, background [all...] |
H A D | AppCompatAutoCompleteTextView.java | 39 * <li>Allows dynamic tint of it background via the background tint methods in 41 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 103 public void setBackgroundDrawable(Drawable background) { argument 104 super.setBackgroundDrawable(background); 106 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatButton.java | 40 * <li>Allows dynamic tint of it background via the background tint methods in 42 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 83 public void setBackgroundDrawable(Drawable background) { argument 84 super.setBackgroundDrawable(background); 86 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatEditText.java | 38 * <li>Allows dynamic tint of it background via the background tint methods in 40 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 81 public void setBackgroundDrawable(Drawable background) { argument 82 super.setBackgroundDrawable(background); 84 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatMultiAutoCompleteTextView.java | 39 * <li>Allows dynamic tint of it background via the background tint methods in 41 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 103 public void setBackgroundDrawable(Drawable background) { argument 104 super.setBackgroundDrawable(background); 106 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatSpinner.java | 55 * <li>Allows dynamic tint of it background via the background tint methods in 57 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 296 public void setPopupBackgroundDrawable(Drawable background) { argument 298 mPopup.setBackgroundDrawable(background); 300 super.setPopupBackgroundDrawable(background); 453 public void setBackgroundDrawable(Drawable background) { argument 454 super.setBackgroundDrawable(background); 456 mBackgroundTintHelper.onSetBackgroundDrawable(background); 522 private int compatMeasureContentWidth(SpinnerAdapter adapter, Drawable background) { argument [all...] |
/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/services/core/java/com/android/server/policy/ |
H A D | RecentApplicationsBackground.java | 29 * A vertical linear layout. However, instead of drawing the background 30 * behnd the items, it draws the background outside the items based on the 31 * padding. If there isn't enough room to draw both, it clips the background 90 final Drawable background = mBackground; 91 if (background != null) { 102 // The background here is a gradient that wants to 115 background.setBounds(left, top, right, bottom); 123 canvas.drawRect(background.getBounds(), p);
|
/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/core/java/android/app/ |
H A D | EnterTransitionCoordinator.java | 271 Drawable background = decorView.getBackground(); 272 if (background != null) { 274 background = background.mutate(); 275 background.setAlpha(0); 276 getWindow().setBackgroundDrawable(background); 514 Drawable background = decorView.getBackground(); 515 if (background != null) { 516 background = background [all...] |
H A D | ExitTransitionCoordinator.java | 289 Drawable background; 290 if (decor != null && (background = decor.getBackground()) != null) { 291 background = background.mutate(); 292 getWindow().setBackgroundDrawable(background); 293 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationBackgroundView.java | 29 * A view that can be used for both the dimmed and normal background of an notification. 77 * Sets a background drawable. As we need to change our bounds independently of layout, we need 78 * the notion of a background independently of the regular View background.. 80 public void setCustomBackground(Drawable background) { argument 85 mBackground = background;
|
H A D | ActivatableNotificationView.java | 80 * Scale for the background to animate from when exiting dark mode. 370 * Sets the tint color of the background 391 * Fades in the background when exiting dark mode. 394 final View background = mDimmed ? mBackgroundDimmed : mBackgroundNormal; 395 background.setAlpha(0f); 396 background.setPivotX(mBackgroundDimmed.getWidth() / 2f); 397 background.setPivotY(getActualHeight() / 2f); 398 background.setScaleX(DARK_EXIT_SCALE_START); 399 background.setScaleY(DARK_EXIT_SCALE_START); 400 background [all...] |
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 15 GLfloat background; variable 175 glClearColor(background, grey, grey, 1.0f); 182 background = 1.0f - background;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | HeadersFragment.java | 223 Drawable background = fadingView.getBackground(); 224 if (background instanceof GradientDrawable) { 225 background.mutate(); 226 ((GradientDrawable) background).setColors(
|
H A D | HeadersSupportFragment.java | 225 Drawable background = fadingView.getBackground(); 226 if (background instanceof GradientDrawable) { 227 background.mutate(); 228 ((GradientDrawable) background).setColors(
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintImageView.java | 32 android.R.attr.background,
|
/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. */ 315 // If we just became visible, ensure the background and ripple 558 // Don't null out the background, we need it to draw! 611 * background. Nothing will be drawn after this method is called. 843 final RippleBackground background = mBackground; 845 if (active == null && count <= 0 && (background == null || !background [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 49 * <p>The background color of this view defaults to the your theme's {@code colorAccent}. If you 90 Drawable background = a.getDrawable(R.styleable.FloatingActionButton_android_background); 117 public void setBackgroundDrawable(Drawable background) { 118 FloatingActionButton.super.setBackgroundDrawable(background); 135 mImpl.setBackgroundDrawable(background, mBackgroundTint, 175 * Return the tint applied to the background drawable, if specified. 177 * @return the tint applied to the background drawable 187 * Applies a tint to the background drawable. Does not modify the current tint 201 * Return the blending mode used to apply the tint to the background 204 * @return the blending mode used to apply the tint to the background 230 setBackgroundDrawable(@onNull Drawable background) 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);
|