/external/v8/benchmarks/spinning-balls/ |
v.js | 80 Point.prototype.color = function () { 316 Scene.prototype.drawPoint = function (x, y, z, color) { 327 this.ctx.fillStyle = color 339 scene.drawPoint(point.x, point.y, point.z, point.color());
|
/external/vogar/src/vogar/ |
Console.java | 62 Color.PASS.setCode(passColor); 63 Color.SKIP.setCode(skipColor); 64 Color.FAIL.setCode(failColor); 65 Color.WARN.setCode(warnColor); 66 Color.COMMENT.setCode(34); 114 out.println(colorString("Warning: " + message, Color.WARN)); 116 out.println(colorString(indent + item, Color.WARN)); 161 streamOutput(outcomeName, "\n" + colorString(expectation.getDescription(), Color.COMMENT)); 164 streamOutput(outcomeName, "\n" + colorString("http://b/" + expectation.getBug(), Color.COMMENT)); 178 out.println(colorString("OK (" + result + ")", Color.PASS)) 203 Color color; local 248 sb.append(colorString(annotatedOutcome.getOutcome().getName(), color)); local 302 Color color = elapsedTimeWarningColor(elapsedTime); local [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
GradientDrawable.java | 25 import android.graphics.Color; 53 * A Drawable with a color gradient for buttons, backgrounds, etc. 243 * <p>Set the stroke width and color for the drawable. If width is zero, 250 * @param color The color of the stroke 255 public void setStroke(int width, @ColorInt int color) { 256 setStroke(width, color, 0, 0); 260 * <p>Set the stroke width and color state list for the drawable. If width 267 * @param colorStateList The color state list of the stroke 277 * <p>Set the stroke width and color for the drawable. If width is zero 315 final int color; local [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSimPinView.java | 31 import android.graphics.Color; 82 int color = Color.WHITE; local 90 color = info.getIconTint(); 94 mSimImageView.setImageTintList(ColorStateList.valueOf(color));
|
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/ |
DemoModeController.java | 22 import android.graphics.Color; 132 final int color = Color.HSVToColor(new float[]{hue, sat, val}); local 133 if (DEBUG) Log.d(TAG, String.format("hsv=(%s,%s,%s) argb=#%08x", hue, sat, val, color)); 134 mContent.setBackgroundColor(color);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
BridgeTypedArray.java | 276 * Retrieve the color value for the attribute at <var>index</var>. If 277 * the attribute references a color resource holding a complex 278 * {@link android.content.res.ColorStateList}, then the default color from 285 * @return Attribute color value, or defValue if not defined. 308 * The value may be either a single solid color or a reference to 309 * a color or complex {@link android.content.res.ColorStateList} description. 357 int color = ResourceHelper.getColor(value); local 358 return ColorStateList.valueOf(color); 799 // is it a color? [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SearchOrbView.java | 24 import android.graphics.Color; 39 * The background color and icon can be customized. 62 * Constructs a color set using the given color for the search orb. 65 * @param color The main search orb color. 67 public Colors(@ColorInt int color) { 68 this(color, color); 72 * Constructs a color set using the given colors for the search orb 99 public int color; field in class:SearchOrbView.Colors 192 int color = a.getColor(R.styleable.lbSearchOrbView_searchOrbColor, defColor); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncAdapter.java | 80 int color; field in class:SelectCalendarsSyncAdapter.CalendarRow 128 mData[p].color = c.getInt(mColorColumn); 153 int color = Utils.getDisplayColorFromColor(mData[position].color); local 157 final View delegate = view.findViewById(R.id.color); 187 View colorView = view.findViewById(R.id.color); 189 colorView.setBackgroundColor(color);
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 88 int color; field in class:CalendarAppWidgetModel.EventInfo 113 builder.append(", color="); 114 builder.append(String.format("0x%x", color)); 135 result = prime * result + color; 180 if (color != other.color) { 292 final int color = cursor.getInt(CalendarAppWidgetService.INDEX_COLOR); local 315 location, color, selfStatus)); 355 int startDay, int endDay, String title, String location, int color, int selfStatus) { 386 eventInfo.color = color [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
CompactPhotoEditorView.java | 175 // Add background color behind the white photo icon so that it's visible even 279 final int color = mMaterialPalette == null local 283 mPhotoImageView.setTint(color);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/lettertiles/ |
LetterTileDrawable.java | 82 sDefaultColor = res.getColor(R.color.letter_tile_default_color); 83 sTileFontColor = res.getColor(R.color.letter_tile_font_color); 132 // Draw background color. 174 * Returns a deterministic color based on the provided contact identifier string. 181 // this should guarantee the same email address always maps to the same color. 183 final int color = Math.abs(identifier.hashCode()) % sColors.length(); local 184 return sColors.getColor(color, sDefaultColor);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorHueView.java | 23 import android.graphics.Color; 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); 79 mLinePaint1.setColor(Color.GRAY); 102 int color = Color.HSVToColor(mTmpHSV); local 103 mTmpBuff[x] = color; 104 mTmpBuff[x + w] = color;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionPreviewFragment.java | 210 int color = mTextColor & 0xff000000 | textColor & 0xffffff; local 211 mPreviewText.setForegroundColor(color); 217 int color = mTextColor & 0xffffff | opacity & 0xff000000; local 218 mPreviewText.setForegroundColor(color); 223 int color = mBackgroundColor & 0xff000000 | bgColor & 0xffffff; local 224 mPreviewText.setBackgroundColor(color); 230 int color = mBackgroundColor & 0xffffff | opacity & 0xff000000; local 231 mPreviewText.setBackgroundColor(color); 255 int color = opacity | windowColor & 0xffffff; local 256 mPreviewWindow.setBackgroundColor(color); 262 int color = mWindowColor & 0xffffff | opacity & 0xff000000; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/ |
Standard_Suite.py | 375 class color(aetools.ComponentItem): class in inherits:aetools.ComponentItem 376 """color - A color. """ 379 colors = color 474 color._superclassnames = ['item'] 475 color._privpropdict = { 478 color._privelemdict = { 539 'colr' : color,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/ |
Standard_Suite.py | 375 class color(aetools.ComponentItem): class in inherits:aetools.ComponentItem 376 """color - A color. """ 379 colors = color 474 color._superclassnames = ['item'] 475 color._privpropdict = { 478 color._privelemdict = { 539 'colr' : color,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
BinPacker.java | 21 import java.awt.Color; 303 g.setColor(Color.BLACK); 306 Color[] colors = new Color[] { 307 Color.blue, Color.cyan, 308 Color.green, Color.magenta, Color.orange, 309 Color.pink, Color.red, Color.white, Color.yellow, Color.darkGray 315 Color color = new Color(0x9FFFFFFF, true); local 327 Color color = colors[colorIndex]; local [all...] |
/system/core/libpixelflinger/ |
pixelflinger.cpp | 112 if (surface->format != c->state.buffers.color.format) 122 ggl_set_surface(c, &(c->state.buffers.color), surface); 218 static void ggl_color4xv(void* con, const GGLclampx* color) 221 c->shade.r0 = gglFixedToIteratedColor(color[0]); 222 c->shade.g0 = gglFixedToIteratedColor(color[1]); 223 c->shade.b0 = gglFixedToIteratedColor(color[2]); 224 c->shade.a0 = gglFixedToIteratedColor(color[3]); 278 static void ggl_fogColor3xv(void* con, const GGLclampx* color) 281 const int32_t r = gglClampx(color[0]); 282 const int32_t g = gglClampx(color[1]) 370 uint8_t* const color = c->activeTMU->env_color; local [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
raytrace.js | 56 // flog/color.js 77 Flog.RayTracer.Color = Class.create(); 79 Flog.RayTracer.Color.prototype = { 95 var result = new Flog.RayTracer.Color(0,0,0); 105 var result = new Flog.RayTracer.Color(0,0,0); 117 var result = new Flog.RayTracer.Color(0,0,0); 127 var result = new Flog.RayTracer.Color(0,0,0); 137 var result = new Flog.RayTracer.Color(0,0,0); 147 var result = new Flog.RayTracer.Color(0,0,0); 162 distance : function(color) { [all...] |
/external/v8/benchmarks/ |
raytrace.js | 56 // flog/color.js 77 Flog.RayTracer.Color = Class.create(); 79 Flog.RayTracer.Color.prototype = { 95 var result = new Flog.RayTracer.Color(0,0,0); 105 var result = new Flog.RayTracer.Color(0,0,0); 117 var result = new Flog.RayTracer.Color(0,0,0); 127 var result = new Flog.RayTracer.Color(0,0,0); 137 var result = new Flog.RayTracer.Color(0,0,0); 147 var result = new Flog.RayTracer.Color(0,0,0); 162 distance : function(color) { [all...] |
/prebuilts/sdk/current/support/v7/cardview/libs/ |
android-support-v7-cardview.jar | |
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimationActivity.java | 255 int color = 0xff000000 | red << 16 | green << 8 | blue; local 258 50f, color, darkColor, Shader.TileMode.CLAMP);
|
/cts/tests/tests/display/src/android/display/cts/ |
VirtualDisplayTest.java | 21 import android.graphics.Color; 64 // values for each color channel so as to detect possible RGBA vs. BGRA buffer format issues. 230 final int color, final int windowType, final int windowFlags) { 233 mImageListener.getColor() != color); 242 color, windowType, windowFlags); 249 mImageListener.waitForColor(color, TIMEOUT)); 296 int color, int windowType, int windowFlags) { 298 mColor = color; 311 // Create a solid color image to use as the content of the presentation. 321 * Watches for an image with a large amount of some particular solid color to be shown 364 int color = scanImage(image); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimatorEvents.java | 180 int color = 0xff000000 | red << 16 | green << 8 | blue; local 184 50f, color, darkColor, Shader.TileMode.CLAMP);
|
/external/deqp/framework/referencerenderer/ |
rrFragmentOperations.cpp | 526 const Vec3 color = cbase + Vec3(ldiff); local 527 const float minC = minComp(color); 528 const float maxC = maxComp(color); 531 return llum + ((color-llum)*llum / (llum != minC ? (llum-minC) : 1.0f)); 533 return llum + ((color-llum)*(1.0f-llum) / (llum != maxC ? (maxC-llum) : 1.0f)); 535 return color; 543 Vec3 color = Vec3(0.0f); local 546 color = (cbase - minbase) * ssat / sbase; 548 color = color; [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharingTests.cpp | 617 tcu::Vec4 color = m_texture.sample(tcu::Sampler(tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::REPEAT_GL, tcu::Sampler::LINEAR, tcu::Sampler::LINEAR), t, s, lod); local 619 int r = deClamp32((int)(255.0f * color.x()), 0, 255); 620 int g = deClamp32((int)(255.0f * color.y()), 0, 255); 621 int b = deClamp32((int)(255.0f * color.z()), 0, 255); 622 int a = deClamp32((int)(255.0f * color.w()), 0, 255); 763 tcu::Vec4 color; local 766 color = a * (1.0f - t) + b * (t - s) + s * c; 768 color = a * (1.0f - s) + d * (s - t) + t * c; 770 int red = deClamp32((int)(255.0f * color.x()), 0, 255); 771 int green = deClamp32((int)(255.0f * color.y()), 0, 255) 1052 tcu::Vec4 color; local [all...] |