HomeSort by relevance Sort by last modified time
    Searched defs:swatch (Results 1 - 6 of 6) sorted by null

  /packages/apps/Settings/src/com/android/settings/accessibility/
ColorPreference.java 117 final ImageView swatch = (ImageView) view.findViewById(R.id.color_swatch); local
119 swatch.setBackgroundResource(R.drawable.transparency_tileable);
121 swatch.setBackground(null);
124 final Drawable foreground = swatch.getDrawable();
128 swatch.setImageDrawable(new ColorDrawable(argb));
  /development/samples/Support7Demos/src/com/example/android/supportv7/graphics/
PaletteActivity.java 235 static void setBackgroundColor(View view, Palette.Swatch swatch) {
236 if (view != null && swatch != null) {
237 view.setBackgroundColor(swatch.getRgb());
PaletteDetailActivity.java 78 final Palette.Swatch item = (Palette.Swatch) adapterView.getItemAtPosition(pos);
140 private List<Palette.Swatch> mSwatches;
148 public Palette.Swatch getItem(int position) {
157 void setSwatches(List<Palette.Swatch> palette) {
183 private void setBackgroundColor(View view, Palette.Swatch swatch) {
184 if (view != null && swatch != null) {
185 view.setBackgroundColor(swatch.getRgb());
  /external/chromium_org/ui/android/java/src/org/chromium/ui/
ColorSuggestionListAdapter.java 72 GradientDrawable swatch = local
74 swatch.setColor(suggestion.mColor);
  /packages/apps/Settings/src/com/android/settings/sim/
SimSettings.java 446 holder.swatch = drawable;
454 holder.swatch.getPaint().setColor(mTintArr[position]);
455 holder.swatch.getPaint().setStyle(Paint.Style.FILL_AND_STROKE);
457 holder.icon.setImageDrawable(holder.swatch);
467 holder.swatch.getPaint().setStyle(Paint.Style.FILL_AND_STROKE);
469 holder.swatch.getPaint().setStyle(Paint.Style.STROKE);
478 ShapeDrawable swatch; field in class:SimSettings.SimPreference.SelectColorAdapter.ViewHolder
  /prebuilts/sdk/current/support/v7/palette/libs/
android-support-v7-palette.jar 

Completed in 897 milliseconds