Home
last modified time | relevance | path

Searched refs:kMid (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dlattice.cpp21 const int kMid = 8; in make_image() local
22 const int kSize = 2*kCap + 3*kMid; in make_image()
34 xDivs[1] = kCap + kMid + padLeft; in make_image()
35 yDivs[1] = kCap + kMid + padTop; in make_image()
36 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
37 yDivs[2] = kCap + 2 * kMid + padTop; in make_image()
38 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
39 yDivs[3] = kCap + 3 * kMid + padTop; in make_image()
47 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
50 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
[all …]
/external/skqp/gm/
Dlattice.cpp21 const int kMid = 8; in make_image() local
22 const int kSize = 2*kCap + 3*kMid; in make_image()
34 xDivs[1] = kCap + kMid + padLeft; in make_image()
35 yDivs[1] = kCap + kMid + padTop; in make_image()
36 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
37 yDivs[2] = kCap + 2 * kMid + padTop; in make_image()
38 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
39 yDivs[3] = kCap + 3 * kMid + padTop; in make_image()
47 r.setXYWH(SkIntToScalar(kCap), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
50 r.setXYWH(SkIntToScalar(kCap + kMid), 0, SkIntToScalar(kMid), SkIntToScalar(kSize)); in make_image()
[all …]
/external/skia/samplecode/
DSampleClipDrawMatch.cpp38 static const float kMid = 200.0f; variable
76 concavePath.lineTo(kMid, 105.0f); in create_concave_path()
78 concavePath.lineTo(295.0f, kMid); in create_concave_path()
80 concavePath.lineTo(kMid, 295.0f); in create_concave_path()
82 concavePath.lineTo(105.0f, kMid); in create_concave_path()
/external/skqp/samplecode/
DSampleClipDrawMatch.cpp38 static const float kMid = 200.0f; variable
76 concavePath.lineTo(kMid, 105.0f); in create_concave_path()
78 concavePath.lineTo(295.0f, kMid); in create_concave_path()
80 concavePath.lineTo(kMid, 295.0f); in create_concave_path()
82 concavePath.lineTo(105.0f, kMid); in create_concave_path()