HomeSort by relevance Sort by last modified time
    Searched full:color1 (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
color1-expected-completion46a.txt 1 Code completion in color1.xml for ^<item android:
color1-expected-completion45.txt 1 Code completion in color1.xml for ^<selector:
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
LedConfiguration.java 30 int color1 = source.readInt();
33 LedConfiguration config = new LedConfiguration(color0, color1, bools[0]);
45 public final int color1; field in class:LedConfiguration
49 public LedConfiguration(int color0, int color1, boolean pulse) {
51 this.color1 = color1;
57 this.color1 = that.color1;
76 return (this.color0 == that.color0 && this.color1 == that.color1)
    [all...]
  /frameworks/base/tests/VectorDrawableTest/res/values/
styles.xml 17 <item name="color1">@color/color1</item>
attrs.xml 16 <attr name="color1" format="color" />
colors.xml 17 <color name="color1">#ff3838</color>
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
TransitionDrawableTest.java 30 private static final int COLOR1 = 0xff0000ff;
72 assertTransition(COLOR0, COLOR1, 2000);
79 assertTransition(COLOR0, COLOR1, 2000);
86 assertTransition(COLOR0, COLOR1, 2000);
126 assertTransition(COLOR0, COLOR1, 2000);
132 assertTransition(COLOR1, COLOR0, 2000);
148 assertTransition(colorFrom, COLOR1, 1500);
215 assertTransition(COLOR0, COLOR1, 2000);
217 assertTransitionStart(COLOR1);
218 assertTransitionInProgress(COLOR1, COLOR0, delay)
    [all...]
  /external/skia/src/core/
SkBitmapProcState_filter.h 85 SkPMColor color1,
96 lo += (color1 & mask) * scale;
97 hi += ((color1 >> 8) & mask) * scale;
105 SkPMColor color1,
118 lo += (color1 & mask) * scale;
119 hi += ((color1 >> 8) & mask) * scale;
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
WeightedPixelDifference.java 57 private static float errorBetweenPixels(int color1, int color2) {
59 error += Math.abs(Color.red(color1) - Color.red(color2));
60 error += Math.abs(Color.green(color1) - Color.green(color2));
61 error += Math.abs(Color.blue(color1) - Color.blue(color2));
62 error += Math.abs(Color.alpha(color1) - Color.alpha(color2));
  /frameworks/base/graphics/java/android/graphics/
LinearGradient.java 77 @param color1 The color at the end of the gradient line.
80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1,
88 mColor1 = color1;
90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt));
118 int color0, int color1, int tileMode);
SweepGradient.java 74 * @param color1 The color to use at the end of the sweep
76 public SweepGradient(float cx, float cy, int color0, int color1) {
81 mColor1 = color1;
82 init(nativeCreate2(cx, cy, color0, color1));
108 private static native long nativeCreate2(float x, float y, int color0, int color1);
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
ColorStateListTest.java 44 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
52 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1);
60 int defaultColor = mResources.getColor(R.color.color1);
  /frameworks/native/opengl/libagl/
dxt.cpp 130 * contains a transparent pixel (color0 < color1, code == 3). This
159 uint16_t color1 = colors >> 16; local
161 if (color0 < color1) {
225 uint16_t color1 = colors >> 16; local
230 if (color0 != prev_color0 || color1 != prev_color1) {
233 prev_color1 = color1;
239 int r1 = red(color1);
240 int g1 = green(color1);
241 int b1 = blue(color1);
248 c[1] = color1;
350 uint16_t color1 = colors >> 16; local
507 uint16_t color1 = colors >> 16; local
    [all...]
  /frameworks/support/graphics/drawable/static/tests/res/values/
colors.xml 17 <color name="color1">#ff3838</color>
  /frameworks/support/samples/SupportVectorDrawable/static/res/values/
colors.xml 17 <color name="color1">#ff3838</color>
  /external/pdfium/core/include/fpdfdoc/
fpdf_ap.h 35 FX_FLOAT color1 = 0.0f,
40 fColor1(color1),
  /developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /developers/build/prebuilts/gradle/SlidingTabsBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /developers/samples/android/common/src/java/com/example/android/common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /development/samples/browseable/BasicTransition/src/com.example.android.common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);
  /development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
SlidingTabStrip.java 173 * Blend {@code color1} and {@code color2} using the given ratio.
175 * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend,
178 private static int blendColors(int color1, int color2, float ratio) {
180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation);
181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation);
182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation);

Completed in 910 milliseconds

1 2 3 4 5 6