HomeSort by relevance Sort by last modified time
    Searched refs:Color (Results 426 - 450 of 1386) sorted by null

<<11121314151617181920>>

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
Batch.java 19 import com.badlogic.gdx.graphics.Color;
59 /** Sets the color used to tint images when they are added to the Batch. Default is {@link Color#WHITE}. */
60 public void setColor (Color tint);
62 /** @see #setColor(Color) */
65 /** @see #setColor(Color)
66 * @see Color#toFloatBits() */
67 public void setColor (float color);
69 /** @return the rendering color of this Batch. Manipulating the returned instance has no effect. */
70 public Color getColor ();
    [all...]
GlyphLayout.java 19 import com.badlogic.gdx.graphics.Color;
30 /** Stores runs of glyphs for a piece of text. The text may contain newlines and color markup tags.
38 private final Array<Color> colorStack = new Array(4);
50 public GlyphLayout (BitmapFont font, CharSequence str, Color color, float targetWidth, int halign, boolean wrap) {
51 setText(font, str, color, targetWidth, halign, wrap);
55 public GlyphLayout (BitmapFont font, CharSequence str, int start, int end, Color color, float targetWidth, int halign,
57 setText(font, str, start, end, color, targetWidth, halign, wrap, truncate);
60 /** Calls {@link #setText(BitmapFont, CharSequence, int, int, Color, float, int, boolean, String) setText} with the whol
355 Color color = colorPool.obtain(); local
422 public final Color color = new Color(); field in class:GlyphLayout.GlyphRun
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
CheckBox.java 19 import com.badlogic.gdx.graphics.Color;
100 public CheckBoxStyle (Drawable checkboxOff, Drawable checkboxOn, BitmapFont font, Color fontColor) {
114 this.fontColor = new Color(style.fontColor);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
ContactCallbackTest.java 20 import com.badlogic.gdx.graphics.Color;
39 e.setColor(Color.RED);
46 e.setColor(Color.RED);
ConvexHullTest.java 20 import com.badlogic.gdx.graphics.Color;
37 carModel.materials.get(0).set(ColorAttribute.createDiffuse(Color.WHITE), ColorAttribute.createSpecular(Color.WHITE));
GimpactTest.java 5 import com.badlogic.gdx.graphics.Color;
25 chassisModel.materials.get(0).set(ColorAttribute.createDiffuse(Color.RED), ColorAttribute.createSpecular(Color.WHITE));
  /external/libgdx/tests/gdx-tests-android/src/com/badlogic/gdx/tests/android/
WindowedTest.java 33 import com.badlogic.gdx.graphics.Color;
36 Color color = new Color(1, 1, 1, 1); field in class:WindowedTest
42 b1.setText("Change Color");
61 color.set((float)Math.random(), (float)Math.random(), (float)Math.random(), 1);
92 Gdx.gl.glClearColor(color.r, color.g, color.g, color.a);
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
ImmutablesRepresenter.java 33 this.representers.put(java.awt.Color.class, new RepresentColor());
74 java.awt.Color color = (java.awt.Color) data; local
77 Arrays.asList(new Integer[] { color.getRed(), color.getGreen(),
78 color.getBlue(), color.getAlpha() }), true);
  /frameworks/base/libs/hwui/tests/unit/
RenderNodeTests.cpp 26 #include "utils/Color.h"
43 canvas.drawColor(Color::Red_500, SkXfermode::kSrcOver_Mode);
56 canvas.drawColor(Color::Amber_500, SkXfermode::kSrcOver_Mode);
117 canvas.drawColor(Color::Red_500, SkXfermode::kSrcOver_Mode);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
FramebufferBlendActivity.java 25 import android.graphics.Color;
58 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
NavigationBar.java 22 import android.graphics.Color;
51 // Normally we can automatically guess the theme by comparing the foreground color against
52 // the background color. But we also allow specifying explicitly using suwNavBarTheme.
60 // Compare the value of the foreground against the background color to see if current
64 Color.colorToHSV(attributes.getColor(1, 0), foregroundHsv);
65 Color.colorToHSV(attributes.getColor(2, 0), backgroundHsv);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorGridDialog.java 21 import android.graphics.Color;
50 final int c = (Color.HSVToColor(hsv) & 0x00FFFFFF) | 0xAA000000;
90 int c = Color.HSVToColor(hsvo) & 0xFFFFFF;
  /packages/apps/SoundRecorder/src/com/android/soundrecorder/
VUMeter.java 23 import android.graphics.Color;
57 mPaint.setColor(Color.WHITE);
59 mShadow.setColor(Color.argb(60, 0, 0, 0));
  /packages/services/Car/car-support-lib/src/android/support/car/ui/
CarUiResourceLoader.java 21 import android.graphics.Color;
47 return new ColorDrawable(Color.TRANSPARENT);
53 return new ColorDrawable(Color.TRANSPARENT);
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
LogPane.java 24 import android.graphics.Color;
91 int lineColor = error ? Color.RED : Color.WHITE;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LintTooltip.java 26 import org.eclipse.swt.graphics.Color;
50 Color fg = display.getSystemColor(SWT.COLOR_INFO_FOREGROUND);
51 Color bg = display.getSystemColor(SWT.COLOR_INFO_BACKGROUND);
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
StateLabelProvider.java 27 import org.eclipse.swt.graphics.Color;
35 private Color mHighlightForegroundColor;
36 private Color mNormalForegroundColor;
  /frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
Palette.java 20 import android.graphics.Color;
241 * Returns the most vibrant color in the palette as an RGB packed int.
252 * Returns a light and vibrant color from the palette as an RGB packed int.
263 * Returns a dark and vibrant color from the palette as an RGB packed int.
274 * Returns a muted color from the palette as an RGB packed int.
285 * Returns a muted and light color from the palette as an RGB packed int.
296 * Returns a muted and dark color from the palette as an RGB packed int.
316 * Returns the selected color for the given target from the palette as an RGB packed int.
338 * Returns the color of the dominant swatch from the palette, as an RGB packed int.
363 // If we have a swatch, and the target is exclusive, add the color to the used lis
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 25 import android.graphics.Color;
76 Color.argb(255, 0, 0, 0),
77 Color.argb(128, 255, 0, 0),
78 Color.argb(128, 25, 26, 27),
79 Color.argb(2, 255, 254, 253),
84 Color.argb(255, 0, 0, 0),
85 Color.argb(128, 255, 0, 0),
86 Color.argb(128, 26, 26, 28),
87 Color.argb(2, 255, 255, 255),
372 bitmap.eraseColor(Color.BLACK)
    [all...]
  /external/deqp/modules/glshared/
glsScissorTests.cpp 114 void clearEdges (const tcu::PixelBufferAccess& access, const T& color, const IVec4& scissorArea)
123 access.setPixel(color, x, y);
548 struct Color
561 Color(const float f_[4]) : type(FLOAT) { f[0] = f_[0]; f[1] = f_[1]; f[2] = f_[2]; f[3] = f_[3]; }
562 Color(const deInt32 i_[4]) : type(INT) { i[0] = i_[0]; i[1] = i_[1]; i[2] = i_[2]; i[3] = i_[3]; }
563 Color(const deUint32 u_[4]) : type(UINT) { u[0] = u_[0]; u[1] = u_[1]; u[2] = u_[2]; u[3] = u_[3]; }
575 static void clearBuffers (const glw::Functions& gl, Color color, float depth, int stencil);
576 static Color getBaseColor (const BufferFmtDesc& bufferFmt);
577 static Color getMainColor (const BufferFmtDesc& bufferFmt)
    [all...]
  /cts/tests/tests/assist/src/android/assist/cts/
ScreenshotTest.java 26 import android.graphics.Color;
82 waitForActivityResumeAndAssist(Color.RED);
97 waitForActivityResumeAndAssist(Color.GREEN);
112 waitForActivityResumeAndAssist(Color.BLUE);
117 private void waitForActivityResumeAndAssist(int color) throws Exception {
120 extras.putInt(Utils.SCREENSHOT_COLOR_KEY, color);
  /cts/tests/tests/systemui/src/android/systemui/cts/
LightStatusBarActivity.java 19 import android.graphics.Color;
  /cts/tests/tests/tv/src/android/media/tv/cts/
StubTunerTvInputService.java 24 import android.graphics.Color;
84 private static final int[] COLORS = { Color.RED, Color.GREEN, Color.BLUE };
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
SweepTests.java 20 import android.graphics.Color;
45 Color.RED, Color.GREEN, Color.BLUE
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Typefaces.java 46 canvas.drawColor(Color.WHITE);

Completed in 2341 milliseconds

<<11121314151617181920>>