Home
last modified time | relevance | path

Searched refs:kScaleY (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DMatrix.cpp52 data[kScaleY] = 1.0f; in loadIdentity()
89 float m11 = data[kScaleY]; in getType()
125 return (data[kScaleX] > 0.0f && data[kScaleY] > 0.0f); in positiveScale()
163 data[kScaleY] = v[SkMatrix::kMScaleY]; in load()
190 v.set(SkMatrix::kMScaleY, data[kScaleY]); in copyTo()
207 data[kScaleY] = 1.0f; in loadInverse()
227 double scale = 1.0 / (v.data[kScaleX] * ((double)v.data[kScaleY] * v.data[kPerspective2] - in loadInverse()
232 (double)v.data[kScaleY] * v.data[kPerspective0])); in loadInverse()
234 data[kScaleX] = (v.data[kScaleY] * v.data[kPerspective2] - in loadInverse()
241 (v.data[kSkewX] * v.data[kTranslateY] - v.data[kTranslateX] * v.data[kScaleY]) * scale; in loadInverse()
[all …]
DMatrix.h56 kScaleY = 5, enumerator
215 os << ", scale " << matrix[kScaleX] << "x" << matrix[kScaleY];