/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorPickerDialog.java | 48 protected int[] mColors = null; field in class:ColorPickerDialog 97 mColors = savedInstanceState.getIntArray(KEY_COLORS); 111 if (mColors != null) { 138 mPalette.drawPalette(mColors, mSelectedColor); 160 if (mColors != colors || mSelectedColor != selectedColor) { 161 mColors = colors; 168 if (mColors != colors) { 169 mColors = colors; 182 if (mPalette != null && mColors != null) { 183 mPalette.drawPalette(mColors, mSelectedColo [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Gradient_Delegate.java | 26 protected final int[] mColors; field in class:Gradient_Delegate 67 mColors = colors; 79 private final int[] mColors; field in class:Gradient_Delegate.GradientPaint 85 mColors = colors; 117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent);
|
H A D | LinearGradient_Delegate.java | 108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
|
H A D | RadialGradient_Delegate.java | 104 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile);
|
H A D | SweepGradient_Delegate.java | 98 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 32 private int[] mColors; field in class:SweepGradient 63 mColors = colors; 95 copy = new SweepGradient(mCx, mCy, mColors.clone(),
|
H A D | LinearGradient.java | 34 private int[] mColors; field in class:LinearGradient 65 mColors = colors; 105 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
|
H A D | RadialGradient.java | 33 private int[] mColors; field in class:RadialGradient 65 mColors = colors; 106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapMeshActivity.java | 41 private int[] mColors; field in class:BitmapMeshActivity.BitmapMeshView 58 mColors = new int[] { 82 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null);
|
H A D | BitmapMeshLayerActivity.java | 42 private int[] mColors; field in class:BitmapMeshLayerActivity.BitmapMeshView 59 mColors = new int[] { 75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null);
|
/frameworks/wilhelm/src/itf/ |
H A D | ILEDArray.c | 73 thiz->mColors[index] = color; 92 SLHSL color = thiz->mColors[index]; 114 SLHSL *color = thiz->mColors;
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 64 private int[][] mStateSpecs; // must be parallel to mColors 65 private int[] mColors; // must be parallel to mStateSpecs field in class:ColorStateList 80 mColors = colors; 160 int[] colors = new int[mColors.length]; 164 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24); 253 mColors = new int[listSize]; 255 System.arraycopy(colorList, 0, mColors, 0, listSize); 277 return mColors[i]; 295 "mColors=" + Arrays.toString(mColors) [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 189 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) { 205 delete[] mColors; 214 copy->mColors = new uint32_t[mCount]; 215 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount); 236 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount); 242 bindUniformColor(program->getUniform("startColor"), mColors[0]); 243 bindUniformColor(program->getUniform("endColor"), mColors[1]); 279 copy->mColors = new uint32_t[mCount]; 280 memcpy(copy->mColors, mColor [all...] |
H A D | Patch.h | 69 uint32_t* mColors; member in struct:android::uirenderer::Patch
|
H A D | Patch.cpp | 60 mColors = patch->colors; 65 if (mColors[i] == 0x0) { 221 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) {
|
H A D | SkiaShader.h | 176 uint32_t* mColors; member in struct:android::uirenderer::SkiaLinearGradientShader 201 uint32_t* mColors; member in struct:android::uirenderer::SkiaSweepGradientShader
|
H A D | DisplayListOp.h | 925 mVertices(vertices), mColors(colors) {} 929 mVertices, mColors, getPaint(renderer)); 948 int* mColors; member in class:android::uirenderer::DrawBitmapMeshOp
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 126 mTriangleVerticesData2[i+2] = mColors[cbase]; 127 mTriangleVerticesData2[i+3] = mColors[cbase+1]; 128 mTriangleVerticesData2[i+4] = mColors[cbase+2]; 129 mTriangleVerticesData2[i+5] = mColors[cbase+3]; 232 private final float[] mColors = { field in class:TestLatencyView.Renderer
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 707 final int[] colors = st.mColors; 951 st.mColors = new int[3]; 952 st.mColors[0] = startColor; 953 st.mColors[1] = centerColor; 954 st.mColors[2] = endColor; 962 st.mColors = new int[2]; 963 st.mColors[0] = startColor; 964 st.mColors[1] = endColor; 1080 public int[] mColors; field in class:GradientDrawable.GradientState 1116 if (state.mColors ! [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 52 int[] mColors; field in class:BatteryMeterView 183 mColors = new int[2*N]; 185 mColors[2*i] = levels.getInt(i, 0); 186 mColors[2*i+1] = colors.getColor(i, 0); 214 mWarningTextPaint.setColor(mColors[1]); 253 for (int i=0; i<mColors.length; i+=2) { 254 thresh = mColors[i]; 255 color = mColors[i+1];
|
/frameworks/wilhelm/src/ |
H A D | itfstruct.h | 364 SLHSL mColors[MAX_LED_COUNT]; member in struct:__anon1735
|