/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.cpp | 323 const float* vertices, const int* colors, const SkPaint* paint) { 327 colors = refBuffer<int>(colors, vertexCount); // 1 color per vertex 330 vertices, colors, paint)); 322 drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, const float* vertices, const int* colors, const SkPaint* paint) argument
|
H A D | OpenGLRenderer.cpp | 645 * quad is used to multiply the colors in the frame buffer. This is achieved by 1044 uint32_t colors[] = { local 1059 paint.setColor(colors[offset + (i & 0x1)]); 1575 const float* vertices, const int* colors, const SkPaint* paint) { 1591 if (!colors) { 1595 colors = tempColors.get(); 1621 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]); 1622 ColorTextureVertex::set(vertex++, vertices[ax], vertices[ay], u1, v2, colors[ax / 2]); 1623 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]); 1625 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[d 1574 drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight, const float* vertices, const int* colors, const SkPaint* paint) argument [all...] |
H A D | OpenGLRenderer.h | 196 const float* vertices, const int* colors, const SkPaint* paint); 770 * compositing to apply colors/filters/etc.
|
H A D | DisplayListOp.h | 760 const float* vertices, const int* colors, const SkPaint* paint) 763 mVertices(vertices), mColors(colors) {} 759 DrawBitmapMeshOp(const SkBitmap* bitmap, int meshWidth, int meshHeight, const float* vertices, const int* colors, const SkPaint* paint) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 764 /*package*/ static void native_drawBitmap(long nativeCanvas, int[] colors, argument 772 image.setRGB(0, 0, width, height, colors, offset, stride); 831 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, 842 int[] colors, int colorOffset, 830 nativeDrawBitmapMesh(long nCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nPaint) argument 839 nativeDrawVertices(long nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nPaint) argument
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayout.java | 499 public void setColorScheme(@ColorInt int... colors) { argument 500 setColorSchemeResources(colors); 520 * Set the colors used in the progress animation. The first 524 * @param colors 527 public void setColorSchemeColors(int... colors) { argument 529 mProgress.setColorSchemeColors(colors);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 239 ColorStateList colors; 242 colors = appearance.getColorStateList(R.styleable.TextAppearance_android_textColor); 243 if (colors != null) { 244 mTextColors = colors;
|
/frameworks/base/core/java/android/widget/ |
H A D | DatePickerCalendarDelegate.java | 220 // We somehow failed to obtain the colors. 225 final int[] colors = new int[] { activatedColor, defaultColor }; 226 return new ColorStateList(stateSet, colors);
|
H A D | TextView.java | 3145 public void setTextColor(ColorStateList colors) { argument 3146 if (colors == null) { 3150 mTextColor = colors; 3155 * Gets the text colors for the different states (normal, selected, focused) of the TextView. 3382 public final void setHintTextColor(ColorStateList colors) { argument 3383 mHintTextColor = colors; 3435 public final void setLinkTextColor(ColorStateList colors) { argument 3436 mLinkTextColor = colors; 3441 * @return the list of colors used to paint the links in the text, for the different states of 8554 ColorStateList colors [all...] |
H A D | TimePickerClockDelegate.java | 265 // We somehow failed to obtain the colors. 270 final int[] colors = new int[] { activatedColor, defaultColor }; 271 return new ColorStateList(stateSet, colors);
|
H A D | NumberPicker.java | 756 ColorStateList colors = mInputText.getTextColors(); 757 int color = colors.getColorForState(ENABLED_STATE_SET, Color.WHITE);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | Snackbar.java | 306 public Snackbar setActionTextColor(ColorStateList colors) { argument 308 tv.setTextColor(colors);
|
H A D | TabLayout.java | 255 // Text colors come from the text appearance first 265 // current colors. This is exposed so that developers can use theme attributes to set 547 * Sets the text colors for the different states (normal, selected) used for the tabs. 557 * Gets the text colors for the different states (normal, selected) used for the tabs. 565 * Sets the text colors for the different states (normal, selected) used for the tabs. 1538 final int[] colors = new int[2]; 1542 colors[i] = selectedColor; 1547 colors[i] = defaultColor; 1550 return new ColorStateList(states, colors);
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 305 const int* colors = NULL; local 309 colors = colorA.ptr() + colorIndex; 317 get_canvas(canvasHandle)->drawVertices(mode, vertexCount, verts, texs, colors,
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 682 ColorStateList colors = res.getColorStateList(colorRes, null); 683 text.setSpan(new TextAppearanceSpan(null, 0, 0, colors, null),
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 107 * The colors array contains hints for each of the regions. They are 128 // the xDivs, yDivs and colors arrays immediately after the location 144 // The offset (from the start of this structure) to the colors array 155 const int32_t* yDivs, const uint32_t* colors); 158 const int32_t* yDivs, const uint32_t* colors, void* outData);
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 163 uint32_t* colors = getColors(); local 165 colors[i] = htonl(colors[i]); 183 uint32_t* colors = getColors(); local 185 colors[i] = ntohl(colors[i]); 202 const int32_t* yDivs, const uint32_t* colors) 207 serialize(patch, xDivs, yDivs, colors, newData); 212 const int32_t* yDivs, const uint32_t* colors, void* outData) 223 memcpy(data, colors, patc 201 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors) argument 211 serialize(const Res_png_9patch& patch, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, void* outData) argument [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 2156 private void buildAndShowColorDialogue(int type, CharSequence title, int[] colors) { argument 2176 for (int i = 0; i < colors.length; i++) { 2185 new ColorPaletteDrawable(colors[i], BUTTON_SIZE, BUTTON_SIZE, 2188 button.setDrawingCacheBackgroundColor(colors[i]);
|
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 1211 sp<ResourceTypeSet> colors; local 1246 !applyFileOverlay(bundle, assets, &colors, "color") || 1353 if (colors != NULL) { 1354 err = makeFileResources(bundle, assets, &table, colors, "color"); 1499 if (colors != NULL) { 1500 ResourceDirIterator it(colors, String8("color"));
|
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 256 GGLfixed colors[4] = { 0, 0, 0, 0x10000 }; local 263 ggl->color4xv(ggl, colors);
|