/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 338 * in the background when the notification is selected. The URI must point to an image stream 441 * Notification category: progress of a long-running background operation. 451 * Notification category: error in background operation or authentication status. 466 * Notification category: indication of running background service. 2898 private static final String KEY_BACKGROUND = "background"; 3201 * Set a background image to be displayed behind the notification content. 3202 * Contrary to the {@link NotificationCompat.BigPictureStyle}, this background 3205 * @param background the background bitmap 3209 public WearableExtender setBackground(Bitmap background) { argument [all...] |
/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/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegateImplV7.java | 1141 int backgroundResId = st.background; 1863 int background; field in class:AppCompatDelegateImplV7.PanelFeatureState 1971 background = a.getResourceId(
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
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 | 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 | 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 | 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...] |
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);
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | AppCompatTintableViewActions.java | 65 * Sets the passed color state list as the background layer on a {@link View} that 77 return "set background tint list"; 93 * Sets the passed mode as the background tint mode on a <code>View</code> that 105 return "set background tint mode"; 121 * Sets background drawable on a <code>View</code> that implements the 124 public static ViewAction setBackgroundDrawable(final Drawable background) { argument 133 return "set background drawable"; 140 view.setBackgroundDrawable(background); 148 * Sets background resource on a <code>View</code> that implements the 160 return "set background resourc [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowViewDelegate.java | 24 void setBackgroundDrawable(Drawable background); argument
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 60 * <p>The background color of this view defaults to the your theme's {@code colorAccent}. If you 218 * Return the tint applied to the background drawable, if specified. 220 * @return the tint applied to the background drawable 230 * Applies a tint to the background drawable. Does not modify the current tint 243 * Return the blending mode used to apply the tint to the background 246 * @return the blending mode used to apply the tint to the background 258 * {@link #setBackgroundTintList(ColorStateList)}} to the background 272 public void setBackgroundDrawable(Drawable background) { argument 273 Log.i(LOG_TAG, "Setting a custom background is not supported."); 278 Log.i(LOG_TAG, "Setting a custom background i 790 setBackgroundDrawable(Drawable background) argument [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | SetupWizardLayout.java | 87 // Set the background from XML, either directly or built from a bitmap tile 88 final Drawable background = 90 if (background != null) { 91 setLayoutBackground(background); 315 * Set the background of the layout, which is expected to be able to extend infinitely. If it is 318 public void setLayoutBackground(Drawable background) { argument 322 view.setBackgroundDrawable(background); 327 * Set the background of the layout to a repeating bitmap tile. To use a different kind of
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | Illustration.java | 39 * drawable to fit the width of the view and fills the rest with the background. 86 * The background will be drawn to fill up the rest of the view. It will also be scaled by the 93 public void setBackgroundDrawable(Drawable background) { argument 94 if (background == mBackground) { 97 mBackground = background; 169 // Scale the background bounds by the same scale to compensate for the scale done to the 180 // Draw the background filling parts not covered by the illustration 183 // Scale the background so its size matches the foreground
|
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/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/base/services/core/java/com/android/server/wm/ |
H A D | AppWindowToken.java | 726 void addSurfaceViewBackground(WindowSurfaceController.SurfaceControlWithBackground background) { argument 727 mSurfaceViewBackgrounds.add(background); 730 void removeSurfaceViewBackground(WindowSurfaceController.SurfaceControlWithBackground background) { argument 731 mSurfaceViewBackgrounds.remove(background); 739 // the background for the SurfaceView with lowest Z order
|
/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;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LockscreenWallpaper.java | 274 ConstantState(Bitmap background) { argument 275 mBackground = background;
|
/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/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...] |