OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SampleCode.h" | 8 #include "SampleCode.h" |
9 #include "SkView.h" | 9 #include "SkView.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
11 #include "SkBlurMaskFilter.h" | 11 #include "SkBlurMaskFilter.h" |
12 #include "SkCamera.h" | 12 #include "SkCamera.h" |
13 #include "SkColorFilter.h" | 13 #include "SkColorFilter.h" |
14 #include "SkColorPriv.h" | 14 #include "SkColorPriv.h" |
15 #include "SkDevice.h" | 15 #include "SkDevice.h" |
16 #include "SkGradientShader.h" | 16 #include "SkGradientShader.h" |
17 #include "SkImageDecoder.h" | 17 #include "SkImage.h" |
18 #include "SkInterpolator.h" | 18 #include "SkInterpolator.h" |
19 #include "SkMaskFilter.h" | 19 #include "SkMaskFilter.h" |
20 #include "SkPath.h" | 20 #include "SkPath.h" |
21 #include "SkRegion.h" | 21 #include "SkRegion.h" |
22 #include "SkShader.h" | 22 #include "SkShader.h" |
23 #include "SkTime.h" | 23 #include "SkTime.h" |
24 #include "SkTypeface.h" | 24 #include "SkTypeface.h" |
25 #include "SkUtils.h" | 25 #include "SkUtils.h" |
26 #include "SkKey.h" | 26 #include "SkKey.h" |
27 #include "SkXfermode.h" | 27 #include "SkXfermode.h" |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 this->inval(nullptr); | 300 this->inval(nullptr); |
301 fCenter = click->fCurr; | 301 fCenter = click->fCurr; |
302 return this->INHERITED::onClick(click); | 302 return this->INHERITED::onClick(click); |
303 } | 303 } |
304 | 304 |
305 private: | 305 private: |
306 typedef SampleView INHERITED; | 306 typedef SampleView INHERITED; |
307 }; | 307 }; |
308 DEF_SAMPLE( return new BackdropView; ) | 308 DEF_SAMPLE( return new BackdropView; ) |
309 | 309 |
OLD | NEW |