Lines Matching refs:colors
46 * @param colors The colors to be distributed between around the center.
47 * There must be at least 2 colors in the array.
49 * each corresponding color in the colors array, beginning
52 * If positions is NULL, then the colors are automatically
56 @NonNull @ColorInt int colors[], @Nullable float positions[]) {
57 if (colors.length < 2) {
58 throw new IllegalArgumentException("needs >= 2 number of colors");
60 if (positions != null && colors.length != positions.length) {
67 mColors = colors.clone();
115 int colors[], float positions[]);