/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...] |
/external/pdfium/core/fpdfdoc/ |
cpvt_color.h | 18 FX_FLOAT color1 = 0.0f, 23 fColor1(color1),
|
/external/python/cpython2/Demo/turtle/ |
tdemo_yinyang.py | 16 def yin(radius, color1, color2): 24 color(color1)
|
/frameworks/base/core/tests/coretests/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);
|
/external/skia/src/core/ |
SkBitmapProcState_filter.h | 84 SkPMColor color1, 95 lo += (color1 & mask) * scale; 96 hi += ((color1 >> 8) & mask) * scale; 104 SkPMColor color1, 117 lo += (color1 & mask) * scale; 118 hi += ((color1 >> 8) & mask) * scale;
|
/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/base/graphics/java/android/graphics/ |
SweepGradient.java | 77 * @param color1 The color to use at the end of the sweep 79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { 84 mColor1 = color1; 117 int color0, int color1);
|
LinearGradient.java | 84 * @param color1 The color at the end of the gradient line. 88 @ColorInt int color0, @ColorInt int color1, 96 mColor1 = color1; 132 int color0, int color1, int tileMode);
|
/external/pdfium/fpdfsdk/pdfwindow/ |
cpwl_color.h | 14 FX_FLOAT color1 = 0.0f, 19 fColor1(color1),
|
/external/deqp/modules/glshared/ |
glsFragmentOpUtil.hpp | 53 tcu::Vec4 color1[4]; member in struct:deqp::gls::FragmentOpUtil::Quad 93 tcu::Vec4 color1[4]; member in struct:deqp::gls::FragmentOpUtil::IntegerQuad
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
ColorChecker.java | 100 public static double getContrastRatio(int color1, int color2) { 101 return getContrastRatio(getLuminance(color1), getLuminance(color2));
|
/prebuilts/go/darwin-x86/src/image/ |
ycbcr_test.go | 97 color1 := sub.At(x, y).(color.YCbCr) 98 if color0 != color1 { 99 t.Errorf("r=%v, subsampleRatio=%v, delta=%v, x=%d, y=%d, color0=%v, color1=%v", 100 r, subsampleRatio, delta, x, y, color0, color1)
|
/prebuilts/go/linux-x86/src/image/ |
ycbcr_test.go | 97 color1 := sub.At(x, y).(color.YCbCr) 98 if color0 != color1 { 99 t.Errorf("r=%v, subsampleRatio=%v, delta=%v, x=%d, y=%d, color0=%v, color1=%v", 100 r, subsampleRatio, delta, x, y, color0, color1)
|
/external/skia/tests/ |
RectangleTextureTest.cpp | 68 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); local 70 rtc->clear(&rect, color1, false); 74 expectedBytes1[0] = GrColorUnpackR(color1); 75 expectedBytes1[1] = GrColorUnpackG(color1); 76 expectedBytes1[2] = GrColorUnpackB(color1); 77 expectedBytes1[3] = GrColorUnpackA(color1);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusbrush.h | 145 const Color& color1, const Color& color2) 150 color1.GetValue(), color2.GetValue(), 155 const Color& color1, const Color& color2) 160 color1.GetValue(), color2.GetValue(), 164 LinearGradientBrush(const RectF& rect, const Color& color1, 169 &rect, color1.GetValue(), color2.GetValue(), 173 LinearGradientBrush(const Rect& rect, const Color& color1, 178 &rect, color1.GetValue(), color2.GetValue(), 182 LinearGradientBrush(const RectF& rect, const Color& color1, 188 &rect, color1.GetValue(), color2.GetValue() [all...] |
/external/dng_sdk/source/ |
dng_negative.cpp | [all...] |
/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);
|