diff options
author | Mathias Agopian <mathias@google.com> | 2012-06-29 14:12:52 -0700 |
---|---|---|
committer | Alex Ray <aray@google.com> | 2013-07-30 13:56:59 -0700 |
commit | e6bee12f943a5b6e7c596220dd02d5837322d09f (patch) | |
tree | 36373b262e56d28616071eaca9ce8cff11b51d4d | |
parent | 885a2fe3b5e79918d4e4fe9d5c675b3d1d724e02 (diff) | |
download | system_core-e6bee12f943a5b6e7c596220dd02d5837322d09f.zip system_core-e6bee12f943a5b6e7c596220dd02d5837322d09f.tar.gz system_core-e6bee12f943a5b6e7c596220dd02d5837322d09f.tar.bz2 |
one more step towards multiple display support
- remove dependency on cached state in validateVisibility
- get rid of mVertices and mTransformedBounds
- get rid of validateVisibility
- get rid of unlockPageFlip
- handleTransaction now returns a dirty region
- computevisibileregion now uses window-manager space
-rw-r--r-- | include/utils/Vector.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/utils/Vector.h b/include/utils/Vector.h index e39a5b7..a89393f 100644 --- a/include/utils/Vector.h +++ b/include/utils/Vector.h @@ -72,11 +72,11 @@ public: //! returns number of items in the vector inline size_t size() const { return VectorImpl::size(); } - //! returns wether or not the vector is empty + //! returns whether or not the vector is empty inline bool isEmpty() const { return VectorImpl::isEmpty(); } //! returns how many items can be stored without reallocating the backing store inline size_t capacity() const { return VectorImpl::capacity(); } - //! setst the capacity. capacity can never be reduced less than size() + //! sets the capacity. capacity can never be reduced less than size() inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } /*! @@ -102,12 +102,12 @@ public: const TYPE& mirrorItemAt(ssize_t index) const; /*! - * modifing the array + * modifying the array */ //! copy-on write support, grants write access to an item TYPE& editItemAt(size_t index); - //! grants right acces to the top of the stack (last element) + //! grants right access to the top of the stack (last element) TYPE& editTop(); /*! |