Home
last modified time | relevance | path

Searched refs:background (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatProgressBarHelper.java79 LayerDrawable background = (LayerDrawable) drawable; in tileify() local
80 final int N = background.getNumberOfLayers(); in tileify()
84 int id = background.getId(i); in tileify()
85 outDrawables[i] = tileify(background.getDrawable(i), in tileify()
91 newBg.setId(i, background.getId(i)); in tileify()
122 AnimationDrawable background = (AnimationDrawable) drawable; in tileifyIndeterminate() local
123 final int N = background.getNumberOfFrames(); in tileifyIndeterminate()
125 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
128 Drawable frame = tileify(background.getFrame(i), true); in tileifyIndeterminate()
130 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
DAppCompatBackgroundHelper.java85 void onSetBackgroundDrawable(Drawable background) { in onSetBackgroundDrawable() argument
156 final Drawable background = mView.getBackground(); in applySupportBackgroundTint() local
157 if (background != null) { in applySupportBackgroundTint()
159 && applyFrameworkTintUsingColorFilter(background)) { in applySupportBackgroundTint()
166 AppCompatDrawableManager.tintDrawable(background, mBackgroundTint, in applySupportBackgroundTint()
169 AppCompatDrawableManager.tintDrawable(background, mInternalBackgroundTint, in applySupportBackgroundTint()
210 private boolean applyFrameworkTintUsingColorFilter(@NonNull Drawable background) { in applyFrameworkTintUsingColorFilter() argument
229 AppCompatDrawableManager.tintDrawable(background, info, mView.getDrawableState()); in applyFrameworkTintUsingColorFilter()
/frameworks/support/compat/api21/android/support/v4/view/
DViewCompatLollipop.java92 Drawable background = view.getBackground(); in setBackgroundTintList() local
95 if ((background != null) && hasTint) { in setBackgroundTintList()
96 if (background.isStateful()) { in setBackgroundTintList()
97 background.setState(view.getDrawableState()); in setBackgroundTintList()
99 view.setBackground(background); in setBackgroundTintList()
114 Drawable background = view.getBackground(); in setBackgroundTintMode() local
117 if ((background != null) && hasTint) { in setBackgroundTintMode()
118 if (background.isStateful()) { in setBackgroundTintMode()
119 background.setState(view.getDrawableState()); in setBackgroundTintMode()
121 view.setBackground(background); in setBackgroundTintMode()
/frameworks/base/docs/html/sdk/api_diff/19/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/22.2.1/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/23.1.0/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/23/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/api_diff/20/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/api_diff/24/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/api_diff/23/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/24.2.0/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/api_diff/22/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/23.2.0/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/api_diff/n-preview-4-incr/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/api_diff/21/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/base/docs/html/sdk/support_api_diff/22.2.0/
Dstylesheet-jdiff.css6 .diffspechead {background-color:#eee;}
8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa…
9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex…
10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex…
11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali…
12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
/frameworks/support/core-utils/java/android/support/v4/graphics/
DColorUtils.java47 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument
48 int bgAlpha = Color.alpha(background); in compositeColors()
53 Color.red(background), bgAlpha, a); in compositeColors()
55 Color.green(background), bgAlpha, a); in compositeColors()
57 Color.blue(background), bgAlpha, a); in compositeColors()
90 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument
91 if (Color.alpha(background) != 255) { in calculateContrast()
93 + Integer.toHexString(background)); in calculateContrast()
97 foreground = compositeColors(foreground, background); in calculateContrast()
101 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast()
[all …]
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
DBackDropperEffect.java92 Filter background = mGraph.getFilter("background"); in setParameter() local
93 background.setInputValue("sourceUrl", value); in setParameter()
95 Filter background = mGraph.getFilter("background"); in setParameter() local
96 background.setInputValue("context", value); in setParameter()
/frameworks/base/docs/html/training/basics/network-ops/
Ddata-saver.jd41 on a metered network, the system blocks background data usage and signals
43 whitelist specific apps to allow background metered data usage even when Data
53 background data usage.
82 usage in the foreground and gracefully handle restrictions to background
92 still make an effort to limit foreground and background data usage.
119 // the app should use less data in the foreground and background.
136 If your app needs to use data in the background, it can request whitelist
146 to enable background data for your app. Before you send this intent, it is
148 <strong>Settings</strong> app for the purpose of enabling background data
192 Generates a report that includes the current global background network
[all …]
/frameworks/base/docs/html/training/tv/playback/
Doptions.jd2 page.tags=tv, play, playback, background
13 <li><a href="#background">Request Background Playback</a></li>
22 abrupt and unexpected. This lesson describes how to enable background playback in your app,
26 <h2 id="background">Request Background Playback</h2>
29 launcher, the activity pauses. However, your app can request background playback, in
32 <p>To request background playback, call
/frameworks/base/docs/html/distribute/stories/games/
Dglu-tap-baseball.jd2 …riments to see if different background colors in the game’s icon would affect installs. They found…
29 Store Listing Experiments</a> to see if different background colors in the
30 game’s icon would affect installs. They found that a lighter background
40 Console to test three different background colors in the game’s icon.
47 and light red — an icon with a light blue background converted 2.9 percent
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStatusBarBackgroundLayout.java95 public void setStatusBarBackground(Drawable background) { in setStatusBarBackground() argument
96 mStatusBarBackground = background; in setStatusBarBackground()
98 setWillNotDraw(background == null); in setStatusBarBackground()
99 setFitsSystemWindows(background != null); in setStatusBarBackground()
/frameworks/base/core/java/android/view/
DViewOutlineProvider.java36 Drawable background = view.getBackground();
37 if (background != null) {
38 background.getOutline(outline);

12345678910>>...19