/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()
|
D | GLVertex.java | 69 colorBuffer.put(color.alpha); in put()
|
/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/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/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/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | CrossfadeActivity.java | 121 .alpha(1f) in showContentOrLoadingIndicator() 128 .alpha(0f) in showContentOrLoadingIndicator()
|
/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/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/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/ndk/platforms/android-3/include/linux/ |
D | msm_mdp.h | 73 uint32_t alpha; member
|
/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/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/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceService.java | 389 int alpha = inMuteMode ? MUTE_ALPHA : NORMAL_ALPHA; in onInterruptionFilterChanged() local 390 mDatePaint.setAlpha(alpha); in onInterruptionFilterChanged() 391 mHourPaint.setAlpha(alpha); in onInterruptionFilterChanged() 392 mMinutePaint.setAlpha(alpha); in onInterruptionFilterChanged() 393 mColonPaint.setAlpha(alpha); in onInterruptionFilterChanged() 394 mAmPmPaint.setAlpha(alpha); in onInterruptionFilterChanged()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/ |
D | SwipeToDismissActivity.java | 141 float alpha = (float) (.2 + .8 * Math.abs(dX) / viewHolder.itemView.getWidth()); in onChildDraw() local 142 touchVH.overlay.setAlpha(alpha); in onChildDraw()
|
/development/tools/yuv420sp2rgb/ |
D | yuv420sp2rgb.c | 134 int alpha) in common_rgb_cb() argument 157 bpp = 3 + !!alpha; in common_rgb_cb() 167 if (alpha) out[i++] = 0xff; in common_rgb_cb()
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameView.java | 454 private static int blend(float alpha, int from, int to) { in blend() argument 455 return from + (int) ((to - from) * alpha); in blend() 458 private static void setPaintARGBBlend(Paint paint, float alpha, in setPaintARGBBlend() argument 461 paint.setARGB(blend(alpha, a1, a2), blend(alpha, r1, r2), in setPaintARGBBlend() 462 blend(alpha, g1, g2), blend(alpha, b1, b2)); in setPaintARGBBlend()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
D | Blend.cpp | 1064 double alpha = x * m_wb.direction / m_wb.width; in MosaicToFrame() local 1065 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius; in MosaicToFrame() 1066 double deltaTheta = m_wb.theta * alpha; in MosaicToFrame() 1074 double alpha = y * m_wb.direction / m_wb.width; in MosaicToFrame() local 1075 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius; in MosaicToFrame() 1076 double deltaTheta = m_wb.theta * alpha; in MosaicToFrame() 1106 double alpha = deltaTheta / m_wb.theta; in FrameToMosaic() local 1107 wx = alpha * m_wb.width * m_wb.direction; in FrameToMosaic() 1108 wy = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction; in FrameToMosaic() 1116 double alpha = deltaTheta / m_wb.theta; in FrameToMosaic() local [all …]
|