Home | History | Annotate | Download | only in hwui

Lines Matching refs:currentTransform

795     currentTransform().mapRect(bounds);
810 inverse.loadInverse(currentTransform());
1112 if (currentTransform().isPureTranslate() &&
1115 const float x = (int) floorf(rect.left + currentTransform().getTranslateX() + 0.5f);
1116 const float y = (int) floorf(rect.top + currentTransform().getTranslateY() + 0.5f);
1138 bool simpleTransform = currentTransform().isPureTranslate() &&
1145 x = (int) floorf(rect.left + currentTransform().getTranslateX() + 0.5f);
1146 y = (int) floorf(rect.top + currentTransform().getTranslateY() + 0.5f);
1229 if (currentTransform().isPureTranslate()) {
1230 const float x = (int) floorf(rect.left + currentTransform().getTranslateX() + 0.5f);
1231 const float y = (int) floorf(rect.top + currentTransform().getTranslateY() + 0.5f);
1467 currentTransform().load(state.mMatrix);
1500 currentTransform().translate(dx, dy);
1504 currentTransform().rotate(degrees, 0.0f, 0.0f, 1.0f);
1508 currentTransform().scale(sx, sy, 1.0f);
1512 currentTransform().skew(sx, sy);
1517 currentTransform().load(*matrix);
1519 currentTransform().loadIdentity();
1524 return CC_LIKELY(currentTransform().rectToRect());
1528 currentTransform().copyTo(*matrix);
1533 currentTransform().copyTo(transform);
1535 currentTransform().load(transform);
1630 currentTransform().mapRect(r);
1677 if (CC_LIKELY(currentTransform().rectToRect())) {
1693 currentTransform().copyTo(transform);
1871 mCaches.currentProgram->set(mOrthoMatrix, mModelView, currentTransform());
1872 if (mTrackDirtyRegions) dirtyLayer(left, top, right, bottom, currentTransform());
1880 mCaches.currentProgram->set(mOrthoMatrix, mat4::identity(), currentTransform(), offset);
1893 mCaches.currentProgram->set(mOrthoMatrix, mModelView, currentTransform());
1895 dirtyLayer(left, top, right, bottom, currentTransform());
1918 mModelView.loadInverse(currentTransform());
2076 if (currentTransform().isPureTranslate()) {
2077 x = (int) floorf(left + currentTransform().getTranslateX() + 0.5f);
2078 y = (int) floorf(top + currentTransform().getTranslateY() + 0.5f);
2292 dirtyLayer(left, top, right, bottom, currentTransform());
2362 if (CC_LIKELY(currentTransform().isPureTranslate() && !useScaleTransform)) {
2363 float x = (int) floorf(dstLeft + currentTransform().getTranslateX() + 0.5f);
2364 float y = (int) floorf(dstTop + currentTransform().getTranslateY() + 0.5f);
2444 const bool pureTranslate = currentTransform().isPureTranslate();
2447 const float offsetX = left + currentTransform().getTranslateX();
2448 const float offsetY = top + currentTransform().getTranslateY();
2458 left + bounds.right, top + bounds.bottom, currentTransform());
2464 const float x = (int) floorf(left + currentTransform().getTranslateX() + 0.5f);
2465 const float y = (int) floorf(top + currentTransform().getTranslateY() + 0.5f);
2576 dirtyLayer(bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom, currentTransform());
2606 dirtyLayer(bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom, currentTransform());
2625 dirtyLayer(bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom, currentTransform());
2788 if (p->isAntiAlias() && !currentTransform().isSimple()) {
2851 if (!currentTransform().isSimple()) {
2859 const bool pureTranslate = currentTransform().isPureTranslate();
2861 x = (int) floorf(x + currentTransform().getTranslateX() + 0.5f);
2862 y = (int) floorf(y + currentTransform().getTranslateY() + 0.5f);
2878 bool linearFilter = currentTransform().changesBounds();
2894 currentTransform().mapRect(bounds);
2912 currentTransform().decomposeScale(sx, sy);
2935 const mat4& transform = currentTransform();
3032 currentTransform().mapRect(bounds);
3067 currentTransform().multiply(*transform);
3105 if (CC_LIKELY(currentTransform().isPureTranslate())) {
3106 int tx = (int) floorf(x + currentTransform().getTranslateX() + 0.5f);
3107 int ty = (int) floorf(y + currentTransform().getTranslateY() + 0.5f);
3384 dirtyLayer(left, top, right, bottom, currentTransform());
3436 if (CC_LIKELY(currentTransform().isPureTranslate())) {
3437 const float x = (int) floorf(left + currentTransform().getTranslateX() + 0.5f);
3438 const float y = (int) floorf(top + currentTransform().getTranslateY() + 0.5f);