/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));
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferComputeInstance.hpp | 39 const tcu::Vec4& color2,
|
vktApiBufferComputeInstance.cpp | 39 const tcu::Vec4& color2, 75 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4));
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
ColorChecker.java | 97 public static double getContrastRatio(int color1, int color2) { 98 return getContrastRatio(getLuminance(color1), getLuminance(color2));
|
/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(), 165 const Color& color2, LinearGradientMode mode) 169 &rect, color1.GetValue(), color2.GetValue(), 174 const Color& color2, LinearGradientMode mode) 178 &rect, color1.GetValue(), color2.GetValue(), 183 const Color& color2, REAL angle, 188 &rect, color1.GetValue(), color2.GetValue() [all...] |
/external/pdfium/core/include/fpdfdoc/ |
fpdf_ap.h | 36 FX_FLOAT color2 = 0.0f, 41 fColor2(color2),
|
/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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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. 176 * 0.0 will return {@code color2}. 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/SlidingTabsColors/src/com.example.android.common/view/ |
SlidingTabStrip.java | 173 * Blend {@code color1} and {@code color2} using the given ratio. 176 * 0.0 will return {@code color2}. 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/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
SlidingTabStrip.java | 173 * Blend {@code color1} and {@code color2} using the given ratio. 176 * 0.0 will return {@code color2}. 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/SwipeRefreshListFragment/src/com.example.android.common/view/ |
SlidingTabStrip.java | 173 * Blend {@code color1} and {@code color2} using the given ratio. 176 * 0.0 will return {@code color2}. 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/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
SlidingTabStrip.java | 173 * Blend {@code color1} and {@code color2} using the given ratio. 176 * 0.0 will return {@code color2}. 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);
|
/external/pdfium/fpdfsdk/src/javascript/ |
color.cpp | 216 CPWL_Color color2; local 218 ConvertArrayToPWLColor(array2, color2); 219 color1.ConvertColorType(color2.nColorType); 220 vRet = color1 == color2;
|
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
BaseSwipeRefreshLayoutActivity.java | 96 mSwipeRefreshWidget.setColorSchemeResources(R.color.color1, R.color.color2, R.color.color3,
|
/external/opencv3/modules/viz/include/opencv2/viz/ |
viz3d.hpp | 212 void setBackgroundColor(const Color& color = Color::black(), const Color& color2 = Color::not_set());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorOpacityView.java | 157 int color2 = Color.HSVToColor(mHSVO); local 158 int color1 = color2 & 0xFFFFFF; 161 mBorder, mBorder, mWidth - mBorder, mBorder, color1, color2, Shader.TileMode.CLAMP);
|
/external/deqp/modules/glshared/ |
glsTextureBufferCase.cpp | 235 const tcu::Vec4 color2 = vtxColor2; local 240 rr::writeFragmentOutput(context, packetNdx, 2, 0, tcu::Vec4(color2.x() * color2.w(), color2.y() * color2.w(), color2.z() * color2.w(), 1.0f)); 280 const tcu::Vec4 color2 = 0.5f * (vtxColor2 + texColor2); local 285 rr::writeFragmentOutput(context, packetNdx, 2, 0, tcu::Vec4(color2.x() * color2.w(), color2.y() * color2.w(), color2.z() * color2.w(), 1.0f)) [all...] |
/bionic/libc/kernel/uapi/linux/dvb/ |
video.h | 140 __u8 color2; member in struct:video_highlight
|