/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | GLColor.java | 24 public final int alpha; field in GLColor 26 public GLColor(int red, int green, int blue, int alpha) { in GLColor() argument 30 this.alpha = alpha; in GLColor() 37 this.alpha = 0x10000; in GLColor() 47 alpha == color.alpha); in equals()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ShapeHolder.java | 34 private float alpha = 1f; field in ShapeHolder 76 public void setAlpha(float alpha) { in setAlpha() argument 77 this.alpha = alpha; in setAlpha() 78 shape.setAlpha((int)((alpha * 255f) + .5f)); in setAlpha()
|
/development/tools/winscope/src/parsers/window_manager/operations/ |
D | add_is_visible.ts | 39 const alpha = value constant 43 if (alpha !== undefined) { 48 isVisible && alpha > 0,
|
/development/tools/winscope/src/app/components/timeline/expanded-timeline/ |
D | default_timeline_row_component_test.ts | 82 const alpha = 0.2; constant 91 alpha, 96 alpha, 101 alpha, 106 alpha, 120 const alpha = 0.2; constant 129 alpha,
|
D | transition_timeline_component.ts | 230 const alpha = aborted ? 0.25 : 1.0; constant 231 this.canvasDrawer.drawRect(rect, this.color, alpha); 254 const alpha = transition.getChildByName('aborted') ? 0.25 : 1.0; constant 255 this.canvasDrawer.drawRect(rect, this.color, alpha);
|
D | canvas_drawer.ts | 33 drawRect(rect: Rect, color: string, alpha: number) { 45 this.ctx.fillStyle = `rgba(${r},${g},${b},${alpha})`;
|
/development/tools/winscope/src/parsers/view_capture/computations/ |
D | rects_computation_test.ts | 44 alpha: 1, 61 alpha: 1, 78 alpha: 1,
|
/development/tools/winscope/src/viewers/components/ |
D | view_capture_property_groups_component_test.ts | 143 const alpha = assertDefined(translationSection.querySelector('.alpha')); constant 144 expect(alpha.innerHTML).toContain('Alpha:'); 145 expect(alpha.innerHTML).toContain('1'); 186 alpha: '1',
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ProxyDrawable.java | 87 public void setAlpha(int alpha) { in setAlpha() argument 89 mProxy.setAlpha(alpha); in setAlpha()
|
D | Regions.java | 49 private void drawOriginalRects(Canvas canvas, int alpha) { in drawOriginalRects() argument 52 mPaint.setAlpha(alpha); in drawOriginalRects() 55 mPaint.setAlpha(alpha); in drawOriginalRects()
|
D | ColorPickerDialog.java | 131 int a = ave(Color.alpha(c0), Color.alpha(c1), p); in interpColor() 160 return Color.argb(Color.alpha(color), pinToByte(ir), in rotateColor()
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | CrossfadeActivity.java | 121 .alpha(1f) in showContentOrLoadingIndicator() 128 .alpha(0f) in showContentOrLoadingIndicator()
|
/development/samples/devbytes/animation/PictureViewer/src/com/example/android/pictureviewer/ |
D | PictureViewer.java | 76 prevImageView.animate().alpha(0).withLayer(); in onCreate() 77 nextImageView.animate().alpha(1).withLayer(). in onCreate()
|
/development/tools/winscope/src/parsers/window_manager/computations/ |
D | rects_computation.ts | 62 const alpha = constant 93 .setOpacity(alpha)
|
D | rects_computation_test.ts | 88 alpha: 0.5, 102 alpha: 0.5,
|
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
D | DrawableTintingFragment.java | 231 final int alpha = mAlphaBar.getProgress(); in getColor() local 236 return Color.argb(alpha, red, green, blue); in getColor() 265 Color.alpha(color), Color.red(color), Color.green(color), Color.blue(color), in updateTint() 272 mAlphaText.setText(getString(R.string.value_alpha, Color.alpha(color))); in updateTint()
|
/development/tools/winscope/src/trace/tree_node/ |
D | formatters.ts | 69 const alpha = formatNumber(alphaNode?.getValue() ?? 0); constant 71 return `${EMPTY_OBJ_STRING}, alpha: ${alpha}`; 73 return `(${r}, ${g}, ${b}, ${alpha})`;
|
/development/tools/winscope/src/parsers/surface_flinger/computations/ |
D | visibility_properties_computation.ts | 408 const alpha = this.getColor(layer)?.getChildByName('a')?.getValue() ?? 0; constant 409 return alpha === 0; 413 const alpha = this.getColor(layer)?.getChildByName('a')?.getValue(); constant 414 if (alpha !== 1) {
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
D | PictureDetailsActivity.java | 159 translationY(0).alpha(1). in runEnterAnimation() 212 mTextView.animate().translationY(-mTextView.getHeight()).alpha(0). in runExitAnimation() 222 mImageView.animate().alpha(0); in runExitAnimation()
|
/development/samples/StartingWindow/src/com/example/android/startingwindow/ |
D | CustomizeExitActivity.java | 125 ObjectAnimator alpha = ObjectAnimator.ofFloat(view, "alpha", 1, 0); in onSplashScreenExit() local 126 alpha.setInterpolator(ACCELERATE); in onSplashScreenExit() 131 animatorSet.playTogether(translationY, alpha, marginAnimator); in onSplashScreenExit()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameView.java | 489 static int blend(float alpha, int from, int to) { 490 return from + (int) ((to - from) * alpha); 493 static void setPaintARGBBlend(Paint paint, float alpha, 496 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2), 497 blend(alpha, g1, g2), blend(alpha, b1, b2));
|
/development/tools/winscope/src/viewers/common/ |
D | curated_properties.ts | 77 alpha: string; property
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixTrackingGL.java | 105 public void glClearColor(float red, float green, float blue, float alpha) { in glClearColor() argument 106 mgl.glClearColor(red, green, blue, alpha); in glClearColor() 109 public void glClearColorx(int red, int green, int blue, int alpha) { in glClearColorx() argument 110 mgl.glClearColorx(red, green, blue, alpha); in glClearColorx() 129 public void glColor4f(float red, float green, float blue, float alpha) { in glColor4f() argument 130 mgl.glColor4f(red, green, blue, alpha); in glColor4f() 133 public void glColor4x(int red, int green, int blue, int alpha) { in glColor4x() argument 134 mgl.glColor4x(red, green, blue, alpha); in glColor4x() 138 boolean alpha) { in glColorMask() argument 139 mgl.glColorMask(red, green, blue, alpha); in glColorMask() [all …]
|
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/ |
D | ListViewDeletion.java | 97 view.animate().alpha(0).withEndAction(new Runnable() { in onCreate() 124 checkedView.animate().alpha(0).withEndAction(new Runnable() { in onCreate()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceService.java | 393 int alpha = inMuteMode ? MUTE_ALPHA : NORMAL_ALPHA; in onInterruptionFilterChanged() local 394 mDatePaint.setAlpha(alpha); in onInterruptionFilterChanged() 395 mHourPaint.setAlpha(alpha); in onInterruptionFilterChanged() 396 mMinutePaint.setAlpha(alpha); in onInterruptionFilterChanged() 397 mColonPaint.setAlpha(alpha); in onInterruptionFilterChanged() 398 mAmPmPaint.setAlpha(alpha); in onInterruptionFilterChanged()
|