| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 #include "SampleCode.h" | 7 #include "SampleCode.h" |
| 9 #include "SkView.h" | 8 #include "SkView.h" |
| 10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 11 | 10 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 av->setURIBase("/skia/trunk/animations/"); | 162 av->setURIBase("/skia/trunk/animations/"); |
| 164 av->decodeFile("/skia/trunk/animations/checkbox.xml"); | 163 av->decodeFile("/skia/trunk/animations/checkbox.xml"); |
| 165 #else | 164 #else |
| 166 av->setURIBase("/"); | 165 av->setURIBase("/"); |
| 167 av->decodeFile("/testanim.txt"); | 166 av->decodeFile("/testanim.txt"); |
| 168 #endif | 167 #endif |
| 169 return av; | 168 return av; |
| 170 } | 169 } |
| 171 | 170 |
| 172 static SkViewRegister reg(MyFactory); | 171 static SkViewRegister reg(MyFactory); |
| OLD | NEW |