Searched refs:colors (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
H A DColorSeekBar.java44 private final int[] colors; field in class:ColorSeekBar
50 // Set up the predefined colors that could be indexed in the seek-bar.
52 colors = new int[a.length()];
54 colors[i] = a.getColor(i, 0x000000);
57 setMax(colors.length - 1);
73 // Draw two half circles in the first and last colors at seek-bar left/right ends.
81 paint.setColor(colors[0]);
83 paint.setColor(colors[colors.length - 1]);
88 float strip = (right - left) / (colors
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DDefaultSuggestionView.java120 ColorStateList colors = getResources().getColorStateList(R.color.url_text);
121 text.setSpan(new TextAppearanceSpan(null, 0, 0, colors, null),
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryChart.java50 void setColors(int[] colors) { argument
51 mColors = colors;
52 mPaints = new Paint[colors.length];
53 for (int i=0; i<colors.length; i++) {
55 mPaints[i].setColor(colors[i]);
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
H A DPolarClockWallpaper.java196 final int[] colors = mColors;
197 final int count = colors.length;
200 colors[i] = Color.HSBtoColor(i * invCount, mSaturation, mBrightness);

Completed in 424 milliseconds