HomeSort by relevance Sort by last modified time
    Searched refs:Color (Results 376 - 400 of 1502) sorted by null

<<11121314151617181920>>

  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
DrawableCompatActivity.java 22 import android.graphics.Color;
76 DrawableCompat.setTint(mDrawable, Color.MAGENTA);
81 ContextCompat.getColorStateList(this, R.color.tint_state_list));
  /frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/
GridItemPresenter.java 20 import android.graphics.Color;
43 ResourcesCompat.getColor(parent.getResources(), R.color.jank_yellow, null));
44 view.setTextColor(Color.WHITE);
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/
AppCompatResourcesTestCase.java 24 import android.graphics.Color;
50 context, R.color.color_state_list_themed_attrs);
56 // Disabled color should equals colorForeground with 50% of its alpha
58 Math.round(Color.alpha(colorForegound) * 0.5f));
62 // Default color should equal colorForeground
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListPinnedHeaderView.java 21 import android.graphics.Color;
43 R.styleable.ContactListItemView_list_item_background_color, Color.WHITE);
  /packages/apps/Contacts/src/com/android/contacts/widget/
TransitionAnimationView.java 20 import android.graphics.Color;
27 * faded in and out. Currently, the masking view is solid color white.
52 mMaskingView.setBackgroundColor(Color.WHITE);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterBwFilter.java 22 import android.graphics.Color;
57 int rgb = Color.HSVToColor(hsv);
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
HtmlToSpannedParserTest.java 21 import android.graphics.Color;
31 private static final int SAMPLE_COLOR = Color.MAGENTA;
UriBitmap.java 19 import android.graphics.Color;
62 bitmap.setPixel(x, y, Color.rgb(x, y, x + y));
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
WebActivityTest.java 23 import android.graphics.Color;
37 private static final int STATUS_BAR_COLOR = Color.parseColor("#BDBDBD"); // any color would do
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/
ColorMatcherTest.java 18 import static android.graphics.Color.parseColor;
19 import static android.graphics.Color.rgb;
  /packages/apps/Messaging/src/com/android/messaging/util/
TintDrawableWrapper.java 20 import android.graphics.Color;
30 * A {@link DrawableWrapper} which updates it's color filter using a {@link ColorStateList}.
57 final int color = mTintStateList.getColorForState(state, mCurrentColor); local
58 if (color != mCurrentColor) {
59 if (color != Color.TRANSPARENT) {
60 setColorFilter(color, mTintMode);
64 mCurrentColor = color;
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageSummaryPreference.java 20 import android.graphics.Color;
57 summary.setTextColor(Color.parseColor("#8a000000"));
  /packages/experimental/Bummer/src/com/android/dreams/bummer/
Bummer.java 19 import android.graphics.Color;
31 public int color = Color.WHITE; field in class:Bummer
47 mApology.setTextColor(color);
  /cts/tests/tests/widget/src/android/widget/cts/
AbsSeekBarTest.java 33 import android.graphics.Color;
157 Drawable mockProgressDrawable = spy(new ColorDrawable(Color.YELLOW));
274 Color.WHITE, inflatedView.getThumbTintList().getDefaultColor());
278 Drawable mockThumb = spy(new ColorDrawable(Color.BLUE));
281 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.WHITE));
284 inflatedView.setThumbTintList(ColorStateList.valueOf(Color.RED));
285 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.RED));
294 verify(mockThumb, times(1)).setTintList(TestUtils.colorStateListOf(Color.RED));
303 Color.WHITE, inflatedView.getTickMarkTintList().getDefaultColor());
307 Drawable mockTickMark = spy(new ColorDrawable(Color.BLUE))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DurationMinimap.java 31 import org.eclipse.swt.graphics.Color;
79 private Color mBackgroundColor;
80 private Color mDurationLineColor;
81 private Color mGlDrawColor;
82 private Color mGlErrorColor;
83 private Color mContextHeaderColor;
84 private Color mVisibleCallsHighlightColor;
85 private Color mMouseMarkerColor;
181 mBackgroundColor = new Color(getDisplay(), 0x33, 0x33, 0x33);
182 mDurationLineColor = new Color(getDisplay(), 0x08, 0x51, 0x9c)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
GpsTestActivity.java 23 import android.graphics.Color;
120 log("All GPS tests complete", Color.GREEN);
140 private void log(String s, int color) {
146 spanText.setSpan(new ForegroundColorSpan(color), start, end, 0);
151 log(s, Color.RED);
157 log("OK!\n", Color.GREEN);
160 log("(Sleep 2 second) \n", Color.GREEN);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
GradientDrawableTest.java 31 import android.graphics.Color;
67 int[] color = new int[] {1, 2, 3}; local
70 new GradientDrawable(GradientDrawable.Orientation.BL_TR, color);
80 gradientDrawable.setColor(Color.TRANSPARENT);
81 assertEquals("Color.TRANSPARENT is TRANSLUCENT",
88 gradientDrawable.setColors(new int[] { Color.RED, Color.TRANSPARENT });
92 gradientDrawable.setColors(new int[] { Color.RED, Color.BLUE });
96 gradientDrawable.setColor(Color.RED)
323 int color; local
355 ColorStateList color; local
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
MSSIMComparer.java 18 import android.graphics.Color;
82 if (colors[indexFromXAndY(x, y, stride, start)] != Color.WHITE) {
155 l += (0.21f * Math.pow(Color.red(pixel) / 255f, gamma));
156 l += (0.72f * Math.pow(Color.green(pixel) / 255f, gamma));
157 l += (0.07f * Math.pow(Color.blue(pixel) / 255f, gamma));
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
CanvasStateTests.java 24 import android.graphics.Color;
135 bitmap.eraseColor(Color.RED);
138 .runWithVerifier(new ColorVerifier(Color.RED, 0));
154 bitmap.eraseColor(Color.RED);
157 .runWithVerifier(new ColorVerifier(Color.RED, 0));
  /external/flatbuffers/samples/
SampleBinary.cs 53 Monster.AddColor(builder, Color.Red);
81 Assert(monster.Color == Color.Red, "monster.Color", Convert.ToString(monster.Color),
82 Convert.ToString(Color.Red));
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DemoUtility.java 11 import java.awt.Color;
34 public static final Color bgColor = Color.lightGray;
35 public static final Color choiceColor = Color.white;
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyRegColoring.cpp 138 size_t Color = i;
150 Color = C;
155 unsigned New = SortedIntervals[Color]->reg;
158 UsedColors.set(Color);
159 Assignments[Color].push_back(LI);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ColoredRectsActivity.java 23 import android.graphics.Color;
39 final RectsView gpuView = new RectsView(this, 0, Color.GREEN);
41 final RectsView swView = new RectsView(this, 400, Color.RED);
44 final RectsView hwBothView = new RectsView(this, 850, Color.GREEN);
49 final RectsView swBothView = new RectsView(this, 854, Color.RED);
65 public RectsView(Context c, float offset, int color) {
68 mColor = color;
ViewLayerInvalidationActivity.java 20 import android.graphics.Color;
31 int currentColor = Color.WHITE;
83 currentColor = (currentColor == Color.WHITE) ? Color.RED : Color.WHITE;
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DrawableLayoutDirectionHelperTest.java 25 import android.graphics.Color;
49 final Drawable drawable = new ColorDrawable(Color.RED);
67 final Drawable drawable = new ColorDrawable(Color.RED);
85 final Drawable drawable = new ColorDrawable(Color.RED);
108 final Drawable drawable = new ColorDrawable(Color.RED);

Completed in 599 milliseconds

<<11121314151617181920>>