/external/chromium_org/remoting/base/ |
H A D | util_unittest.cc | 12 static const int kWidth = 32 ; variable 15 static const int kYStride = kWidth; 16 static const int kUvStride = kWidth / 2; 17 static const int kRgbStride = kWidth * kBytesPerPixel; 31 rgb_buffer_size_ = kWidth * kHeight * kBytesPerPixel; 65 EXPECT_EQ((ptrdiff_t)kWidth, 66 std::count(ptr, ptr + kWidth, 0u)); 77 EXPECT_EQ((ptrdiff_t)kWidth - rect.right(), 78 std::count(ptr + rect.right(), ptr + kWidth, 0u)); 103 kWidth, [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | opaque_browser_frame_view_layout_unittest.cc | 28 const int kWidth = 500; member in namespace:__anon5288 163 root_view_->SetSize(gfx::Size(kWidth, kWidth)); 284 delegate_->GetTabstripPreferredSize(), kWidth).ToString()); 285 EXPECT_EQ("261x73", layout_manager_->GetMinimumSize(kWidth).ToString()); 308 delegate_->GetTabstripPreferredSize(), kWidth).ToString()); 309 EXPECT_EQ("262x61", layout_manager_->GetMinimumSize(kWidth).ToString()); 334 delegate_->GetTabstripPreferredSize(), kWidth).ToString()); 335 EXPECT_EQ("262x61", layout_manager_->GetMinimumSize(kWidth).ToString()); 359 delegate_->GetTabstripPreferredSize(), kWidth) [all...] |
/external/chromium_org/chrome/browser/accessibility/ |
H A D | accessibility_extension_api_constants.cc | 49 const char kWidth[] = "width"; member in namespace:extension_accessibility_api_constants
|
H A D | accessibility_extension_api_constants.h | 53 extern const char kWidth[];
|
/external/chromium_org/third_party/skia/tests/ |
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);
|
H A D | RecordDrawTest.cpp | 179 static const int kWidth = 10, kHeight = 10; local 181 SkRect r1 = { 0, 0, kWidth, kHeight }; 182 SkRect r2 = { 0, 0, kWidth, kHeight/2 }; 183 SkRect r3 = { 0, 0, kWidth/2, kHeight }; 187 SkRecorder recorder(&record, kWidth, kHeight); 193 SkRecorder canvas(&rerecord, kWidth, kHeight); 207 static const int kWidth = 10, kHeight = 10; local 209 SkRect rect = { 0, 0, kWidth, kHeight }; 212 SkRecorder recorder(&record, kWidth, kHeight); 216 SkRecorder canvas(&rerecord, kWidth, kHeigh [all...] |
/external/skia/tests/ |
H A D | ARGBImageEncoderTest.cpp | 22 const int kWidth = 3; local 25 // kHeight rows, each with kWidth pixels, premultiplied ARGB for each pixel 38 bool success = bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, 46 canvas.drawIRect(SkIRect::MakeLTRB(0, 0, kWidth, 1), paint); 48 canvas.drawIRect(SkIRect::MakeLTRB(0, 1, kWidth, 2), paint);
|
/external/chromium_org/third_party/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)),
|
/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)),
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | renderbuffer_manager_unittest.cc | 139 const GLsizei kWidth = 128; local 141 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight); 144 EXPECT_EQ(kWidth, renderbuffer1->width()); 149 EXPECT_EQ(kWidth * kHeight * 4u * 4u, renderbuffer1->EstimatedSize()); 155 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight); 177 const GLsizei kWidth = 128; local 183 kWidth, kHeight1, kSamples, kFormat, &expected_size_1); 185 kWidth, kHeight2, kSamples, kFormat, &expected_size_2); 188 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight1); 193 manager_->SetInfo(renderbuffer1, kSamples, kFormat, kWidth, kHeight 213 const GLsizei kWidth = 128; local 246 const GLsizei kWidth = 128; local [all...] |
/external/chromium_org/ui/views/controls/ |
H A D | scroll_view_unittest.cc | 15 const int kWidth = 100; member in namespace:views::__anon17058 253 new views::StaticSizedView(gfx::Size(kWidth, kNormalContentHeight))); 255 EXPECT_EQ(gfx::Size(kWidth, kNormalContentHeight), 261 EXPECT_EQ(gfx::Size(kWidth, kNormalContentHeight), 263 EXPECT_EQ(gfx::Size(kWidth, kNormalContentHeight), scroll_view.size()); 275 new views::StaticSizedView(gfx::Size(kWidth, kShortContentHeight))); 277 EXPECT_EQ(gfx::Size(kWidth, kMinHeight), scroll_view.GetPreferredSize()); 282 EXPECT_EQ(gfx::Size(kWidth, kShortContentHeight), 284 EXPECT_EQ(gfx::Size(kWidth, kMinHeight), scroll_view.size()); 300 new views::StaticSizedView(gfx::Size(kWidth, kTallContentHeigh [all...] |
/external/chromium_org/remoting/host/ |
H A D | fake_desktop_capturer.h | 22 // By default FakeDesktopCapturer generates frames of size kWidth x kHeight, 25 static const int kWidth = 800; member in class:remoting::FakeDesktopCapturer
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | OverView.cpp | 16 static const SkScalar kWidth = SkIntToScalar(640); variable 53 int ix = (int)(SkScalarDiv(x * N, kWidth)); 101 view->setSize(kWidth, kHeight); 102 locX += kWidth;
|
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/skia/samplecode/ |
H A D | OverView.cpp | 16 static const SkScalar kWidth = SkIntToScalar(640); variable 53 int ix = (int)(SkScalarDiv(x * N, kWidth)); 101 view->setSize(kWidth, kHeight); 102 locX += kWidth;
|
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/chromium_org/third_party/webrtc/tools/frame_editing/ |
H A D | frame_editing_unittest.cc | 25 const int kWidth = 352; member in namespace:webrtc::test 27 const int kFrameSize = CalcBufferSize(kI420, kWidth, kHeight); 91 int result = EditFrames(reference_video_, kWidth, kHeight, 122 int result = EditFrames(reference_video_, kWidth, kHeight, 135 int result = EditFrames(kRefVideo_, kWidth, kHeight, kFirstFrameToProcess, 145 int result = EditFrames(reference_video_, kWidth, kHeight, 180 int result = EditFrames(reference_video_, kWidth, kHeight,
|
/external/chromium_org/third_party/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);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | glyph_pos_align.cpp | 15 static const int kWidth = 480; variable 32 virtual SkISize onISize() { return SkISize::Make(kWidth, kHeight); } 41 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
|
/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);
|
/external/chromium_org/media/base/ |
H A D | yuv_convert_perftest.cc | 28 static const int kWidth = 639; member in namespace:media 79 kWidth, 108 kWidth, 135 kWidth,
|
H A D | video_frame_unittest.cc | 93 const int kWidth = 61; local 97 gfx::Size size(kWidth, kHeight); 123 const int kWidth = 64; local 128 gfx::Size size(kWidth, kHeight); 163 const int kWidth = 2; local 169 VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight)); 178 EXPECT_EQ(kWidth, frame->coded_size().width()); 205 const int kWidth = 4; local 211 VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight)); 319 const int kWidth local [all...] |