Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/docs/html/ndk/reference/
Dtabs.css2 background-image: url('tab_b.png');
25 background-image: url('tab_b.png');
34 background-image:url('tab_s.png');
35 background-repeat:no-repeat;
36 background-position:right;
48 background-image: url('tab_h.png');
49 background-repeat:repeat-x;
56 background-image: url('tab_a.png');
57 background-repeat:repeat-x;
Ddoxygen.css96 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-color: cyan;
[all …]
Ddoxygen-dac.css5 background-color: transparent;
10 background-color: #999;
37 background-color: #e2e2e2;
/frameworks/support/v4/java/android/support/v4/graphics/
DColorUtils.java34 public static int compositeColors(int foreground, int background) { in compositeColors() argument
35 int bgAlpha = Color.alpha(background); in compositeColors()
40 Color.red(background), bgAlpha, a); in compositeColors()
42 Color.green(background), bgAlpha, a); in compositeColors()
44 Color.blue(background), bgAlpha, a); in compositeColors()
83 public static double calculateContrast(int foreground, int background) {
84 if (Color.alpha(background) != 255) {
89 foreground = compositeColors(foreground, background);
93 final double luminance2 = calculateLuminance(background) + 0.05;
109 public static int calculateMinimumAlpha(int foreground, int background,
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatRatingBar.java96 LayerDrawable background = (LayerDrawable) drawable; in tileify() local
97 final int N = background.getNumberOfLayers(); in tileify()
101 int id = background.getId(i); in tileify()
102 outDrawables[i] = tileify(background.getDrawable(i), in tileify()
108 newBg.setId(i, background.getId(i)); in tileify()
137 AnimationDrawable background = (AnimationDrawable) drawable; in tileifyIndeterminate() local
138 final int N = background.getNumberOfFrames(); in tileifyIndeterminate()
140 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
143 Drawable frame = tileify(background.getFrame(i), true); in tileifyIndeterminate()
145 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
DAppCompatSpinner.java296 public void setPopupBackgroundDrawable(Drawable background) { in setPopupBackgroundDrawable() argument
298 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable()
300 super.setPopupBackgroundDrawable(background); in setPopupBackgroundDrawable()
453 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable() argument
454 super.setBackgroundDrawable(background); in setBackgroundDrawable()
456 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
522 private int compatMeasureContentWidth(SpinnerAdapter adapter, Drawable background) { in compatMeasureContentWidth() argument
558 if (background != null) { in compatMeasureContentWidth()
559 background.getPadding(mTempRect); in compatMeasureContentWidth()
724 final Drawable background = getBackground(); in computeContentWidth() local
[all …]
DAppCompatEditText.java81 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable() argument
82 super.setBackgroundDrawable(background); in setBackgroundDrawable()
84 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
/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/
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/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/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/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/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/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/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/core/java/android/view/
DViewOutlineProvider.java36 Drawable background = view.getBackground();
37 if (background != null) {
38 background.getOutline(outline);
/frameworks/base/core/java/android/app/
DEnterTransitionCoordinator.java271 Drawable background = decorView.getBackground(); in prepareEnter() local
272 if (background != null) { in prepareEnter()
274 background = background.mutate(); in prepareEnter()
275 background.setAlpha(0); in prepareEnter()
276 getWindow().setBackgroundDrawable(background); in prepareEnter()
514 Drawable background = decorView.getBackground(); in startEnterTransition() local
515 if (background != null) { in startEnterTransition()
516 background = background.mutate(); in startEnterTransition()
517 getWindow().setBackgroundDrawable(background); in startEnterTransition()
518 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 255); in startEnterTransition()
/frameworks/base/docs/html/channels/
Dio2013.jd56 background-repeat:no-repeat !important;
57 background-size:320px auto;
58 background-position:10% 50%;
69background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0,0,0,0.8)), …
70 background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.8), transparent);
71 background-image: -moz-linear-gradient(top, rgba(0,0,0,0.8), transparent);
72 background-image: -o-linear-gradient(top, rgba(0,0,0,0.8), transparent);
73 background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
107 background:#fff;
156 background-color:rgba(51, 181, 229, .7);
[all …]
/frameworks/base/docs/html/guide/topics/ui/controls/
Dbutton.jd17 <li><a href="#CustomBackground">Custom background</a></li>
136 <p>The appearance of your button (background image and font) may vary from one device to
147 <p>To customize individual buttons with a different background, specify the {@link
148 android.R.attr#background android:background} attribute with a drawable or color resource.
150 HTML styles to define multiple style properties such as the background, font, size, and others.
158 basic buttons except that they have no borders or background but still change appearance during
176 <h3 id="CustomBackground">Custom background</h3>
179 background. Instead of supplying a simple bitmap or color, however, your background should be a
185 <p>To create a state list drawable for your button background:</p>
188 <li>Create three bitmaps for the button background that represent the default, pressed, and
[all …]
/frameworks/base/docs/html/training/tv/playback/
Dbrowse.jd15 <li><a href="#background">Update the Background</a></li>
176 <h2 id="background">Update the Background</h2>
179 In order to add visual interest to a media-browsing app on TV, you can update the background
186 class for changing the background of your TV app activity. The following example shows how to
187 create a simple method for updating the background within your TV app activity:
197 Many of the existing media-browse apps automatically update the background as the user navigates
199 update the background based on the user's current selection. The following example shows you how
201 catch selection events and update the background:
227 background update action in a separate thread for better performance. In addition, if you are
228 planning on updating the background in response to users scrolling through items, consider adding
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DRecentApplicationsBackground.java90 final Drawable background = mBackground; in draw() local
91 if (background != null) { in draw()
115 background.setBounds(left, top, right, bottom); in draw()
123 canvas.drawRect(background.getBounds(), p); in draw()
/frameworks/base/docs/html/design/tv/
Dpatterns.jd59 <p>You can also set a background image (not shown) and the color of the card's text area in the
73 <p>The background image also appears behind the recommendations
79 <li id="solid-background">Must not be transparent</li>
83 <strong>Note:</strong> If the background image does not meet the size requirements, the system
89 library</a> provide specific support for background images and for updating them as items gain
99 different from that which you provide for the background image, and conform to the following
116 <p>Recommendation cards include a small icon that is imposed over a colored background. The icon and
117 background color display at 100% opacity when the card is selected, and at 50% opacity when not
126 <li>Monocolor: size 16x16dp, white (#fff) icon with transparent background, PNG format</li>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActivatableNotificationView.java394 final View background = mDimmed ? mBackgroundDimmed : mBackgroundNormal; in fadeInFromDark() local
395 background.setAlpha(0f); in fadeInFromDark()
396 background.setPivotX(mBackgroundDimmed.getWidth() / 2f); in fadeInFromDark()
397 background.setPivotY(getActualHeight() / 2f); in fadeInFromDark()
398 background.setScaleX(DARK_EXIT_SCALE_START); in fadeInFromDark()
399 background.setScaleY(DARK_EXIT_SCALE_START); in fadeInFromDark()
400 background.animate() in fadeInFromDark()
411 background.setScaleX(1f); in fadeInFromDark()
412 background.setScaleY(1f); in fadeInFromDark()
413 background.setAlpha(1f); in fadeInFromDark()
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddesigning.jd94 <li>One or more background images</li>
96 <li>Application code to draw text and shapes over the background images</li>
99 <p>You typically use one background image in interactive mode and a different background image
100 in ambient mode. The background in ambient mode is often completely black. Background images for
102 both square and round devices. The corners of the background image are not visible on round
103 devices. In your code, you can detect the size of the device screen and scale down the background
105 scale the background image only once and store the resulting bitmap.</p>

12345678910>>...14