/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | GLColor.java | 21 public final int red; field in GLColor 26 public GLColor(int red, int green, int blue, int alpha) { in GLColor() argument 27 this.red = red; in GLColor() 33 public GLColor(int red, int green, int blue) { in GLColor() argument 34 this.red = red; in GLColor() 44 return (red == color.red && in equals()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ActivityTransitionDetails.java | 70 int red = (int)(Math.random() * 128); in randomColor() local 73 return 0xFF000000 | (red << 16) | (green << 8) | blue; in randomColor()
|
D | ReversingAnimation.java | 109 int red = (int)(Math.random() * 255); in createBall() local 112 int color = 0xff000000 | red << 16 | green << 8 | blue; in createBall() 114 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in createBall()
|
D | AnimationSeeking.java | 133 int red = (int)(100 + Math.random() * 155); in addBall() local 136 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall() 138 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
|
D | AnimationCloning.java | 113 int red = (int)(100 + Math.random() * 155); in addBall() local 116 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall() 118 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
|
D | CustomEvaluator.java | 148 int red = (int)(Math.random() * 255); in createBall() local 151 int color = 0xff000000 | red << 16 | green << 8 | blue; in createBall() 153 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in createBall()
|
D | ActivityTransition.java | 127 int red = (int)(Math.random() * 128); in randomColor() local 130 return 0xFF000000 | (red << 16) | (green << 8) | blue; in randomColor()
|
D | MultiPropertyAnimation.java | 150 int red = (int)(100 + Math.random() * 155); in addBall() local 153 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall() 155 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
|
D | AnimationLoading.java | 170 int red = (int)(100 + Math.random() * 155); in addBall() local 173 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall() 175 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
|
D | BouncingBalls.java | 159 int red = (int)(Math.random() * 255); in addBall() local 162 int color = 0xff000000 | red << 16 | green << 8 | blue; in addBall() 164 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in addBall()
|
D | AnimatorEvents.java | 177 int red = (int)(Math.random() * 255); in createBall() local 180 int color = 0xff000000 | red << 16 | green << 8 | blue; in createBall() 182 int darkColor = 0xff000000 | red/4 << 16 | green/4 << 8 | blue/4; in createBall()
|
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/ |
D | ImagePixelization.java | 169 int pixel = 0, red = 0, green = 0, blue = 0, numPixels = 0; in customImagePixelization() local 181 numPixels = red = green = blue = 0; in customImagePixelization() 189 red += Color.red(pixel); in customImagePixelization() 196 pixel = Color.rgb(red / numPixels, green / numPixels, blue / numPixels); in customImagePixelization()
|
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
D | LayoutTransChanging.java | 101 int red = (int)(Math.random() * 128 + 127); in ColoredView() local 104 int color = 0xff << 24 | (red << 16) | in ColoredView()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | WindowSurface.java | 245 int red = (int)mColor.x + 128; in run() local 246 if (red > 255) red = 255; in run() 249 int color = 0xff000000 | (red<<16) | blue; in run()
|
D | ColorPickerDialog.java | 132 int r = ave(Color.red(c0), Color.red(c1), p); in interpColor() 141 int r = Color.red(color); in rotateColor()
|
D | CompressedTextureActivity.java | 141 byte red = (byte)(255-2*t); in createImage() 147 image.put(red); in createImage()
|
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
D | DrawableTintingFragment.java | 232 final int red = mRedBar.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() 273 mRedText.setText(getString(R.string.value_red, Color.red(color))); in updateTint()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha() 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha() 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha() 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha() 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha() 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha() 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors()
|
/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() 137 public void glColorMask(boolean red, boolean green, boolean blue, in glColorMask() argument 139 mgl.glColorMask(red, green, blue, alpha); in glColorMask() [all …]
|
/development/samples/browseable/SpeedTracker/ |
D | _index.jd | 12 color to yellow and if it exceeds the limit, it turns red. User
|