Home
last modified time | relevance | path

Searched refs:kContentSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dlazytiling.cpp85 const int kContentSize = contentRect.width(); in create_bitmap() local
89 SkImageInfo contentInfo = SkImageInfo::Make(kContentSize, kContentSize, in create_bitmap()
95 const int halfM1 = kContentSize/2 - 1; in create_bitmap()
99 contentBM.eraseArea(SkIRect::MakeXYWH(2, halfM1, kContentSize-4, 2), SK_ColorGRAY); in create_bitmap()
102 contentBM.eraseArea(SkIRect::MakeXYWH(kContentSize-4, halfM1, 2, 2), SK_ColorGREEN); in create_bitmap()
105 contentBM.eraseArea(SkIRect::MakeXYWH(0, 0, kContentSize, 1), SK_ColorBLUE); in create_bitmap()
106 contentBM.eraseArea(SkIRect::MakeXYWH(0, 0, 1, kContentSize), SK_ColorBLUE); in create_bitmap()
107 contentBM.eraseArea(SkIRect::MakeXYWH(kContentSize-1, 0, 1, kContentSize), SK_ColorBLUE); in create_bitmap()
108 contentBM.eraseArea(SkIRect::MakeXYWH(0, kContentSize-1, kContentSize, 1), SK_ColorBLUE); in create_bitmap()
176 kContentSize, kContentSize)) { in LazyTilingGM()
[all …]
/external/webrtc/common_audio/
Dwav_file_unittest.cc80 static const size_t kContentSize = in TEST() local
82 static_assert(sizeof(kExpectedContents) == kContentSize, "content size"); in TEST()
83 EXPECT_EQ(kContentSize, test::GetFileSize(outfile)); in TEST()
86 uint8_t contents[kContentSize]; in TEST()
87 ASSERT_EQ(1u, fread(contents, kContentSize, 1, f)); in TEST()
89 EXPECT_EQ(0, memcmp(kExpectedContents, contents, kContentSize)); in TEST()
222 static const size_t kContentSize = in TEST() local
224 static_assert(sizeof(kExpectedContents) == kContentSize, "content size"); in TEST()
225 EXPECT_EQ(kContentSize, test::GetFileSize(outfile)); in TEST()
228 uint8_t contents[kContentSize]; in TEST()
[all …]