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

12 3 4 5 6

  /development/samples/browseable/SlidingTabsColors/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/SwipeRefreshLayoutBasic/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/SwipeRefreshListFragment/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/SwipeRefreshMultipleViews/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);
  /external/skia/tests/
RectangleTextureTest.cpp 119 GrColor color1 = GrColorPackRGBA(0x1, 0x2, 0x3, 0x4); local
121 dc->clear(&rect, color1, false);
125 expectedBytes1[0] = GrColorUnpackR(color1);
126 expectedBytes1[1] = GrColorUnpackG(color1);
127 expectedBytes1[2] = GrColorUnpackB(color1);
128 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...]
  /frameworks/native/cmds/flatland/
Renderers.cpp 69 mColor1UniformLoc = glGetUniformLocation(mGradPgm, "color1");
97 const float* color1 = genColor(); local
114 glUniform4fv(mColor1UniformLoc, 1, color1);
  /frameworks/base/core/jni/android/graphics/
Shader.cpp 136 jint color0, jint color1, jint tileMode)
144 colors[1] = color1;
180 jint color0, jint color1, jint tileMode) {
186 colors[1] = color1;
217 int color0, int color1) {
220 colors[1] = color1;
  /external/ImageMagick/ImageMagick/script/
gradient.html 62 gradient:color1-color2
69 radial-gradient:color1-color2
72 <p> In the above, color1 is the fromColor and color2 is the toColor, as described in more detail below. The default is white for color1 and black for color2, i.e., white-black.</p>
74 <p>The default for a linear gradient has color1 at the top of the image and color2 at the bottom of the image. Similarly, the default for a radial gradient has color1 at the center of the image and color2 at the boundary of the image.</p>
100 (x1,y1) to vector2 (x2,y2). Color1 (fromColor) will be located at vector
122 going from color1 to color2 in a clockwise positive manner relative to
132 image, then color1 will be the color of the background.</td>
164 <p>The default linear gradient may also be generated in any of the following ways (or by reversing the direction and swapping color1 and color2):</p
    [all...]
  /external/ImageMagick/www/
gradient.html 66 gradient:color1-color2
73 radial-gradient:color1-color2
76 <p> In the above, color1 is the fromColor and color2 is the toColor, as described in more detail below. The default is white for color1 and black for color2, i.e., white-black.</p>
78 <p>The default for a linear gradient has color1 at the top of the image and color2 at the bottom of the image. Similarly, the default for a radial gradient has color1 at the center of the image and color2 at the boundary of the image.</p>
104 (x1,y1) to vector2 (x2,y2). Color1 (fromColor) will be located at vector
126 going from color1 to color2 in a clockwise positive manner relative to
136 image, then color1 will be the color of the background.</td>
168 <p>The default linear gradient may also be generated in any of the following ways (or by reversing the direction and swapping color1 and color2):</p
    [all...]
  /external/pdfium/fpdfsdk/src/javascript/
color.cpp 215 CPWL_Color color1;
217 ConvertArrayToPWLColor(array1, color1);
219 color1.ConvertColorType(color2.nColorType);
220 vRet = color1 == color2;
  /frameworks/base/tests/VectorDrawableTest/res/anim/
blink.xml 25 android:valueFrom="?attr/color1"
  /frameworks/support/samples/Support4Demos/res/values/
colors.xml 22 <color name="color1">#ff0f9d58</color>
  /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/deqp/modules/glshared/
glsFragmentOpUtil.cpp 190 DE_STATIC_ASSERT(sizeof(quad.color1) == sizeof(float)*4*4);
198 vertexArrays.push_back(glu::va::Float(m_color1Loc, 4, 4, 0, (const float*)&quad.color1[0]));
254 tcu::Vec4 color1 = triQuadInterpolate(quad.color1, xRatio, yRatio); local
267 m_fragmentBuffer[m_fragmentBufferSize] = rr::Fragment(tcu::IVec2(x, y), rr::GenericVec4(color), rr::GenericVec4(color1), 1u /* coverage mask */, &m_fragmentDepths[m_fragmentBufferSize]);
glsTextureBufferCase.cpp 234 const tcu::Vec4 color1 = vtxColor1; local
239 rr::writeFragmentOutput(context, packetNdx, 1, 0, tcu::Vec4(color1.x() * color1.w(), color1.y() * color1.w(), color1.z() * color1.w(), 1.0f));
279 const tcu::Vec4 color1 = 0.5f * (vtxColor1 + texColor1); local
284 rr::writeFragmentOutput(context, packetNdx, 1, 0, tcu::Vec4(color1.x() * color1.w(), color1.y() * color1.w(), color1.z() * color1.w(), 1.0f))
    [all...]
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
  /frameworks/support/core-ui/java/android/support/v4/widget/
SwipeProgressBar.java 40 private static final int COLOR1 = 0xB3000000;
72 mColor1 = COLOR1;
83 * @param color1 Integer representation of a color.
88 void setColorScheme(int color1, int color2, int color3, int color4) {
89 mColor1 = color1;
  /external/dng_sdk/source/
dng_negative.cpp     [all...]
  /external/webrtc/talk/session/media/
planarfunctions_unittest.cc 214 int color1 = ((i / block_size) + (j / block_size)) % local
218 current_yuv_pointer[0] = testing_color_y_[color1];
221 (static_cast<uint32_t>(testing_color_u_[color1]) +
226 (static_cast<uint32_t>(testing_color_v_[color1]) +
230 current_yuv_pointer[1] = testing_color_u_[color1];
232 current_yuv_pointer[3] = testing_color_v_[color1];
241 int color1 = ((i / block_size) + (j / block_size)) % local
247 (static_cast<uint32_t>(testing_color_u_[color1]) +
250 current_yuv_pointer[1] = testing_color_y_[color1];
252 (static_cast<uint32_t>(testing_color_v_[color1])
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiBufferComputeInstance.hpp 38 const tcu::Vec4& color1,
vktApiBufferComputeInstance.cpp 38 const tcu::Vec4& color1,
74 deMemcpy((deUint8 *) mapPtr + offset, color1.getPtr(), sizeof(tcu::Vec4));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
color1-expected-completion46b.txt 1 Code completion in color1.xml for <item ^android:state_focused="true"/>:
  /external/skia/samplecode/
SampleVertices.cpp 32 SkPMColor color1 = SkPreMultiplyARGB(0x40, 0xff, 0x00, 0xff); local
38 pixels[1] = pixels[3] = color1;

Completed in 1515 milliseconds

12 3 4 5 6