/external/skia/gm/ |
blurredclippedcircle.cpp | 31 return SkISize::Make(kWidth, kHeight); 46 SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 83 static const int kWidth = 1164;
|
glyph_pos_align.cpp | 15 static const int kWidth = 480; 22 DEF_SIMPLE_GM_BG(glyph_pos_align, canvas, kWidth, kHeight, SK_ColorBLACK) { 27 const SkPoint pts[] = {{0, 0}, {kWidth, kHeight}};
|
bigtileimagefilter.cpp | 43 return SkISize::Make(kWidth, kHeight); 57 SkRect bound = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 61 SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), 94 static const int kWidth = 512;
|
rectangletexture.cpp | 129 static const int kWidth = 50; 133 SkPMColor pixels[kWidth * kHeight]; 134 this->fillPixels(kWidth, kHeight, pixels); 135 SkAutoTUnref<SkImage> rectImg(this->createRectangleTextureImg(context, kWidth, kHeight, 163 canvas->translate(kWidth + kPad, 0); 169 canvas->drawRect(SkRect::MakeWH(1.5f * kWidth, 1.5f * kHeight), clampPaint); 170 canvas->translate(kWidth * 1.5f + kPad, 0); 176 canvas->drawRect(SkRect::MakeWH(1.5f * kWidth, 1.5f * kHeight), repeatPaint); 177 canvas->translate(1.5f * kWidth + kPad, 0);
|
textblobblockreordering.cpp | 46 return SkISize::Make(kWidth, kHeight); 82 static const int kWidth = 275;
|
lcdoverlap.cpp | 20 static const int kWidth = 750; 50 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 80 SkScalar offsetX = kWidth / 4.0f;
|
lcdblendmodes.cpp | 22 static const int kWidth = kColWidth * kNumCols; 56 SkISize onISize() override { return SkISize::Make(kWidth, kHeight); } 63 SkRect r = SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 66 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
|
blurquickreject.cpp | 30 return SkISize::Make(kWidth, kHeight); 77 static const int kWidth = 300;
|
textblobcolortrans.cpp | 59 return SkISize::Make(kWidth, kHeight); 92 static const int kWidth = 675;
|
textblobmixedsizes.cpp | 89 return SkISize::Make(kWidth, kHeight); 152 if ((bounds.width() + 2 * kPadX) * rowCount > kWidth) { 177 static const int kWidth = 2000;
|
textblobrandomfont.cpp | 91 return SkISize::Make(kWidth, kHeight); 103 SkImageInfo info = SkImageInfo::MakeN32Premul(kWidth, kHeight); 143 static const int kWidth = 2000;
|
bigblurs.cpp | 31 return SkISize::Make(kWidth, kHeight); 108 static const int kWidth = 5 * kCloseUpSize;
|
/external/skia/samplecode/ |
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;
|
/external/webrtc/webrtc/tools/frame_editing/ |
frame_editing_unittest.cc | 25 const int kWidth = 352; 27 const size_t kFrameSize = CalcBufferSize(kI420, kWidth, kHeight); 94 int result = EditFrames(reference_video_, kWidth, kHeight, 125 int result = EditFrames(reference_video_, kWidth, kHeight, 138 int result = EditFrames(kRefVideo_, kWidth, kHeight, kFirstFrameToProcess, 148 int result = EditFrames(reference_video_, kWidth, kHeight, 183 int result = EditFrames(reference_video_, kWidth, kHeight,
|
/external/webrtc/webrtc/video/ |
video_encoder_unittest.cc | 18 const int kWidth = 320; 108 frame_.CreateEmptyFrame(kWidth, kHeight, kWidth, (kWidth + 1) / 2, 109 (kWidth + 1) / 2); 129 codec_.width = kWidth; 147 codec_.width = kWidth;
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
small_glyph_metrics.cc | 35 return data_->ReadByte(Offset::kWidth); 73 return InternalReadData()->ReadByte(Offset::kWidth); 77 InternalWriteData()->WriteByte(Offset::kWidth, width);
|
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/ |
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) {
|
/external/skia/experimental/GLFWTest/ |
glfw_main.cpp | 54 const int kWidth = 960; 70 window = glfwCreateWindow(kWidth, kHeight, "Simple example", NULL, NULL); 77 init_skia(kWidth, kHeight); 102 float xPos = (x / (kGrid - 1.0)) * kWidth; 103 float yPos = (y / (kGrid - 1.0)) * kWidth; 113 kWidth*0.5f, kHeight*0.5f, anchorX, anchorY);
|
/external/skia/tests/ |
TextBlobCacheTest.cpp | 51 static const int kWidth = 1024; 68 SkImageInfo info = SkImageInfo::Make(kWidth, kHeight, kN32_SkColorType, kPremul_SkAlphaType); 134 info = SkImageInfo::MakeN32Premul(kWidth, kHeight);
|
RRectInPathTest.cpp | 130 static const SkScalar kWidth = 100.0f; 218 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 233 SkPoint halfPoint = { SkScalarHalf(kWidth), SkScalarHalf(kHeight) }; 286 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 311 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 313 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); 321 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight); 337 SkRect rect = SkRect::MakeLTRB(0, 0, kWidth, kHeight);
|
/frameworks/base/tools/aapt2/ |
Flags.cpp | 84 constexpr size_t kWidth = 50; 105 *out << " " << std::setw(kWidth) << std::left << argLine << line << "\n"; 109 *out << " " << std::setw(kWidth) << std::left << "-h" << "Displays this help menu\n";
|
/external/skia/bench/ |
TileBench.cpp | 37 static const int kWidth = 1; 51 bm.allocN32Pixels(kWidth, kHeight, true);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintFlagsDrawFilterTest.java | 114 int kWidth = 5; 118 Bitmap grid = Bitmap.createBitmap(kWidth, kHeight, Config.ARGB_8888); 119 for (int i = 0; i < kWidth; ++i) { 130 Bitmap dst = Bitmap.createBitmap(kWidth * kScale, kHeight * kScale, Config.ARGB_8888);
|
/external/libvpx/libvpx/test/ |
y4m_test.cc | 25 static const unsigned int kWidth = 160; 95 ASSERT_EQ(y4m_.pic_w, (int)kWidth); 97 ASSERT_EQ(img()->d_w, kWidth); 166 kWidth, kHeight,
|