Searched defs:kHeight (Results 1 - 25 of 95) sorted by relevance

1234

/external/chromium_org/chrome/browser/infobars/
H A Dinfobar_extension_api.cc34 const char kHeight[] = "height"; local
36 if (args->HasKey(kHeight))
37 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(kHeight, &height));
/external/chromium_org/remoting/host/
H A Dfake_desktop_capturer.h22 // By default FakeDesktopCapturer generates frames of size kWidth x kHeight,
26 static const int kHeight = 600; member in class:remoting::FakeDesktopCapturer
H A Dfake_mouse_cursor_monitor.cc35 const int kHeight = 32; local
38 new webrtc::BasicDesktopFrame(webrtc::DesktopSize(kWidth, kHeight)));
40 webrtc::DesktopFrame::kBytesPerPixel * kWidth * kHeight);
H A Dfake_desktop_capturer.cc15 // FakeDesktopCapturer generates a white picture of size kWidth x kHeight
19 static const int kHeight = FakeDesktopCapturer::kHeight; member in namespace:remoting
24 COMPILE_ASSERT(kBoxWidth < kWidth && kBoxHeight < kHeight, bad_box_size);
26 (kBoxHeight % kSpeed == 0) && (kHeight % kSpeed == 0),
63 int buffer_size = kWidth * kHeight * kBytesPerPixel;
69 webrtc::DesktopSize(kWidth, kHeight), bytes_per_row_, shared_memory));
72 new webrtc::BasicDesktopFrame(webrtc::DesktopSize(kWidth, kHeight)));
83 if (box_pos_y_ + kBoxHeight >= kHeight || box_pos_y_ == 0)
86 memset(frame->data(), 0xff, kHeight * fram
[all...]
/external/chromium_org/third_party/skia/tests/
H A DARGBImageEncoderTest.cpp23 const int kHeight = 5; local
25 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel
38 bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex],
H A DGpuRectanizerTest.cpp18 static const int kHeight = 1024; variable
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
67 rand.nextRangeU(1, kHeight / 2)));
/external/skia/tests/
H A DARGBImageEncoderTest.cpp23 const int kHeight = 5; local
25 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel
38 bool success = bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight,
H A DGpuRectanizerTest.cpp18 static const int kHeight = 1024; variable
23 REPORTER_ASSERT(reporter, kHeight == rectanizer->height());
48 GrRectanizerSkyline skylineRectanizer(kWidth, kHeight);
55 GrRectanizerPow2 pow2Rectanizer(kWidth, kHeight);
67 rand.nextRangeU(1, kHeight / 2)));
H A DTextureCompressionTest.cpp24 static const int kHeight = 63; local
25 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
27 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension != 0);
48 static const int kHeight = 64; local
49 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
51 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0);
71 static const int kHeight = 8; local
72 SkImageInfo info = SkImageInfo::MakeA8(kWidth, kHeight);
82 REPORTER_ASSERT(reporter, kHeight % kLATCBlockDimension == 0);
83 const int numBlocks = (kWidth / kLATCBlockDimension) * (kHeight / kLATCBlockDimensio
[all...]
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_mac_unittest.cc17 const int kHeight = 300; member in namespace:skia
23 NULL, kWidth, kHeight, /*is_opaque=*/true));
36 rect.set(0, 0, kWidth, kHeight);
46 EXPECT_EQ(kHeight, clip_rect.height());
56 rect.set(0, 0, kWidth, kHeight);
66 EXPECT_EQ(kHeight, clip_rect.height());
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dactive_map_test.cc25 static const int kHeight = 144; member in class:__anon12971::ActiveMapTest
54 map.rows = (kHeight + 15) / 16;
62 map.rows = (kHeight + 15) / 16;
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbig_glyph_metrics.h31 kHeight = 0, enumerator in enum:sfntly::BigGlyphMetrics::Offset::__anon14926
H A Dsmall_glyph_metrics.h31 kHeight = 0, enumerator in enum:sfntly::SmallGlyphMetrics::Offset::__anon14932
/external/chromium_org/third_party/skia/gm/
H A Dblurquickreject.cpp30 return SkISize::Make(kWidth, kHeight);
78 static const int kHeight = 300; member in class:BlurQuickRejectGM
H A Dbigblurs.cpp31 return SkISize::Make(kWidth, kHeight);
109 static const int kHeight = 2 * (kLastEnum_SkBlurStyle + 1) * kCloseUpSize; member in class:skiagm::BigBlursGM
H A Dselftest.cpp22 const static int kHeight = 200; 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.cpp15 static const int kHeight = 480; variable
35 return SkISize::Make(kWidth, kHeight);
40 SkScalar size = SkIntToScalar(SkMin32(kWidth, kHeight));
41 SkPoint center = SkPoint::Make(SkScalarHalf(kWidth), SkScalarHalf(kHeight));
/external/libvpx/libvpx/test/
H A Dactive_map_test.cc25 static const int kHeight = 144; member in class:__anon24769::ActiveMapTest
54 map.rows = (kHeight + 15) / 16;
62 map.rows = (kHeight + 15) / 16;
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30,
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbig_glyph_metrics.h31 kHeight = 0, enumerator in enum:sfntly::BigGlyphMetrics::Offset::__anon30338
H A Dsmall_glyph_metrics.h31 kHeight = 0, enumerator in enum:sfntly::SmallGlyphMetrics::Offset::__anon30344
/external/skia/gm/
H A Dblurquickreject.cpp30 return SkISize::Make(kWidth, kHeight);
78 static const int kHeight = 300; member in class:BlurQuickRejectGM
/external/chromium_org/chrome/browser/ui/app_list/test/
H A Dfast_show_pickler_unittest.cc65 const int kHeight = 10; local
67 bitmap.allocN32Pixels(kWidth, kHeight);
/external/chromium_org/third_party/skia/bench/
H A DRectanizerBench.cpp31 static const int kHeight = 1024; member in class:RectanizerBench
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)));
/external/chromium_org/third_party/webrtc/test/testsupport/metrics/
H A Dvideo_metrics_unittest.cc20 static const int kHeight = 288; member in namespace:webrtc
53 kWidth, kHeight, &psnr_result_));
59 kWidth, kHeight, &ssim_result_));
65 kWidth, kHeight, &psnr_result_,
75 kWidth, kHeight, &ssim_result_));
81 kWidth, kHeight, &ssim_result_));
87 kWidth, kHeight,
95 kWidth, kHeight, &ssim_result_));
101 kWidth, kHeight, &ssim_result_));
107 kWidth, kHeight,
[all...]
/external/skia/bench/
H A DRectanizerBench.cpp31 static const int kHeight = 1024; member in class:RectanizerBench
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)));

Completed in 717 milliseconds

1234