Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DMatrix.cpp46 data[kScaleX] = 1.0f; in loadIdentity()
86 float m00 = data[kScaleX]; in getType()
125 return (data[kScaleX] > 0.0f && data[kScaleY] > 0.0f); in positiveScale()
158 data[kScaleX] = v[SkMatrix::kMScaleX]; in load()
185 v.set(SkMatrix::kMScaleX, data[kScaleX]); in copyTo()
204 data[kScaleX] = 1.0f; in loadInverse()
227 double scale = 1.0 / (v.data[kScaleX] * ((double)v.data[kScaleY] * v.data[kPerspective2] - in loadInverse()
234 data[kScaleX] = (v.data[kScaleY] * v.data[kPerspective2] - in loadInverse()
246 data[kScaleY] = (v.data[kScaleX] * v.data[kPerspective2] - in loadInverse()
250 (v.data[kTranslateX] * v.data[kSkewY] - v.data[kScaleX] * v.data[kTranslateY]) * scale; in loadInverse()
[all …]
DMatrix.h52 kScaleX = 0, enumerator
215 os << ", scale " << matrix[kScaleX] << "x" << matrix[kScaleY];