Home
last modified time | relevance | path

Searched refs:opacity (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java185 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter() local
186 opacity.setAutoCancel(true); in createSoftwareEnter()
187 opacity.setDuration(OPACITY_ENTER_DURATION_FAST); in createSoftwareEnter()
188 opacity.setInterpolator(LINEAR_INTERPOLATOR); in createSoftwareEnter()
191 set.play(tweenOrigin).with(tweenRadius).with(opacity); in createSoftwareEnter()
254 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0); in createSoftwareExit() local
255 opacity.setAutoCancel(true); in createSoftwareExit()
256 opacity.setDuration(opacityDuration); in createSoftwareExit()
257 opacity.setInterpolator(LINEAR_INTERPOLATOR); in createSoftwareExit()
260 set.play(tweenOrigin).with(tweenRadius).with(opacity); in createSoftwareExit()
[all …]
DRippleBackground.java94 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter() local
95 opacity.setAutoCancel(true); in createSoftwareEnter()
96 opacity.setDuration(duration); in createSoftwareEnter()
97 opacity.setInterpolator(LINEAR_INTERPOLATOR); in createSoftwareEnter()
99 return opacity; in createSoftwareEnter()
DScaleDrawable.java204 final int opacity = d.getOpacity(); in getOpacity() local
205 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()
209 return opacity; in getOpacity()
DInsetDrawable.java201 final int opacity = getDrawable().getOpacity(); in getOpacity() local
202 if (opacity == PixelFormat.OPAQUE && (state.mInsetLeft > 0 || state.mInsetTop > 0 in getOpacity()
206 return opacity; in getOpacity()
DClipDrawable.java159 final int opacity = dr.getOpacity(); in getOpacity() local
160 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) { in getOpacity()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DVolume.java58 public void addLook(String name, int[][] color, int[][] opacity) { in addLook() argument
59 mLooks.put(name, new Look(name, color, opacity)); in addLook()
91 public Look(String name, int[][] color, int[][] opacity) { in Look() argument
93 mOpacity = opacity; in Look()
DMaterial.java147 public void setup(int[][] opacity, int[][] material) { in setup() argument
168 mOpacity = new Opactiy[opacity.length]; in setup()
169 for (int i = 0; i < opacity.length; i++) { in setup()
171 mOpacity[i].mPos = opacity[i][0]; in setup()
172 mOpacity[i].mValue = opacity[i][1] / 255.f; in setup()
Dbricked.rs25 rs_allocation opacity;
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
Dvr.rs37 rs_allocation opacity;
156 uchar op = rsGetElementAt_uchar(opacity, intensity);
200 uchar op = rsGetElementAt_uchar(opacity, intensity);
/frameworks/base/core/res/res/raw/
Dcolor_fade_frag.frag5 uniform float opacity;
40 vec3 rgb = pow(hsl2rgb(vec3(hsl.x, hsl.y * saturation, hsl.z * opacity)), vec3(gamma));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorFragment.java77 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
78 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT || in setBackgroundDrawable()
79 opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
DErrorSupportFragment.java79 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
80 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT || in setBackgroundDrawable()
81 opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Ddevice-art.jd80 opacity: 0.6;
82 -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
83 -moz-transition: -moz-transform 0.2s, opacity 0.2s;
84 transition: transform 0.2s, opacity 0.2s;
88 opacity: 1;
130 opacity: 0;
132 -webkit-transition: max-height 0.2s, opacity 0.2s;
133 -moz-transition: max-height 0.2s, opacity 0.2s;
134 transition: max-height 0.2s, opacity 0.2s;
138 opacity: 1;
/frameworks/base/docs/html/distribute/tools/promote/
Ddevice-art.jd93 opacity: 0.6;
95 -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
96 -moz-transition: -moz-transform 0.2s, opacity 0.2s;
97 transition: transform 0.2s, opacity 0.2s;
101 opacity: 1;
143 opacity: 0;
145 -webkit-transition: max-height 0.2s, opacity 0.2s;
146 -moz-transition: max-height 0.2s, opacity 0.2s;
147 transition: max-height 0.2s, opacity 0.2s;
151 opacity: 1;
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java396 float opacity = (float) -Math.pow(one_minus_level, 2) + 1; in draw()
400 drawFaded(opacity, 1.f / gamma, saturation, scale); in draw()
412 private void drawFaded(float opacity, float gamma, float saturation, float scale) {
414 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
423 GLES20.glUniform1f(mOpacityLoc, opacity);
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java497 int opacity = (data[pos] & 0xc0) >> 6; in parseC1() local
501 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
503 opacity = (data[pos] & 0xc0) >> 6; in parseC1()
507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
542 int opacity = (data[pos] & 0xc0) >> 6; in parseC1() local
546 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); in parseC1()
841 public final int opacity; field in Cea708CCParser.CaptionColor
846 public CaptionColor(int opacity, int red, int green, int blue) { in CaptionColor() argument
847 this.opacity = opacity; in CaptionColor()
855 OPACITY_MAP[opacity], COLOR_MAP[red], COLOR_MAP[green], COLOR_MAP[blue]); in getArgbValue()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_menu.jd209 …<tr><td><em>3.</em></td><td nowrap>Inner shadow:</td><td><code>#000000</code>, 20% opacity<br>angl…
210 …ude 10&deg;<br>highlight <code>#ffffff</code>, 70% opacity<br>shadow <code>#000000</code>, 25% opa…
316 …<tr><td><em>2.</em></td><td>Inner shadow:</td><td>black | 20 % opacity<br>angle 90° | distance 2px…
317 …<tr><td><em>3.</em></td><td>Outer glow:</td><td>white | 55% opacity <br>spread 10% | size 3px</td>…
318 …ize 0px<br>angle 90° | altitude 10°<br>highlight white 70% opacity<br>shadow black 25% opacity</td…
Dicon_design_tab.jd267 …<tr><td><em>3.</em></td><td nowrap>Outer glow:</td><td><code>#000000</code>, 25% opacity<br>size 3…
377 …<tr><td><em>2.</em></td><td>Inner shadow:</td><td>black | 10 % opacity | angle 90° distance 2px | …
378 …size 0px | angle 90° | altitude 10°<br>highlight white 70% opacity<br>shadow black 25% opacity</td…
423 …<tr><td><em>2.</em></td><td>Inner shadow:</td><td>black | 20% opacity | <br>angle 90° | distance 2…
424 … 0px | angle 90° | <br>altitude 10°<br>highlight white 70% opacity<br>shadow black 25% opacity</td…
Dicon_design_action_bar.jd145 <tr><td><em>1.</em></td><td nowrap>Fill color:</td><td><code>#333333</code>, 60% opacity
167 <tr><td><em>1.</em></td><td nowrap>Fill color:</td><td><code>#ffffff</code>, 80% opacity
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1347 int opacity = PixelFormat.OPAQUE;
1350 opacity = PixelFormat.TRANSLUCENT;
1361 opacity = bg.getOpacity();
1371 opacity = PixelFormat.OPAQUE;
1373 opacity = bop;
1375 opacity = fop;
1377 opacity = Drawable.resolveOpacity(fop, bop);
1385 opacity = PixelFormat.TRANSLUCENT;
1393 Log.v(mLogTag, "Selected default opacity: " + opacity);
1395 mDefaultOpacity = opacity;
[all …]
/frameworks/base/docs/html/design/tv/
Dpatterns.jd21 brightness, opacity, animation or a combination of these attributes to help users see a focused
119 background. The icon and background color both display at 100% opacity when the card
120 is selected and at 50% opacity when the card is not selected.</p>
/frameworks/base/docs/html/training/animation/
Dcrossfade.jd193 // Set the content view to 0% opacity but visible, so that it is visible
198 // Animate the content view to 100% opacity, and clear any animation
205 // Animate the loading view to 0% opacity. After the animation ends,
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
DVrView.java339 int[][] opacity = mState1.mVolume.getLookOpactiy(look); in setLook() local
340 mState1.mMaterial.setup(opacity, color); in setLook()
/frameworks/base/tools/aapt2/compile/
DPng.cpp823 uint8_t opacity = color[3]; in findMaxOpacity() local
824 if (opacity > maxOpacity) { in findMaxOpacity()
825 maxOpacity = opacity; in findMaxOpacity()
828 if (opacity == 0xff) return; in findMaxOpacity()
/frameworks/base/tools/aapt/
DImages.cpp420 uint8_t opacity = color[3]; in find_max_opacity() local
421 if (opacity > max_opacity) { in find_max_opacity()
422 max_opacity = opacity; in find_max_opacity()
425 if (opacity == 0xff) return; in find_max_opacity()

12