/external/skia/bench/ |
ShadowBench.cpp | 30 kHeight = 480, 36 kNumRRects = ((kWidth - kRRSpace) / kRRStep)*((kHeight - kRRSpace) / kRRStep) 53 for (int y = kRRSpace; y < kHeight - kRRStep; y += kRRStep) {
|
/external/skia/gm/ |
animatedimageblurs.cpp | 18 static const int kHeight = 512; 33 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 89 fPos.fY = rand->nextRangeF(fSize, kHeight - fSize); 110 if (fPos.fY >= kHeight || fPos.fY < 0.0f) { 111 fPos.fY = SkTPin<SkScalar>(fPos.fY, 0.0f, kHeight);
|
lcdblendmodes.cpp | 24 constexpr int kHeight = 750; 54 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 61 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 64 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); 116 canvas->drawRect(SkRect::MakeIWH(kColWidth, kHeight), backgroundPaint);
|
rectangletexture.cpp | 133 constexpr int kHeight = 50; 136 SkPMColor pixels[kWidth * kHeight]; 137 this->fillPixels(kWidth, kHeight, pixels); 138 sk_sp<SkImage> rectImg(this->createRectangleTextureImg(context, kWidth, kHeight, pixels)); 170 canvas->drawRect(SkRect::MakeWH(1.5f * kWidth, 1.5f * kHeight), clampPaint); 177 canvas->drawRect(SkRect::MakeWH(1.5f * kWidth, 1.5f * kHeight), repeatPaint); 181 canvas->translate(0, kPad + 1.5f * kHeight * s);
|
textblobmixedsizes.cpp | 94 return SkISize::Make(kWidth, kHeight); 182 static constexpr int kHeight = 1900;
|
constcolorprocessor.cpp | 39 return SkISize::Make(kWidth, kHeight); 163 if (y + height > kHeight) { 180 static constexpr int kHeight = 500;
|
megalooper.cpp | 48 return SkISize::Make(kWidth, kHeight); 52 for (int y = 100; y < kHeight; y += 200) { 72 static constexpr int kHeight = 800;
|
mixedtextblobs.cpp | 107 return SkISize::Make(kWidth, kHeight); 159 static constexpr int kHeight = 700;
|
occludedrrectblur.cpp | 236 return SkISize::Make(kWidth, kHeight); 240 const SkPoint center = SkPoint::Make(kWidth/2, kHeight/2); 314 static constexpr int kHeight = 440;
|
readpixels.cpp | 51 static const int kHeight = 64; 58 SkImageInfo info = codec->getInfo().makeWH(kWidth, kHeight) 87 draw_contents(recorder.beginRecording(SkRect::MakeIWH(kWidth, kHeight))); 89 SkISize::Make(kWidth, kHeight), nullptr, nullptr, 172 return SkISize::Make(6 * kWidth, 9 * kHeight); 213 canvas->translate(0.0f, (float) kHeight); 296 return SkISize::Make(3 * kWidth, 12 * kHeight); 335 canvas->translate(0.0f, (float) kHeight);
|
/external/skia/tests/ |
RectangleTextureTest.cpp | 92 static const int kHeight = 13; 94 GrColor pixels[kWidth * kHeight]; 95 for (int y = 0; y < kHeight; ++y) { 104 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA, 120 GrBackendTexture rectangleTex(kWidth, kHeight, kRGBA_8888_GrPixelConfig, rectangleInfo); 122 GrColor refPixels[kWidth * kHeight]; 123 for (int y = 0; y < kHeight; ++y) { 125 int y0 = useBLOrigin ? kHeight - y - 1 : y;
|
TransferPixelsTest.cpp | 149 const int kHeight = 2; 152 fill_transfer_data(kLeft, kTop, kWidth, kHeight, kBufferWidth, srcBuffer.get()); 158 result = gpu->transferPixels(tex.get(), kLeft, kTop, kWidth, kHeight, colorType,
|
/external/skqp/bench/ |
ShadowBench.cpp | 30 kHeight = 480, 36 kNumRRects = ((kWidth - kRRSpace) / kRRStep)*((kHeight - kRRSpace) / kRRStep) 53 for (int y = kRRSpace; y < kHeight - kRRStep; y += kRRStep) {
|
/external/skqp/gm/ |
animatedimageblurs.cpp | 18 static const int kHeight = 512; 33 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 89 fPos.fY = rand->nextRangeF(fSize, kHeight - fSize); 110 if (fPos.fY >= kHeight || fPos.fY < 0.0f) { 111 fPos.fY = SkTPin<SkScalar>(fPos.fY, 0.0f, kHeight);
|
lcdblendmodes.cpp | 24 constexpr int kHeight = 750; 54 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 61 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 64 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); 116 canvas->drawRect(SkRect::MakeIWH(kColWidth, kHeight), backgroundPaint);
|
rectangletexture.cpp | 133 constexpr int kHeight = 50; 136 SkPMColor pixels[kWidth * kHeight]; 137 this->fillPixels(kWidth, kHeight, pixels); 138 sk_sp<SkImage> rectImg(this->createRectangleTextureImg(context, kWidth, kHeight, pixels)); 170 canvas->drawRect(SkRect::MakeWH(1.5f * kWidth, 1.5f * kHeight), clampPaint); 177 canvas->drawRect(SkRect::MakeWH(1.5f * kWidth, 1.5f * kHeight), repeatPaint); 181 canvas->translate(0, kPad + 1.5f * kHeight * s);
|
shadowutils.cpp | 44 static constexpr SkScalar kHeight = 50.f; 64 SkScalar w = postMBounds.width() + kHeight; 79 draw_shadow(canvas, path, kHeight, SK_ColorRED, lightPos, kLightR, 81 draw_shadow(canvas, path, kHeight, SK_ColorBLUE, lightPos, kLightR, 84 SkShadowUtils::DrawShadow(canvas, path, kHeight, lightPos, kLightR, 111 dy = SkTMax(dy, postMBounds.height() + kPad + kHeight);
|
textblobmixedsizes.cpp | 94 return SkISize::Make(kWidth, kHeight); 182 static constexpr int kHeight = 1900;
|
/external/skqp/tests/ |
RectangleTextureTest.cpp | 92 static const int kHeight = 13; 94 GrColor pixels[kWidth * kHeight]; 95 for (int y = 0; y < kHeight; ++y) { 104 GrGLuint rectTexID = glContext->createTextureRectangle(kWidth, kHeight, GR_GL_RGBA, 120 GrBackendTexture rectangleTex(kWidth, kHeight, kRGBA_8888_GrPixelConfig, rectangleInfo); 122 GrColor refPixels[kWidth * kHeight]; 123 for (int y = 0; y < kHeight; ++y) { 125 int y0 = useBLOrigin ? kHeight - y - 1 : y;
|
TransferPixelsTest.cpp | 144 const int kHeight = 2; 147 fill_transfer_data(kLeft, kTop, kWidth, kHeight, kBufferWidth, srcBuffer.get()); 153 result = gpu->transferPixels(tex.get(), kLeft, kTop, kWidth, kHeight, config,
|
/external/webrtc/talk/media/base/ |
videocapturer_unittest.cc | 203 int kHeight = 720; 206 formats.push_back(cricket::VideoFormat(kWidth, kHeight, 212 kHeight, 217 renderer_.SetSize(kWidth, kHeight, 0); 224 int kHeight = 400; 228 formats.push_back(cricket::VideoFormat(kWidth, kHeight, 238 kWidth, kHeight, cricket::VideoFormat::FpsToInterval(30), 249 renderer_.SetSize(kHeight, kWidth, 0); 260 renderer_.SetSize(kWidth, kHeight, 0); 269 int kHeight = 400 [all...] |
/external/webrtc/webrtc/tools/frame_editing/ |
frame_editing_unittest.cc | 26 const int kHeight = 288; 27 const size_t kFrameSize = CalcBufferSize(kI420, kWidth, kHeight); 94 int result = EditFrames(reference_video_, kWidth, kHeight, 125 int result = EditFrames(reference_video_, kWidth, kHeight, 138 int result = EditFrames(kRefVideo_, kWidth, kHeight, kFirstFrameToProcess, 148 int result = EditFrames(reference_video_, kWidth, kHeight, 183 int result = EditFrames(reference_video_, kWidth, kHeight,
|
/frameworks/native/services/vr/virtual_touchpad/ |
VirtualTouchpadEvdev.cpp | 28 static constexpr int32_t kHeight = 0x10000; 73 touchpad.injector->ConfigureMultiTouchXY(0, 0, kWidth - 1, kHeight - 1); 98 int32_t device_y = y * kHeight;
|
/external/libvpx/libvpx/test/ |
vp9_end_to_end_test.cc | 22 const unsigned int kHeight = 90; 163 test_video_param_.filename, test_video_param_.fmt, kWidth, kHeight,
|
y4m_test.cc | 26 static const unsigned int kHeight = 90; 95 ASSERT_EQ(y4m_.pic_h, (int)kHeight); 97 ASSERT_EQ(img()->d_h, kHeight); 163 y4m_write_file_header(buf, sizeof(buf), kWidth, kHeight, &framerate,
|