Searched refs:opacity (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleForeground.java185 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1);
186 opacity.setAutoCancel(true);
187 opacity.setDuration(OPACITY_ENTER_DURATION_FAST);
188 opacity.setInterpolator(LINEAR_INTERPOLATOR);
191 set.play(tweenOrigin).with(tweenRadius).with(opacity);
254 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0);
255 opacity.setAutoCancel(true);
256 opacity.setDuration(opacityDuration);
257 opacity.setInterpolator(LINEAR_INTERPOLATOR);
260 set.play(tweenOrigin).with(tweenRadius).with(opacity);
[all...]
H A DRippleBackground.java90 // Linear enter based on current opacity.
94 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1);
95 opacity.setAutoCancel(true);
96 opacity.setDuration(duration);
97 opacity.setInterpolator(LINEAR_INTERPOLATOR);
99 return opacity;
114 // Linear "fast" enter based on current opacity.
156 // Linear "fast" enter based on current opacity.
179 private static final BackgroundProperty OPACITY = new BackgroundProperty("opacity") {
H A DScaleDrawable.java204 final int opacity = d.getOpacity();
205 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) {
209 return opacity;
H A DInsetDrawable.java201 final int opacity = getDrawable().getOpacity();
202 if (opacity == PixelFormat.OPAQUE && (state.mInsetLeft > 0 || state.mInsetTop > 0
206 return opacity;
H A DClipDrawable.java159 final int opacity = dr.getOpacity();
160 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) {
H A DLayerDrawable.java1410 * Sets the opacity of this drawable directly instead of collecting the
1413 * @param opacity The opacity to use, or {@link PixelFormat#UNKNOWN
1420 public void setOpacity(int opacity) { argument
1421 mLayerState.mOpacityOverride = opacity;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DVolume.java58 public void addLook(String name, int[][] color, int[][] opacity) { argument
59 mLooks.put(name, new Look(name, color, opacity));
91 public Look(String name, int[][] color, int[][] opacity) { argument
93 mOpacity = opacity;
H A Dbricked.rs25 rs_allocation opacity;
27 // output a single bit per pixel volume based on opacity
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
H A DMaterial.java147 public void setup(int[][] opacity, int[][] material) { argument
168 mOpacity = new Opactiy[opacity.length];
169 for (int i = 0; i < opacity.length; i++) {
171 mOpacity[i].mPos = opacity[i][0];
172 mOpacity[i].mValue = opacity[i][1] / 255.f;
H A Dvr.rs37 rs_allocation opacity;
126 // int op = rsGetElementAt_uchar(opacity, intensity);
156 uchar op = rsGetElementAt_uchar(opacity, intensity);
200 uchar op = rsGetElementAt_uchar(opacity, intensity);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java77 final int opacity = drawable.getOpacity();
78 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT ||
79 opacity == PixelFormat.TRANSPARENT);
H A DErrorSupportFragment.java79 final int opacity = drawable.getOpacity();
80 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT ||
81 opacity == PixelFormat.TRANSPARENT);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java246 mOpacityLoc = GLES20.glGetUniformLocation(mProgram, "opacity");
396 float opacity = (float) -Math.pow(one_minus_level, 2) + 1;
400 drawFaded(opacity, 1.f / gamma, saturation, scale);
412 private void drawFaded(float opacity, float gamma, float saturation, float scale) { argument
414 Slog.d(TAG, "drawFaded: opacity=" + opacity + ", gamma=" + gamma +
423 GLES20.glUniform1f(mOpacityLoc, opacity);
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java497 int opacity = (data[pos] & 0xc0) >> 6;
501 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue);
503 opacity = (data[pos] & 0xc0) >> 6;
507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue);
542 int opacity = (data[pos] & 0xc0) >> 6;
546 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue);
841 public final int opacity; field in class:Cea708CCParser.CaptionColor
846 public CaptionColor(int opacity, int red, int green, int blue) { argument
847 this.opacity = opacity;
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1347 int opacity = PixelFormat.OPAQUE;
1350 opacity = PixelFormat.TRANSLUCENT;
1361 opacity = bg.getOpacity();
1369 Log.v(mLogTag, "Background opacity: " + bop + ", Frame opacity: " + fop);
1371 opacity = PixelFormat.OPAQUE;
1373 opacity = bop;
1375 opacity = fop;
1377 opacity = Drawable.resolveOpacity(fop, bop);
1385 opacity
[all...]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java339 int[][] opacity = mState1.mVolume.getLookOpactiy(look);
340 mState1.mMaterial.setup(opacity, color);
/frameworks/base/tools/aapt/
H A DImages.cpp420 uint8_t opacity = color[3]; local
421 if (opacity > max_opacity) {
422 max_opacity = opacity;
425 if (opacity == 0xff) return;
651 // use opacity of pixels to estimate the round rect outline
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp823 uint8_t opacity = color[3]; local
824 if (opacity > maxOpacity) {
825 maxOpacity = opacity;
828 if (opacity == 0xff) return;
1049 // use opacity of pixels to estimate the round rect outline
/frameworks/base/docs/html/ndk/reference/
H A Ddoxygen.css1194 opacity: 0.9;

Completed in 3492 milliseconds