Home
last modified time | relevance | path

Searched refs:green (Results 1 – 25 of 26) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLColor.java22 public final int green; field in GLColor
26 public GLColor(int red, int green, int blue, int alpha) { in GLColor() argument
28 this.green = green; in GLColor()
33 public GLColor(int red, int green, int blue) { in GLColor() argument
35 this.green = green; in GLColor()
45 green == color.green && in equals()
DGLVertex.java67 colorBuffer.put(color.green); in put()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DActivityTransitionDetails.java71 int green = (int)(Math.random() * 128); in randomColor() local
73 return 0xFF000000 | (red << 16) | (green << 8) | blue; in randomColor()
DReversingAnimation.java110 int green = (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()
DAnimationSeeking.java134 int green = (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()
DAnimationCloning.java114 int green = (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()
DCustomEvaluator.java149 int green = (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()
DActivityTransition.java128 int green = (int)(Math.random() * 128); in randomColor() local
130 return 0xFF000000 | (red << 16) | (green << 8) | blue; in randomColor()
DMultiPropertyAnimation.java151 int green = (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()
DAnimationLoading.java171 int green = (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()
DBouncingBalls.java160 int green = (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()
DAnimatorEvents.java178 int green = (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/
DImagePixelization.java169 int pixel = 0, red = 0, green = 0, blue = 0, numPixels = 0; in customImagePixelization() local
181 numPixels = red = green = blue = 0; in customImagePixelization()
190 green += Color.green(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/
DLayoutTransChanging.java102 int green = (int)(Math.random() * 128 + 127); in ColoredView() local
105 (green << 8) | blue; in ColoredView()
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/
DDrawableTintingFragment.java233 final int green = mGreenBar.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()
274 mGreenText.setText(getString(R.string.value_green, Color.green(color))); in updateTint()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabStrip.java169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabStrip.java169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabStrip.java169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabStrip.java169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorPickerDialog.java133 int g = ave(Color.green(c0), Color.green(c1), p); in interpColor()
142 int g = Color.green(color); in rotateColor()
DCompressedTextureActivity.java142 byte green = (byte)(2*t); in createImage()
148 image.put(green); in createImage()
DBitmapPixels.java75 int g = Color.green(c); in premultiplyColor()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java105 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 …]

12