| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkWidgetViews_DEFINED | 10 #ifndef SkWidgetViews_DEFINED |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 int16_t fScrollIndex, fCurrIndex; | 282 int16_t fScrollIndex, fCurrIndex; |
| 283 uint16_t fVisibleRowCount, fBindingCount; | 283 uint16_t fVisibleRowCount, fBindingCount; |
| 284 SkBool8 fAnimContentDirty; | 284 SkBool8 fAnimContentDirty; |
| 285 SkBool8 fAnimFocusDirty; | 285 SkBool8 fAnimFocusDirty; |
| 286 | 286 |
| 287 typedef SkWidgetView INHERITED; | 287 typedef SkWidgetView INHERITED; |
| 288 }; | 288 }; |
| 289 | 289 |
| 290 class SkListSource : public SkRefCnt { | 290 class SkListSource : public SkRefCnt { |
| 291 public: | 291 public: |
| 292 SK_DECLARE_INST_COUNT(SkListSource) | 292 |
| 293 | 293 |
| 294 virtual int countFields(); | 294 virtual int countFields(); |
| 295 virtual void getFieldName(int index, SkString* field); | 295 virtual void getFieldName(int index, SkString* field); |
| 296 /** Return the index of the named field, or -1 if not found */ | 296 /** Return the index of the named field, or -1 if not found */ |
| 297 virtual int findFieldIndex(const char field[]); | 297 virtual int findFieldIndex(const char field[]); |
| 298 | 298 |
| 299 virtual int countRecords(); | 299 virtual int countRecords(); |
| 300 virtual void getRecord(int rowIndex, int fieldIndex, SkString* data); | 300 virtual void getRecord(int rowIndex, int fieldIndex, SkString* data); |
| 301 | 301 |
| 302 virtual bool prepareWidgetEvent(SkEvent*, int rowIndex); | 302 virtual bool prepareWidgetEvent(SkEvent*, int rowIndex); |
| 303 | 303 |
| 304 static SkListSource* Factory(const char name[]); | 304 static SkListSource* Factory(const char name[]); |
| 305 private: | 305 private: |
| 306 typedef SkRefCnt INHERITED; | 306 typedef SkRefCnt INHERITED; |
| 307 }; | 307 }; |
| 308 | 308 |
| 309 #endif | 309 #endif |
| OLD | NEW |