Searched refs:kWidth (Results 1 - 25 of 44) sorted by relevance

12

/external/skia/gm/
H A Dstlouisarch.cpp21 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 Dselftest.cpp21 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 Dstringart.cpp14 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 Dtextblobgeometrychange.cpp27 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 Dlargeglyphblur.cpp28 return SkISize::Make(kWidth, kHeight);
60 static const int kWidth = 1920; member in class:skiagm::LargeGlyphBlur
H A Dglyph_pos_align.cpp15 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 Dblurquickreject.cpp30 return SkISize::Make(kWidth, kHeight);
77 static const int kWidth = 300; member in class:BlurQuickRejectGM
H A Dtextblobcolortrans.cpp59 return SkISize::Make(kWidth, kHeight);
91 static const int kWidth = 675; member in class:skiagm::TextBlobColorTrans
H A Dbigblurs.cpp31 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 Dvideo_metrics_unittest.cc20 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 Dvideo_metrics_unittest.cc20 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 DRecordReplaceDrawTest.cpp22 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 DTextureCompressionTest.cpp46 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 DGpuRectanizerTest.cpp17 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 DARGBImageEncoderTest.cpp22 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 Dplanar_test.cc33 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 Dactive_map_test.cc24 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 Dfx_basic_memmgr_unittest.cpp15 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 DBitmapRectBench.cpp49 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 DRectanizerBench.cpp30 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 DTileBench.cpp37 static const int kWidth = 1; member in class:ConstXTileBench
51 bm.allocN32Pixels(kWidth, kHeight, true);
/external/skia/samplecode/
H A DSampleRectanizer.cpp48 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 Dsmall_glyph_metrics.cc35 return data_->ReadByte(Offset::kWidth);
73 return InternalReadData()->ReadByte(Offset::kWidth);
77 InternalWriteData()->WriteByte(Offset::kWidth, width);
H A Dbig_glyph_metrics.cc35 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 DQRDecompositionImpl.java383 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) {

Completed in 928 milliseconds

12