/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleForeground.java | 185 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 D | RippleBackground.java | 90 // 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 D | ScaleDrawable.java | 204 final int opacity = d.getOpacity(); 205 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { 209 return opacity;
|
H A D | InsetDrawable.java | 201 final int opacity = getDrawable().getOpacity(); 202 if (opacity == PixelFormat.OPAQUE && (state.mInsetLeft > 0 || state.mInsetTop > 0 206 return opacity;
|
H A D | ClipDrawable.java | 159 final int opacity = dr.getOpacity(); 160 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) {
|
H A D | LayerDrawable.java | 1422 * Sets the opacity of this drawable directly instead of collecting the 1425 * @param opacity The opacity to use, or {@link PixelFormat#UNKNOWN 1432 public void setOpacity(int opacity) { argument 1433 mLayerState.mOpacityOverride = opacity;
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Volume.java | 58 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 D | bricked.rs | 25 rs_allocation opacity;
27 // output a single bit per pixel volume based on opacity
58 uchar op = rsGetElementAt_uchar(opacity, intensity);
|
H A D | Material.java | 147 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 D | vr.rs | 37 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 D | ErrorFragment.java | 77 final int opacity = drawable.getOpacity(); 78 mIsBackgroundTranslucent = (opacity == PixelFormat.TRANSLUCENT || 79 opacity == PixelFormat.TRANSPARENT);
|
H A D | ErrorSupportFragment.java | 79 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 D | ColorFade.java | 246 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 D | Cea708CaptionRenderer.java | 497 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 D | DecorView.java | 1384 int opacity = PixelFormat.OPAQUE; 1387 opacity = PixelFormat.TRANSLUCENT; 1398 opacity = bg.getOpacity(); 1406 Log.v(mLogTag, "Background opacity: " + bop + ", Frame opacity: " + fop); 1408 opacity = PixelFormat.OPAQUE; 1410 opacity = bop; 1412 opacity = fop; 1414 opacity = Drawable.resolveOpacity(fop, bop); 1422 opacity [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 339 int[][] opacity = mState1.mVolume.getLookOpactiy(look); 340 mState1.mMaterial.setup(opacity, color);
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 420 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 D | Png.cpp | 823 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
|