/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 25 background = 0x01010000, // default enumerator in enum:android::R::attr::__anon1043
|
/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/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatProgressBarHelper.java | 81 LayerDrawable background = (LayerDrawable) drawable; 82 final int N = background.getNumberOfLayers(); 86 int id = background.getId(i); 87 outDrawables[i] = tileify(background.getDrawable(i), 93 newBg.setId(i, background.getId(i)); 124 AnimationDrawable background = (AnimationDrawable) drawable; 125 final int N = background.getNumberOfFrames(); 127 newBg.setOneShot(background.isOneShot()); 130 Drawable frame = tileify(background.getFrame(i), true); 132 newBg.addFrame(frame, background [all...] |
H A D | AppCompatBackgroundHelper.java | 70 // Update the default background tint 76 void onSetBackgroundDrawable(Drawable background) { argument 77 // We don't know that this drawable is, so we need to clear the default background tint 110 final Drawable background = mView.getBackground(); 111 if (background != null) { 112 if (Build.VERSION.SDK_INT == 21 && applyFrameworkTintUsingColorFilter(background)) { 121 AppCompatDrawableManager.tintDrawable(background, mBackgroundTint, 124 AppCompatDrawableManager.tintDrawable(background, mInternalBackgroundTint, 144 * Applies the framework background tint to a view, but using the compat method (ColorFilter) 148 private boolean applyFrameworkTintUsingColorFilter(@NonNull Drawable background) { argument [all...] |
H A D | AppCompatAutoCompleteTextView.java | 36 * <li>Allows dynamic tint of it background via the background tint methods in 38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 102 public void setBackgroundDrawable(Drawable background) { argument 103 super.setBackgroundDrawable(background); 105 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatButton.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 82 public void setBackgroundDrawable(Drawable background) { argument 83 super.setBackgroundDrawable(background); 85 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatEditText.java | 36 * <li>Allows dynamic tint of it background via the background tint methods in 38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 80 public void setBackgroundDrawable(Drawable background) { argument 81 super.setBackgroundDrawable(background); 83 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatImageButton.java | 34 * <li>Allows dynamic tint of it background via the background tint methods in 36 * <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 | AppCompatImageView.java | 34 * <li>Allows dynamic tint of it background via the background tint methods in 36 * <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 | AppCompatMultiAutoCompleteTextView.java | 36 * <li>Allows dynamic tint of it background via the background tint methods in 38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 102 public void setBackgroundDrawable(Drawable background) { argument 103 super.setBackgroundDrawable(background); 105 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatTextView.java | 36 * <li>Allows dynamic tint of it background via the background tint methods in 38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 80 public void setBackgroundDrawable(Drawable background) { argument 81 super.setBackgroundDrawable(background); 83 mBackgroundTintHelper.onSetBackgroundDrawable(background);
|
H A D | AppCompatImageHelper.java | 84 final Drawable background = mView.getBackground(); 86 && background instanceof android.graphics.drawable.RippleDrawable) {
|
H A D | AppCompatSpinner.java | 55 * <li>Dynamic tinting of the background via the background tint methods in 57 * <li>Configuring the background tint using {@link R.attr#backgroundTint} and 305 public void setPopupBackgroundDrawable(Drawable background) { argument 307 mPopup.setBackgroundDrawable(background); 309 super.setPopupBackgroundDrawable(background); 467 public void setBackgroundDrawable(Drawable background) { argument 468 super.setBackgroundDrawable(background); 470 mBackgroundTintHelper.onSetBackgroundDrawable(background); 536 private int compatMeasureContentWidth(SpinnerAdapter adapter, Drawable background) { argument [all...] |
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | ViewCompatLollipop.java | 91 // Work around a bug in L that did not update the state of the background 93 Drawable background = view.getBackground(); 96 if ((background != null) && hasTint) { 97 if (background.isStateful()) { 98 background.setState(view.getDrawableState()); 100 view.setBackground(background); 113 // Work around a bug in L that did not update the state of the background 115 Drawable background = view.getBackground(); 118 if ((background != null) && hasTint) { 119 if (background [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | StatusBarBackgroundLayout.java | 34 * inset area, making a background effect for the navigation bar. To make use of this layout, 95 public void setStatusBarBackground(Drawable background) { argument 96 mStatusBarBackground = background; 98 setWillNotDraw(background == null); 99 setFitsSystemWindows(background != null);
|
/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/tests/WindowAnimationJank/src/android/windowanimationjank/ |
H A D | ElementLayoutActivity.java | 139 int background = 0xff000000; 149 background |= (color << shift); 152 mIndicator.setBackgroundColor(background);
|
/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/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/ |
H A D | RecyclerItemAdapter.java | 87 final Drawable background = typedArray.getDrawable( 90 if (selectableItemBackground == null || background == null) { 93 + " background=" + background); 95 final Drawable[] layers = { background, selectableItemBackground };
|
/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/support/v4/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 47 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { argument 48 int bgAlpha = Color.alpha(background); 53 Color.red(background), bgAlpha, a); 55 Color.green(background), bgAlpha, a); 57 Color.blue(background), bgAlpha, a); 84 * Returns the contrast ratio between {@code foreground} and {@code background}. 85 * {@code background} must be opaque. 90 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { argument 91 if (Color.alpha(background) != 255) { 92 throw new IllegalArgumentException("background ca 117 calculateMinimumAlpha(@olorInt int foreground, @ColorInt int background, float minContrastRatio) argument [all...] |
/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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationCustomViewWrapper.java | 111 Drawable background = mView.getBackground(); 113 if (background instanceof ColorDrawable) { 114 mBackgroundColor = ((ColorDrawable) background).getColor(); 130 // Parent notifications should always use the normal background color
|