/external/skia/gm/ |
stlouisarch.cpp | 21 SkISize onISize() override { return SkISize::Make((int)kWidth, (int)kHeight); } 27 bigQuad->quadTo(kWidth/2, kHeight, kWidth, 0); 32 SkScalar yPos = kHeight / 2 + 10; 41 bigCubic->cubicTo(0, kHeight, 42 kWidth, kHeight, 48 SkScalar yPos = kHeight / 2; 58 bigConic->conicTo(kWidth/2, kHeight, kWidth, 0, .5); 63 SkScalar yPos = kHeight / 2 - 10; 72 canvas->translate(0, -kHeight); 85 const SkScalar kHeight = 256 [all...] |
selftest.cpp | 22 const static int kHeight = 200; 29 SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
|
stringart.cpp | 15 static const int kHeight = 480; 32 return SkISize::Make(kWidth, kHeight); 37 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight)); 38 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
|
textblobgeometrychange.cpp | 27 return SkISize::Make(kWidth, kHeight); 52 SkRect rect = SkRect::MakeLTRB(0.f, 0.f, SkIntToScalar(kWidth), kHeight / 2.f); 73 static const int kHeight = 200;
|
textblobcolortrans.cpp | 59 return SkISize::Make(kWidth, kHeight); 78 for (int y = 0; y + SkScalarFloorToInt(bounds.height()) < kHeight; 92 static const int kHeight = 1600;
|
largeglyphblur.cpp | 28 return SkISize::Make(kWidth, kHeight); 61 static const int kHeight = 600;
|
glyph_pos_align.cpp | 16 static const int kHeight = 600; 29 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 38 const SkPoint pts[] = {{0, 0}, {kWidth, kHeight}};
|
blurquickreject.cpp | 30 return SkISize::Make(kWidth, kHeight); 78 static const int kHeight = 300;
|
bigblurs.cpp | 31 return SkISize::Make(kWidth, kHeight); 109 static const int kHeight = 2 * (kLastEnum_SkBlurStyle + 1) * kCloseUpSize;
|
/external/webrtc/test/testsupport/metrics/ |
video_metrics_unittest.cc | 21 static const int kHeight = 288; 51 kWidth, kHeight, &psnr_result_)); 57 kWidth, kHeight, &ssim_result_)); 63 kWidth, kHeight, &psnr_result_, 73 kWidth, kHeight, &ssim_result_)); 79 kWidth, kHeight, &ssim_result_)); 85 kWidth, kHeight, 93 kWidth, kHeight, &ssim_result_)); 99 kWidth, kHeight, &ssim_result_)); 105 kWidth, kHeight, [all...] |
/external/skia/tests/ |
RecordReplaceDrawTest.cpp | 23 static const int kHeight = 100; 41 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 43 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint()); 44 canvas->clipRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight))); 50 SkRecorder canvas(&rerecord, kWidth, kHeight); 75 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 84 SkRecorder canvas(&rerecord, kWidth, kHeight); 99 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight), 106 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth / 2), SkIntToScalar(kHeight / 2)), 116 SkIRect::MakeWH(kWidth, kHeight), [all...] |
GpuRectanizerTest.cpp | 18 static const int kHeight = 1024; 23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height()); 48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight); 55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight); 67 rand.nextRangeU(1, kHeight / 2)));
|
TextureCompressionTest.cpp | 47 static const int kHeight = 17; 48 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 56 REPORTER_ASSERT(reporter, kHeight % 4 != 0); 81 static const int kHeight = 12; 82 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); 89 REPORTER_ASSERT(reporter, kHeight % 12 == 0); 114 static const int kHeight = 48; // 12 (ASTC) and 16 (ARM NEON R11 EAC). 115 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 124 REPORTER_ASSERT(reporter, kHeight % 48 == 0); 142 for (int y = 0; y < kHeight; ++y) [all...] |
ARGBImageEncoderTest.cpp | 23 const int kHeight = 5; 25 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel 38 bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex],
|
/external/libvpx/libvpx/test/ |
active_map_test.cc | 25 static const int kHeight = 144; 54 map.rows = (kHeight + 15) / 16; 62 map.rows = (kHeight + 15) / 16; 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
|
y4m_test.cc | 24 static const unsigned int kHeight = 90; 94 ASSERT_EQ(y4m_.pic_h, (int)kHeight); 96 ASSERT_EQ(img()->d_h, kHeight); 164 kWidth, kHeight,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
active_map_test.cc | 25 static const int kHeight = 144; 54 map.rows = (kHeight + 15) / 16; 62 map.rows = (kHeight + 15) / 16; 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
|
/external/skia/samplecode/ |
SampleRectanizer.cpp | 48 fRectanizers[0] = new GrRectanizerPow2(kWidth, kHeight); 49 fRectanizers[1] = new GrRectanizerSkyline(kWidth, kHeight); 96 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 119 100.0f * totArea / ((float)kWidth*kHeight), 122 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 50, blackBigFont); 125 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 100, blackBigFont); 128 canvas->drawText(str.c_str(), str.size(), 50, kHeight + 150, blackBigFont); 135 static const int kHeight = 1024;
|
/external/skia/bench/ |
RectanizerBench.cpp | 31 static const int kHeight = 1024; 79 fRectanizer.reset(SkNEW_ARGS(GrRectanizerPow2, (kWidth, kHeight))); 82 fRectanizer.reset(SkNEW_ARGS(GrRectanizerSkyline, (kWidth, kHeight))); 94 rand.nextRangeU(1, kHeight / 2)); 97 GrNextPow2(rand.nextRangeU(1, kHeight / 2)));
|
BitmapRectBench.cpp | 50 static const int kHeight = 128; 58 fBitmap.setInfo(SkImageInfo::MakeN32Premul(kWidth, kHeight)); 76 fSrcR.iset(0, 0, kWidth, kHeight); 77 fDstR.iset(0, 0, kWidth, kHeight);
|
TileBench.cpp | 38 static const int kHeight = 300; 51 bm.allocN32Pixels(kWidth, kHeight, true);
|
/external/libyuv/files/unit_test/ |
planar_test.cc | 34 const int kHeight = 720; \ 36 align_buffer_16(src_y, kWidth * kHeight); \ 37 align_buffer_16(src_u, kWidth / SUBSAMP_X * kHeight / SUBSAMP_Y); \ 38 align_buffer_16(src_v, kWidth / SUBSAMP_X * kHeight / SUBSAMP_Y); \ 39 align_buffer_16(dst_argb_c, kStride * kHeight); \ 40 align_buffer_16(dst_argb_opt, kStride * kHeight); \ 42 for (int i = 0; i < kHeight; ++i) \ 45 for (int i = 0; i < kHeight / SUBSAMP_Y; ++i) \ 55 kWidth, NEG kHeight); \ 62 kWidth, NEG kHeight); \ [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
small_glyph_metrics.cc | 31 return data_->ReadByte(Offset::kHeight); 65 return InternalReadData()->ReadByte(Offset::kHeight); 69 InternalWriteData()->WriteByte(Offset::kHeight, height);
|
big_glyph_metrics.cc | 31 return data_->ReadByte(Offset::kHeight); 77 return InternalReadData()->ReadByte(Offset::kHeight); 81 InternalWriteData()->WriteByte(Offset::kHeight, height);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintFlagsDrawFilterTest.java | 115 int kHeight = 5; 118 Bitmap grid = Bitmap.createBitmap(kWidth, kHeight, Config.ARGB_8888); 120 for (int j = 0; j < kHeight; ++j) { 130 Bitmap dst = Bitmap.createBitmap(kWidth * kScale, kHeight * kScale, Config.ARGB_8888);
|