/developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
TouchDisplayView.java | 21 import android.graphics.Color; 289 // Canvas background color depends on whether there is an active touch 326 private static final int BACKGROUND_ACTIVE = Color.WHITE; 352 mTextPaint.setColor(Color.BLACK); 374 // select the color based on the id 375 int color = COLORS[id % COLORS.length]; local 376 mCirclePaint.setColor(color);
|
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/developers/build/prebuilts/gradle/SlidingTabsBasic/Application/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/developers/samples/android/common/src/java/com/example/android/common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
TouchDisplayView.java | 21 import android.graphics.Color; 289 // Canvas background color depends on whether there is an active touch 326 private static final int BACKGROUND_ACTIVE = Color.WHITE; 352 mTextPaint.setColor(Color.BLACK); 374 // select the color based on the id 375 int color = COLORS[id % COLORS.length]; local 376 mCirclePaint.setColor(color);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationCloning.java | 116 int color = 0xff000000 | red << 16 | green << 8 | blue; local 120 50f, color, darkColor, Shader.TileMode.CLAMP);
|
BouncingBalls.java | 66 // Animate background color 67 // Note that setting the background color will automatically invalidate the 68 // view, so that the animated color, and the bouncing balls, get redisplayed on 162 int color = 0xff000000 | red << 16 | green << 8 | blue; local 166 50f, color, darkColor, Shader.TileMode.CLAMP);
|
MultiPropertyAnimation.java | 153 int color = 0xff000000 | red << 16 | green << 8 | blue; local 157 50f, color, darkColor, Shader.TileMode.CLAMP);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShadowCardDrag.java | 22 import android.graphics.Color; 89 int color = Color.rgb(alphaByte, alphaByte, alphaByte); local 90 mCardBackground.setColorFilter(color, PorterDuff.Mode.MULTIPLY); 162 mCardBackground.getPaint().setColor(Color.WHITE);
|
WindowSurface.java | 249 int color = 0xff000000 | (red<<16) | blue; local 250 mForeground.setColor(color | makeGreen(-2)); 263 mOldColor[0] = color;
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
TouchDisplayView.java | 21 import android.graphics.Color; 289 // Canvas background color depends on whether there is an active touch 326 private static final int BACKGROUND_ACTIVE = Color.WHITE; 352 mTextPaint.setColor(Color.BLACK); 374 // select the color based on the id 375 int color = COLORS[id % COLORS.length]; local 376 mCirclePaint.setColor(color);
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
SlidingTabStrip.java | 22 import android.graphics.Color; 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); local 134 if (color != nextColor) { 135 color = blendColors(nextColor, color, mSelectionOffset); 146 mSelectedIndicatorPaint.setColor(color); 166 * Set the alpha value of the {@code color} to be the given {@code alpha} value. 168 private static int setColorAlpha(int color, byte alpha) { 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)) [all...] |
/external/ImageMagick/MagickCore/ |
color.c | 12 % MagickCore Color Methods % 48 #include "MagickCore/color.h" 49 #include "MagickCore/color-private.h" 1132 color; local 1496 color; local 1561 color; local 2578 const Image *magick_unused(image),const PixelInfo *color, variable [all...] |
histogram.c | 46 #include "MagickCore/color-private.h" 217 Initialize color description tree. 320 % DefineImageHistogram() traverses the color cube tree and notes each colormap 321 % entry. A colormap entry is any node in the color cube tree where the 334 % node in the color cube tree that is to be pruned. 401 Release color cube tree storage. 426 % DestroyColorCube() traverses the color cube tree and frees the list of 438 % node in the color cube tree that is to be pruned. 489 Initialize tree to describe color cube. 527 % o file: Write a histogram of the color distribution to this file handle 1003 color[MagickPathExtent], local [all...] |
identify.c | 54 #include "MagickCore/color.h" 434 color[MagickPathExtent], 432 color[MagickPathExtent], local 990 color[MagickPathExtent], local [all...] |
/external/ImageMagick/coders/ |
json.c | 671 color[MagickPathExtent], 666 color[MagickPathExtent], local [all...] |