/external/skia/gm/ |
H A D | 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, yPo 84 const SkScalar kWidth = 256; member in class:skiagm::StLouisArchGM [all...] |
H A D | selftest.cpp | 21 const static int kWidth = 300; member in class:SelfTestGM 29 SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 35 canvas->drawRectCoords(0, 0, SkIntToScalar(kWidth), SkIntToScalar(kHeight), paint);
|
H A D | stringart.cpp | 14 static const int kWidth = 640; variable 32 return SkISize::Make(kWidth, kHeight); 37 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight)); 38 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
|
H A D | 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; member in class:skiagm::TextBlobGeometryChange
|
H A D | largeglyphblur.cpp | 28 return SkISize::Make(kWidth, kHeight); 60 static const int kWidth = 1920; member in class:skiagm::LargeGlyphBlur
|
H A D | glyph_pos_align.cpp | 15 static const int kWidth = 480; variable 29 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 38 const SkPoint pts[] = {{0, 0}, {kWidth, kHeight}};
|
H A D | blurquickreject.cpp | 30 return SkISize::Make(kWidth, kHeight); 77 static const int kWidth = 300; member in class:BlurQuickRejectGM
|
H A D | textblobcolortrans.cpp | 59 return SkISize::Make(kWidth, kHeight); 91 static const int kWidth = 675; member in class:skiagm::TextBlobColorTrans
|
H A D | bigblurs.cpp | 31 return SkISize::Make(kWidth, kHeight); 108 static const int kWidth = 5 * kCloseUpSize; member in class:skiagm::BigBlursGM
|
/external/webrtc/src/modules/audio_processing/test/testsupport/metrics/ |
H A D | video_metrics_unittest.cc | 20 static const int kWidth = 352; member in namespace:webrtc 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, kHeigh [all...] |
/external/webrtc/test/testsupport/metrics/ |
H A D | video_metrics_unittest.cc | 20 static const int kWidth = 352; member in namespace:webrtc 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, kHeigh [all...] |
/external/skia/tests/ |
H A D | RecordReplaceDrawTest.cpp | 22 static const int kWidth = 100; variable 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, kHeigh [all...] |
H A D | TextureCompressionTest.cpp | 46 static const int kWidth = 17; local 48 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 55 REPORTER_ASSERT(reporter, kWidth % 4 != 0); 80 static const int kWidth = 12; local 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 local 115 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight); 123 REPORTER_ASSERT(reporter, kWidth % 48 == 0); 143 for (int x = 0; x < kWidth; 208 static const int kWidth = 8; local [all...] |
H A D | GpuRectanizerTest.cpp | 17 static const int kWidth = 1024; variable 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),
|
H A D | ARGBImageEncoderTest.cpp | 22 const int kWidth = 3; local 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/ |
H A D | 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_ [all...] |
/external/libvpx/libvpx/test/ |
H A D | active_map_test.cc | 24 static const int kWidth = 208; member in class:__anon9374::ActiveMapTest 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/ |
H A D | fx_basic_memmgr_unittest.cpp | 15 const size_t kWidth = 640; member in namespace:__anon13341 16 const size_t kOverflowIntAlloc2D = kMaxIntAlloc / kWidth + 10; 43 (void) FX_Alloc2D(int, kWidth, kOverflowIntAlloc2D), "");
|
/external/skia/bench/ |
H A D | BitmapRectBench.cpp | 49 static const int kWidth = 128; member in class:BitmapRectBench 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);
|
H A D | RectanizerBench.cpp | 30 static const int kWidth = 1024; member in class:RectanizerBench 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)),
|
H A D | TileBench.cpp | 37 static const int kWidth = 1; member in class:ConstXTileBench 51 bm.allocN32Pixels(kWidth, kHeight, true);
|
/external/skia/samplecode/ |
H A D | 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; member in class:RectanizerView
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | small_glyph_metrics.cc | 35 return data_->ReadByte(Offset::kWidth); 73 return InternalReadData()->ReadByte(Offset::kWidth); 77 InternalWriteData()->WriteByte(Offset::kWidth, width);
|
H A D | 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/ |
H A D | 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) {
|