diff options
author | Dave Burke <daveburke@google.com> | 2012-10-24 17:30:31 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-10-25 11:40:51 -0700 |
commit | 04075569b565c949a6db8b4e8a9f10d281de4d9c (patch) | |
tree | 8ee8656547622a2e55b871b6ff49d596d388fc8a /include | |
parent | d17e3b5f6cf71eb52bc81f37719254ce08244b34 (diff) | |
download | frameworks_native-04075569b565c949a6db8b4e8a9f10d281de4d9c.zip frameworks_native-04075569b565c949a6db8b4e8a9f10d281de4d9c.tar.gz frameworks_native-04075569b565c949a6db8b4e8a9f10d281de4d9c.tar.bz2 |
Revert "Revert "put back the unused virtuals in Vector<>""
This reverts commit 225c66a48cdc3acef21ee380dc134449749d3cb3
Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/VectorImpl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/utils/VectorImpl.h b/include/utils/VectorImpl.h index b1224c6..c4ec2ff 100644 --- a/include/utils/VectorImpl.h +++ b/include/utils/VectorImpl.h @@ -104,6 +104,16 @@ protected: virtual void do_splat(void* dest, const void* item, size_t num) const = 0; virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0; virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0; + + // take care of FBC... + virtual void reservedVectorImpl1(); + virtual void reservedVectorImpl2(); + virtual void reservedVectorImpl3(); + virtual void reservedVectorImpl4(); + virtual void reservedVectorImpl5(); + virtual void reservedVectorImpl6(); + virtual void reservedVectorImpl7(); + virtual void reservedVectorImpl8(); private: void* _grow(size_t where, size_t amount); @@ -155,6 +165,16 @@ public: protected: virtual int do_compare(const void* lhs, const void* rhs) const = 0; + // take care of FBC... + virtual void reservedSortedVectorImpl1(); + virtual void reservedSortedVectorImpl2(); + virtual void reservedSortedVectorImpl3(); + virtual void reservedSortedVectorImpl4(); + virtual void reservedSortedVectorImpl5(); + virtual void reservedSortedVectorImpl6(); + virtual void reservedSortedVectorImpl7(); + virtual void reservedSortedVectorImpl8(); + private: ssize_t _indexOrderOf(const void* item, size_t* order = 0) const; |