| 84 | } |
| 85 | |
| 86 | void AndroidViewTransaction::setViewFrame(const Valdi::Ref<Valdi::View>& view, |
| 87 | const Valdi::Frame& newFrame, |
| 88 | bool isRightToLeft, |
| 89 | const Valdi::Ref<Valdi::Animator>& animator) { |
| 90 | auto androidView = Valdi::castOrNull<AndroidViewHolder>(view); |
| 91 | auto intX = androidView->convertPointsToPixels(newFrame.x); |
| 92 | auto intY = androidView->convertPointsToPixels(newFrame.y); |
| 93 | auto intWidth = androidView->convertPointsToPixels(newFrame.width); |
| 94 | auto intHeight = androidView->convertPointsToPixels(newFrame.height); |
| 95 | |
| 96 | getViewOperations().enqueueSetFrame(view, intX, intY, intWidth, intHeight, isRightToLeft, animator); |
| 97 | } |
| 98 | |
| 99 | void AndroidViewTransaction::setViewScrollSpecs(const Valdi::Ref<Valdi::View>& view, |
| 100 | const Valdi::Point& directionDependentContentOffset, |
nothing calls this directly
no test coverage detected