/frameworks/av/services/camera/libcameraservice/ |
FakeCamera.h | 52 void drawSquare(uint16_t *buffer, int x, int y, int size, int color, int shadow);
|
/frameworks/base/services/java/com/android/server/wm/ |
DimSurface.java | 60 void show(int dw, int dh, int layer, int color) { 75 } else if (mLastDimWidth != dw || mLastDimHeight != dh || mDimColor != color 82 mDimColor = color; 85 mDimSurface.setAlpha(((color>>24)&0xff)/255.0f);
|
/frameworks/rs/driver/ |
rsdFrameBuffer.cpp | 49 // Now attach color targets 51 DrvAllocation *color = NULL; local 53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; 55 if (color->uploadDeferred) { 60 fbo->setColorTarget(color, i);
|
/hardware/libhardware/include/hardware/ |
lights.h | 37 * light to a reasonable color when the BUTTONS are lit. 92 * The color of the LED in ARGB. 98 * unsigned char brightness = ((77*((color>>16)&0x00ff)) 99 * + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 105 unsigned int color; member in struct:light_state_t
|
/hardware/msm7k/liblights/ |
lights.c | 126 return state->color & 0x00ffffff; 152 int color = state->color & 0x00ffffff; local 153 return ((77*((color>>16)&0x00ff)) 154 + (150*((color>>8)&0x00ff)) + (29*(color&0x00ff))) >> 8; 220 colorRGB = state->color; 314 ALOGV("set_light_notifications g_trackball=%d color=0x%08x", 315 g_trackball, state->color); 329 ALOGV("set_light_attention g_trackball=%d color=0x%08x" [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
ColorButton.java | 59 CLICK_FEEDBACK_COLOR = res.getColor(R.color.magic_flame); 63 getPaint().setColor(res.getColor(R.color.button_text)); 87 int color = CLICK_FEEDBACK_COLOR | (alpha << 24); local 89 mFeedbackPaint.setColor(color);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PercentageBarChart.java | 24 import android.graphics.Color; 56 int emptyColor = a.getColor(R.styleable.PercentageBarChart_emptyColor, Color.BLACK); 104 public void setBackgroundColor(int color) { 105 mEmptyPaint.setColor(color); 113 * @param color the color to draw the entry 115 public static Entry createEntry(float percentage, int color) { 117 p.setColor(color);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 32 import java.awt.Color;
50 public static final float[] i2c(final int color) {
51 return new float[] { (color & 0x00ff0000) / 256f, (color & 0x0000ff00) / 256f, (color & 0x000000ff) / 256f,
52 (color & 0xff000000) / 256f };
55 public static final int c2i(final float[] color) {
56 return (color.length == 4 ? (int) (color[3] * 256) : 0xff000000) | ((int) (color[0] * 256) << 16) | ((int) (color[1] * 256) << 8) [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_sunras.cpp | 173 bool GrFmtSunRasterReader::ReadData( uchar* data, int step, int color ) 183 int nch = color ? 3 : 1; 196 if( !color && m_maptype == RMT_EQUAL_RGB ) 212 if( color ) 261 if( color ) 281 if( color ) 315 if( color ) 327 if( color ) 358 m_strm.GetBytes( color ? data : bgr, src_pitch ); 360 if( color ) [all...] |
grfmt_imageio.cpp | 125 bool GrFmtImageIOReader::ReadData( uchar* data, int step, int color ) 129 // Set color to either CV_IMAGE_LOAD_COLOR or CV_IMAGE_LOAD_GRAYSCALE if unchanged 130 color = color > 0 || ( m_iscolor && color < 0 ); 132 // Get Height, Width, and color information 143 if( color == CV_LOAD_IMAGE_GRAYSCALE ) 149 else if( color == CV_LOAD_IMAGE_COLOR ) 152 bpp = 4; /* CG only has 8 and 32 bit color spaces, so we waste a byte */ 170 colorSpace, /* color space * [all...] |
grfmt_tiff.h | 100 bool ReadData( uchar* data, int step, int color ); 120 bool ReadData( uchar* data, int step, int color );
|
/external/skia/src/animator/ |
SkDrawPaint.cpp | 40 SK_MEMBER(color, Color), 69 SkDrawPaint::SkDrawPaint() : antiAlias(-1), color(NULL), fakeBold(-1), filterBitmap(-1), 82 delete color; 102 SkDrawColor* tempColor = color; 103 color = NULL; 105 color = tempColor; 106 tempColor = (SkDrawColor*) color->deepCopy(maker); 202 if (fOwnsColor && maker.resolveID(color, original->color) == false [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
GraphicsContextHaiku.cpp | 32 #include "Color.h" 148 // Stroke with low color 163 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace) 169 m_data->m_view->SetHighColor(color); 180 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) 182 if (paintingDisabled() || !color.alpha()) 205 void GraphicsContext::drawFocusRing(const Path& path, int width, int offset, const Color& color) [all...] |
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
HoloSpiralRS.java | 26 import android.graphics.Color; 58 private static final int POINTS_COLOR_BLUE = Color.argb(179, 0, 0, 255); 59 private static final int POINTS_COLOR_GREEN = Color.argb(210, 166, 51, 255); 60 private static final int POINTS_COLOR_AQUA = Color.argb(220, 38, 120, 148); 61 private static final int BG_COLOR_BLACK = Color.argb(255, 26, 26, 83); 62 private static final int BG_COLOR_BLUE = Color.argb(255, 8, 0, 26); 235 Float4 color = new Float4(); local 236 color.x = primary.x + ((secondary.x - primary.x) * r); 237 color.y = primary.y + ((secondary.y - primary.y) * r); 238 color.z = primary.z + ((secondary.z - primary.z) * r) [all...] |
/external/webkit/Source/WebCore/css/ |
html.css | 240 border-color: gray 246 border-color: inherit 252 border-color: inherit 258 border-color: inherit 277 border-color: inherit 391 color: initial; 409 background-color: white; 478 background-color: white; 491 color: darkGray; 501 background-color: initial [all...] |
/external/opencv/cv/src/ |
cvinpaint.cpp | 281 int i = 0, j = 0, ii = 0, jj = 0, k, l, q, color = 0; local 303 for (color=0; color<=2; color++) { 352 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; 354 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); 358 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); 515 int i = 0, j = 0, ii = 0, jj = 0, k, l, q, color = 0; local [all...] |
/external/chromium/chrome/browser/ui/views/location_bar/ |
selected_keyword_view.cc | 18 const SkColor& color, 20 : IconLabelBubbleView(background_images, contained_image, color),
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/css/ |
feed.css | 18 color: #0000CC; 23 background-color: rgb(255, 238, 136); 67 background-color: rgb(255, 238, 136); 76 color: #88C;
|
options.css | 13 background-color: rgb(235, 239, 249); 41 background-color: rgb(255, 241, 168); 51 background-color: white; 54 border-color: #B5C7DE;
|
/external/chromium-trace/src/tracing/ |
timeline_view.css | 108 background-color: rgba(255, 255, 255, 0.5); 110 color: rgba(0,0,0,0.2); 119 background-color: rgba(255, 255, 255, 1.0); 122 color: rgba(0, 0, 0, 1);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
LineGraph.java | 15 import org.eclipse.swt.graphics.Color; 31 Color color; field in class:LineGraph.GraphItem 34 GraphItem(String title, String description,double value, Color color,boolean display) { 35 this(title, description, value, color); 39 GraphItem(String title, String description, double value, Color color) { 42 this.color= color; [all...] |
/external/skia/src/gpu/gl/ |
GrGpuGLShaders.h | 60 // sets the color specified by GrDrawState::setColor() 61 void flushColor(GrColor color); 63 // sets the color specified by GrDrawState::setCoverage() 64 void flushCoverage(GrColor color); 81 // flushes the color matrix
|
/external/skia/src/opts/ |
SkBitmapProcState_opts_SSE2.h | 19 SkPMColor color);
|
/external/skia/tests/ |
DrawBitmapRectTest.cpp | 30 static void create(SkBitmap* bm, SkBitmap::Config config, SkColor color) { 33 bm->eraseColor(color);
|
/external/webkit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/ |
css-computed-style-item.js | 4 element.style.color = 'rgb(120, 120, 120)';
|