Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DBakedOpDispatcher.cpp530 const bool tryToSnap = MathUtils::areEqual(op.src.getWidth(), op.unmappedBounds.getWidth()) in onBitmapRectOp() local
538 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, op.unmappedBounds) in onBitmapRectOp()
781 const bool tryToSnap = !op.layer->getForceFilter(); in onTextureLayerOp() local
789 ….setModelViewMapUnitToRectOptionalSnap(tryToSnap, Rect(op.layer->getWidth(), op.layer->getHeight()… in onTextureLayerOp()
DOpenGLRenderer.cpp785 const bool tryToSnap = !layer->getForceFilter() in drawTextureLayer() local
794 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, rect) in drawTextureLayer()
819 const bool tryToSnap = layer->getWidth() == static_cast<uint32_t>(rect.getWidth()) in composeLayerRect() local
827 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, rect) in composeLayerRect()
1617 const bool tryToSnap = MathUtils::areEqual(src.getWidth(), dst.getWidth())
1625 .setModelViewMapUnitToRectOptionalSnap(tryToSnap, dst)