Searched defs:color (Results 1 - 19 of 19) sorted by relevance

/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
H A DActionBarActivity.java79 protected void onTitleChanged(CharSequence title, int color) { argument
80 mActionBarHelper.onTitleChanged(title, color);
81 super.onTitleChanged(title, color);
H A DActionBarHelper.java80 protected void onTitleChanged(CharSequence title, int color) { argument
H A DActionBarHelperBase.java139 protected void onTitleChanged(CharSequence title, int color) { argument
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DGLVertex.java27 GLColor color; field in class:GLVertex
60 if (color == null) {
66 colorBuffer.put(color.red);
67 colorBuffer.put(color.green);
68 colorBuffer.put(color.blue);
69 colorBuffer.put(color.alpha);
H A DGLShape.java33 public void setFaceColor(int face, GLColor color) { argument
34 mFaceList.get(face).setColor(color);
/development/samples/ApiDemos/src/com/example/android/apis/animation/
H A DAnimationLoading.java129 private void addBall(float x, float y, int color) { argument
131 shapeHolder.setColor(color);
140 int color = 0xff000000 | red << 16 | green << 8 | blue;
144 50f, color, darkColor, Shader.TileMode.CLAMP);
H A DShapeHolder.java32 private int color; field in class:ShapeHolder
63 return color;
67 color = value;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DRegions.java62 private void drawRgn(Canvas canvas, int color, String str, Region.Op op) { argument
72 mPaint.setColor(color);
77 mPaint.setColor(color);
H A DColorPickerDialog.java29 void colorChanged(int color); argument
41 ColorPickerView(Context c, OnColorChangedListener l, int color) { argument
56 mCenterPaint.setColor(color);
139 private int rotateColor(int color, float rad) { argument
141 int r = Color.red(color);
142 int g = Color.green(color);
143 int b = Color.blue(color);
160 return Color.argb(Color.alpha(color), pinToByte(ir),
224 public void colorChanged(int color) {
225 mListener.colorChanged(color);
[all...]
H A DFingerPaint.java54 public void colorChanged(int color) { argument
55 mPaint.setColor(color);
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DLabelView.java71 // Retrieve the color(s) to be used for this view and apply them.
72 // Note, if you only care about supporting a single color, that you
115 * Sets the text color for this label.
116 * @param color ARGB value for the text
118 public void setTextColor(int color) { argument
119 mTextPaint.setColor(color);
/development/tools/emulator/system/lights/
H A Dlights_qemu.c58 int color = state->color & 0x00ffffff; local
59 return ((77 * ((color >> 16) & 0x00ff))
60 + (150 * ((color >> 8) & 0x00ff)) + (29 * (color & 0x00ff))) >> 8;
81 state->color );
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
H A DAccessibilityNodeProviderActivity.java67 * each of which is drawn with a different color and represents a region
218 // and with the bounds and color which are child specific.
336 public VirtualView(int id, Rect bounds, int color, String text) { argument
338 mColor = color;
/development/tools/emulator/system/camera/
H A DConverters.h30 * pixels are represented as WORD, or DWORD, the color order inside the
36 * So, if this code runs on the little endian CPU, red color in 'rgb' would be
37 * masked as 0x000000ff, and blue color would be masked as 0x00ff0000, while if
38 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as
39 * 0xff000000, and blue color would be masked as 0x0000ff00,
45 * RGB565 color masks
61 * RGB32 color masks
77 * Extracting, and saving color bytes from / to WORD / DWORD RGB.
119 uint32_t color; member in union:android::RGB32_t
151 /* Converts R8 G8 B8 color t
[all...]
H A DEmulatedFakeCameraDevice.cpp309 const YUVPixel* color)
315 YUVPixel adjustedColor = *color;
336 void EmulatedFakeCameraDevice::drawSolid(YUVPixel* color) argument
338 YUVPixel adjustedColor = *color;
348 *U = color->U;
349 *V = color->V;
360 /* Select the color. */
361 YUVPixel* color; local
365 color = &mWhiteYUV;
368 color
306 drawSquare(int x, int y, int size, const YUVPixel* color) argument
[all...]
/development/ndk/platforms/android-4/samples/san-angeles/jni/
H A Ddemo.c71 /* Vertex array and color array are enabled for all objects, so their
78 * components per color with GL_UNSIGNED_BYTE datatype and stride 0.
298 int a, color[3]; local
301 color[a] = (int)(ca * baseColor[a] * 255);
302 if (color[a] > 255) color[a] = 255;
304 result->colorArray[i] = (GLubyte)color[0];
305 result->colorArray[i + 1] = (GLubyte)color[1];
306 result->colorArray[i + 2] = (GLubyte)color[2];
367 GLubyte color; local
[all...]
/development/ndk/platforms/android-3/include/linux/
H A Dfb.h310 __u32 color; member in struct:fb_fillrect
/development/samples/training/AnimationsDemo/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/bitmapfun/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/app/ ...

Completed in 375 milliseconds