/external/skia/gm/ |
stlouisarch.cpp | 21 SkISize onISize() override { return SkISize::Make((int)kWidth, (int)kHeight); } 27 bigQuad->quadTo(kWidth/2, kHeight, kWidth, 0); 34 degenBigQuad->quadTo(0, yPos, kWidth, yPos); 42 kWidth, kHeight, 43 kWidth, 0); 52 kWidth, yPos); 58 bigConic->conicTo(kWidth/2, kHeight, kWidth, 0, .5); 65 degenBigConic->conicTo(0, yPos, kWidth, yPos, .5) [all...] |
selftest.cpp | 21 const static int kWidth = 300; 29 SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
|
stringart.cpp | 14 static const int kWidth = 640; 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); 72 static const int kWidth = 200;
|
largeglyphblur.cpp | 28 return SkISize::Make(kWidth, kHeight); 60 static const int kWidth = 1920;
|
glyph_pos_align.cpp | 15 static const int kWidth = 480; 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); 77 static const int kWidth = 300;
|
textblobcolortrans.cpp | 59 return SkISize::Make(kWidth, kHeight); 91 static const int kWidth = 675;
|
bigblurs.cpp | 31 return SkISize::Make(kWidth, kHeight); 108 static const int kWidth = 5 * kCloseUpSize;
|
/external/webrtc/test/testsupport/metrics/ |
video_metrics_unittest.cc | 20 static const int kWidth = 352; 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 | 22 static const int kWidth = 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...] |
TextureCompressionTest.cpp | 46 static const int kWidth = 17; 48 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 55 REPORTER_ASSERT(reporter, kWidth % 4 != 0); 80 static const int kWidth = 12; 82 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); 88 REPORTER_ASSERT(reporter, kWidth % 12 == 0); 113 static const int kWidth = 48; // We need the number to be divisible by both 115 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 123 REPORTER_ASSERT(reporter, kWidth % 48 == 0); 143 for (int x = 0; x < kWidth; ++x) [all...] |
GpuRectanizerTest.cpp | 17 static const int kWidth = 1024; 22 REPORTER_ASSERT(reporter, kWidth == rectanizer->width()); 48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight); 55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight); 66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2),
|
ARGBImageEncoderTest.cpp | 22 const int kWidth = 3; 25 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel 38 bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex], 45 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint); 47 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint);
|
/external/libyuv/files/unit_test/ |
planar_test.cc | 33 const int kWidth = 1280; \ 35 const int kStride = (kWidth * 8 * BPP_B + 7) / 8; \ 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); \ 43 for (int j = 0; j < kWidth; ++j) \ 44 src_y[(i * kWidth) + j] = (random() & 0xff); \ 46 for (int j = 0; j < kWidth / SUBSAMP_X; ++j) { \ 47 src_u[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); \ 48 src_v[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); [all...] |
/external/libvpx/libvpx/test/ |
active_map_test.cc | 24 static const int kWidth = 208; 53 map.cols = (kWidth + 15) / 16; 61 map.cols = (kWidth + 15) / 16; 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
active_map_test.cc | 24 static const int kWidth = 208; 53 map.cols = (kWidth + 15) / 16; 61 map.cols = (kWidth + 15) / 16; 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_memmgr_unittest.cpp | 15 const size_t kWidth = 640; 16 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10; 43 (void) FX_Alloc2D(int, kWidth, kOverflowIntAlloc2D), "");
|
/external/skia/bench/ |
BitmapRectBench.cpp | 49 static const int kWidth = 128; 58 fBitmap.setInfo(SkImageInfo::MakeN32Premul(kWidth, kHeight)); 76 fSrcR.iset(0, 0, kWidth, kHeight); 77 fDstR.iset(0, 0, kWidth, kHeight); 85 fDstR.fRight += SK_Scalar1 / (kWidth * 60);
|
RectanizerBench.cpp | 30 static const int kWidth = 1024; 79 fRectanizer.reset(SkNEW_ARGS(GrRectanizerPow2, (kWidth, kHeight))); 82 fRectanizer.reset(SkNEW_ARGS(GrRectanizerSkyline, (kWidth, kHeight))); 93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2), 96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)),
|
TileBench.cpp | 37 static const int kWidth = 1; 51 bm.allocN32Pixels(kWidth, kHeight, true);
|
/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), 134 static const int kWidth = 1024;
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
small_glyph_metrics.cc | 35 return data_->ReadByte(Offset::kWidth); 73 return InternalReadData()->ReadByte(Offset::kWidth); 77 InternalWriteData()->WriteByte(Offset::kWidth, width);
|
big_glyph_metrics.cc | 35 return data_->ReadByte(Offset::kWidth); 85 return InternalReadData()->ReadByte(Offset::kWidth); 89 InternalWriteData()->WriteByte(Offset::kWidth, width);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
QRDecompositionImpl.java | 383 final int kWidth = kEnd - kStart; 393 Arrays.fill(alpha, 0, kWidth, 0.0); 397 for (int k = 0; k < kWidth; ++k) { 401 for (int k = 0; k < kWidth; ++k) { 408 for (int k = 0; k < kWidth; ++k) { 422 int index = (j - jStart) * kWidth; 423 for (int k = 0; k < kWidth; ++k) { 432 for (int k = 0; k < kWidth; ++k) {
|