Home
last modified time | relevance | path

Searched refs:opacity (Results 1 – 25 of 41) 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.java87 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter() local
88 opacity.setAutoCancel(true); in createSoftwareEnter()
89 opacity.setDuration(duration); in createSoftwareEnter()
90 opacity.setInterpolator(LINEAR_INTERPOLATOR); in createSoftwareEnter()
92 return opacity; in createSoftwareEnter()
DScaleDrawable.java185 final int opacity = d.getOpacity(); in getOpacity() local
186 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()
190 return opacity; in getOpacity()
DInsetDrawable.java207 final int opacity = getDrawable().getOpacity(); in getOpacity() local
208 if (opacity == PixelFormat.OPAQUE && (state.mInsetLeft > 0 || state.mInsetTop > 0 in getOpacity()
212 return opacity; in getOpacity()
DClipDrawable.java155 final int opacity = dr.getOpacity(); in getOpacity() local
156 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.java114 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
115 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT || in setBackgroundDrawable()
116 opacity == PixelFormat.TRANSPARENT); in setBackgroundDrawable()
DErrorSupportFragment.java116 final int opacity = drawable.getOpacity(); in setBackgroundDrawable() local
117 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT || in setBackgroundDrawable()
118 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.java375 float opacity = (float) -Math.pow(one_minus_level, 2) + 1; in draw()
379 drawFaded(opacity, 1.f / gamma, saturation, scale); in draw()
391 private void drawFaded(float opacity, float gamma, float saturation, float scale) {
393 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
402 GLES20.glUniform1f(mOpacityLoc, opacity);
/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
Dicon_design_status_bar.jd218 reduces icons to 18 x 18 dip and 40% opacity in the status bar, while drawing them full-size and at
355 …<tr><td><em>2.</em></td><td nowrap>Inner shadow:</td><td><code>#FFFFFF</code>, 10% opacity<br>angl…
452 …e 0px | angle 90° |<br>altitude 30°<br>highlight white 75% opacity<br>shadow black 75% opacity</td…
/frameworks/base/docs/html/design/tv/
Dpatterns.jd21 brightness, opacity, animation or a combination of these attributes to help users see a focused
117 background color display at 100% opacity when the card is selected, and at 50% opacity when not
/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/
DPng.cpp825 uint8_t opacity = color[3]; in findMaxOpacity() local
826 if (opacity > maxOpacity) { in findMaxOpacity()
827 maxOpacity = opacity; in findMaxOpacity()
830 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()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3176 int opacity = PixelFormat.OPAQUE;
3186 opacity = bg.getOpacity();
3196 opacity = PixelFormat.OPAQUE;
3198 opacity = bop;
3200 opacity = fop;
3202 opacity = Drawable.resolveOpacity(fop, bop);
3210 opacity = PixelFormat.TRANSLUCENT;
3217 Log.v(TAG, "Selected default opacity: " + opacity);
3219 mDefaultOpacity = opacity;
3221 setDefaultWindowFormat(opacity);

12